<Mateon1> Yep, thanks very much
<Infinisil> clever: The postFetch doesn't seem to be working, I instead simplified my other method a bit: https://gist.github.com/Infinisil/f165e06b0d27101894a31a6a0f557fc5
newhoggy has quit [(Ping timeout: 276 seconds)]
<clever> Infinisil: ah, there is a bug in how fixed-output stuff works
<clever> Infinisil: if a previous download has been done with that name+sha256, it wont run the build again
<clever> even if you change how it does things
<clever> so it will silently ignore the postFetch and continue to use the old result
<clever> Infinisil: oh!, and fetchzip already uses postFetch, to unzip it
<clever> and changing postFetch breaks that
<Infinisil> clever: Ohh, yeah that bug makes sense, it didn't seem to do anything upon changing these attributes
<Infinisil> clever: There is extraPostFetch, maybe I could try that once more
<clever> changing any character in the hash will force it to run again
<clever> oh, thats perfect, didnt notice that one
<clever> another useful tip, when a fixed-output derivation fails to build, nix leaves the invalid output in /nix/store/
<clever> so you can inspect it with ls and figure out if its good or not
<clever> nix will never use that, and will just auto-delete it if it gets in the way
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] AndersonTorres opened pull request #26865: mpv: eliminate `config.mpv` options (master...upload-mpv) https://git.io/vQ3ge
NixOS_GitHub has left #nixos []
<Infinisil> clever: Ah thanks!
<Infinisil> I was just struggling with le bash
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to staging: https://git.io/vQ3gf
<NixOS_GitHub> nixpkgs/staging 7cfd1c8 Franz Pletz: glibc: fix i686 build
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to staging: https://git.io/vQ3g3
<NixOS_GitHub> nixpkgs/staging 40a0429 Franz Pletz: Merge branch 'master' into staging
<NixOS_GitHub> nixpkgs/staging 639b74e Franz Pletz: Revert "linux: patch CVE-2017-1000364 (stack clash)"...
NixOS_GitHub has left #nixos []
jtojnar has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to release-17.03: https://git.io/vQ3g8
<NixOS_GitHub> nixpkgs/release-17.03 5b54e99 Franz Pletz: glibc: fix i686 build...
NixOS_GitHub has left #nixos []
<Infinisil> clever: Hmm, it complains about "can't move directory within itself"
<clever> Infinisil: yeah, it should still work with that, i think
<clever> oh no it doesnt
<clever> youll need to move $out to a tmp folder like .
<clever> then make a new $out/foo/
<Infinisil> clever: Yeah I'm doing that now
<clever> and then move the contents over
<Infinisil> clever: How can I delete the store path manually so it rebuilds anyways without changing anything?
<clever> nix-store --delete
<clever> you may also need nix-store --query --roots to find out why it wont delete things
MP2E has joined #nixos
<Infinisil> clever: Ah thanks, needed to remove ./result
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vQ32r
<NixOS_GitHub> nixpkgs/master 0e14a86 AndersonTorres: mpv: eliminate `config.mpv` options...
NixOS_GitHub has left #nixos []
<catern> mmmm
<catern> I'm not sure whether I should create an RFC for my idea
<Infinisil> catern: What is it?
<catern> I posted it on the mailing list
<catern> it's the GC roots daemon one
<Infinisil> I have never heard of GC roots
<clever> Infinisil: the GC roots are what prevents nix from deleting things
<Infinisil> So it's where the GC stores what references what?
<clever> ls /nix/var/nix/gcroots/ -l
<clever> lrwxrwxrwx 1 root root 19 Jun 16 11:06 current-system -> /run/current-system
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
<clever> Infinisil: the structure isnt entirely clear, but everything done by nix-env, nixos-rebuild, and nix-channel go into a root folder automaticaly
<clever> and nix-build's result symlinks are made indirect via the auto root folder
<clever> so if the result in the middle is deleted, the auto root will vanish on its own
<Infinisil> Soo if I got this right, gcroots has symlinks which reference the current stuff via symlinks so the GC doesn't delete the linked files?
<Infinisil> (remove one "symlink" from the sentence)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vQ3ay
<NixOS_GitHub> nixpkgs/master 1a25495 Tim Steinbach: git: 2.13.1 -> 2.13.2
NixOS_GitHub has left #nixos []
<clever> Infinisil: yeah, pretty much
<clever> Infinisil: and then the entire closure of anything in a root, is also kept
<clever> nix-store --query --roots /nix/store/foo, tells you what roots are keeping foo
<clever> and --delete will remove it, only if it has zero roots
<clever> and nix-collect-garbage will delete anything with zero roots
<clever> nix-collect-garbage can also be told to stop after deleting x bytes, or to delete generations from profiles first
<Infinisil> clever: Okay but how can the GC know if there's still a symlink around since they aren't bidirectional? Just checking every symlink then?
sigmundv__ has joined #nixos
<clever> lrwxrwxrwx 1 root root 95 Jun 11 2016 /nix/var/nix/gcroots/auto/zrpqvhm50zmf2bh53zhlwydz0j56flri -> /home/clever/x/312977930eacfc5367bdb05f8ddeacf6-96324e8385733717b3ba38e5a2cb910ac9e4c997/result
<clever> Infinisil: the auto symlinks point to the result symlinks
<clever> and then result points to a storepath
<clever> and i think the hash in name of the auto symlink, is based on the target of the result symlink
<Infinisil> Ah so it just needs to check everything in auto
<clever> so if result is modified in any way, the link under auto becomes invalid
<clever> and there are a few other things not covered by auto, like generations of profiles
<Infinisil> I see
<clever> and also, there are some invisible roots
<clever> $ ls -l /proc/self/fd/
<clever> this directory shows all open file handles for the process looking in the directory (ls in this case)
<clever> and if you replace self with a pid, you can inspect any other process on the system
<clever> all of those are also roots
<clever> the same also happens for the root, cwd, and exe symlinks, and the maps file
<Infinisil> Oh that's pretty cool! Makes it so no running program can get deleted
<clever> oh, and the environ file as well
<Infinisil> Where are the generations included?
<clever> which means, "sudo nix-store --delete /nix/store/foo" will always fail
<clever> because the path to foo is in the arguments of sudo, so sudo is "using it"
<clever> $ ls -l /nix/var/nix/profiles/
<clever> default is for root's nix-env, system is for nixos-rebuild
<clever> and then every user has profiles under per-user
<Infinisil> Damn, the more I learn about NixOS the more I love it
<Infinisil> I think I can't ever go to another distro now
<Infinisil> I fear ever applying as a "Unix engineer" and then be expected to use CentOS or whatever
<MP2E> hey all, question that might be one for the bug tracker/mailing list. Is wrapProgram supposed to work with both 64-bit and 32-bit binaries in the same derivation?
<MP2E> the reason I ask is because I tried building a wine-wow build using an overload with nixpkgs master, and the resulting wrappers are broken
<clever> MP2E: you would need to know which are 32bit and which are 64, and pass the right flags to each wrapProgram invocation
<MP2E> 'wine64 is not an i386 elf binary... don't know how to load it'
<clever> Infinisil: yeah, i would nix-fy any project i get my hands on, lol
s33se_ has joined #nixos
<clever> Infinisil: i also recently got into using declarative jobs in hydra, and now i have my hydra auto-building any PR made against several of my projects
<jack[m]> you can run nix on CentOS
<Infinisil> clever: Nice!
<Infinisil> jack[m]: I totally would, but I don't know what my future company would think of this. I mean its clearly superiour, but it would just different than anything else they're used to do
Rajsun has quit [(Ping timeout: 276 seconds)]
<Infinisil> (insert "be so" into above sentence, I'm tired)
MP2E has quit [(Quit: reboot)]
s33se has quit [(Ping timeout: 260 seconds)]
MP2E has joined #nixos
nh2 has quit [(Quit: Leaving.)]
<jack[m]> Infinisil; I used nix on a project at work. Granted I put in a few extra hours, but another team needs 6 or 7 people to do almost the same stuff without nix.
<Infinisil> jack[m]: Nix ftw
proteusguy has quit [(Remote host closed the connection)]
<Infinisil> I hope to eventually be able to contribute to it (and not only to nixpkgs)
<Infinisil> I'd love to help work on the new proposal for the nix CLI
<Infinisil> Talking about this: https://github.com/NixOS/nix/issues/779
<jack[m]> (integrate a SoC)
<Infinisil> SoC?
Rajsun has joined #nixos
sigmundv__ has quit [(Ping timeout: 240 seconds)]
jsgrant has quit [(Quit: Peace Peeps. o/ If you need me asap, message me at msg([at])jsgrant.io & I'll try to get back to you within 24-36 hours.)]
<Infinisil> Ah found it, System on a Chip
mkoenig has quit [(Ping timeout: 260 seconds)]
mkoenig has joined #nixos
sigmundv__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 5 new commits to master: https://git.io/vQ3Vd
<NixOS_GitHub> nixpkgs/master 3156263 Franz Pletz: rsync: build with iconv, zlib & popt from nixpkgs...
<NixOS_GitHub> nixpkgs/master 356bac7 Franz Pletz: burp: 1.4.40 -> 2.0.54
<NixOS_GitHub> nixpkgs/master 1a7f330 Franz Pletz: burp_1_3: remove
NixOS_GitHub has left #nixos []
lambdamu_ has joined #nixos
mbrgm has quit [(Ping timeout: 276 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #26863: toxvpn: 20161230 -> 2017-06-25 (master...update-toxvpn) https://git.io/vQ3ul
NixOS_GitHub has left #nixos []
mbrgm has joined #nixos
lambdamu has quit [(Ping timeout: 240 seconds)]
[0x4A6F]1 has joined #nixos
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
[0x4A6F]1 is now known as [0x4A6F]
[0x4A6F]1 has joined #nixos
eacameron has joined #nixos
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
[0x4A6F]1 is now known as [0x4A6F]
Infinisil has quit [(Quit: leaving)]
mkoenig_ has joined #nixos
mkoenig has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #26848: Minio service (master...minio-service) https://git.io/vQ3IU
NixOS_GitHub has left #nixos []
mellowmaroon has joined #nixos
mellowmaroon has quit [(Client Quit)]
Rajsun has quit [(Remote host closed the connection)]
Rajsun has joined #nixos
sigmundv__ has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 3 new commits to master: https://git.io/vQ3rl
<NixOS_GitHub> nixpkgs/master f0dbe18 Vincent Laporte: ocamlPackages.twt: don’t strip
<NixOS_GitHub> nixpkgs/master 7829eb7 Vincent Laporte: ocamlPackages.reason: 1.13.4 -> 2.0.0
<NixOS_GitHub> nixpkgs/master 459f17a Vincent Laporte: ocamlPackages.uri_p4: disable for OCaml ≥ 4.03
NixOS_GitHub has left #nixos []
pie_ has quit [(Ping timeout: 276 seconds)]
jgertm has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
yorick has quit [(Ping timeout: 276 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/5b54e99cea (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
eacameron has quit [(Ping timeout: 246 seconds)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 268 seconds)]
eacameron has joined #nixos
<disasm> with virt-manager what permissions do you need to redirect a usb device? I'm already in these groups: users wheel disk video libvirtd docker
eacameron has quit [(Ping timeout: 255 seconds)]
dev has joined #nixos
<dev> does anyone know how to get Skype to work with alsa audio rather than pulse?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vQ3Kq
<NixOS_GitHub> nixpkgs/master 41b3b2c Vincent Laporte: ocamlPackages.sexplib_p4: disable for OCaml ≥ 4.03
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vQ3Kg
<NixOS_GitHub> nixpkgs/master e082162 Vincent Laporte: ocamlPackages.type_conv-{108,109}: disable for OCaml ≥ 4.03
NixOS_GitHub has left #nixos []
<dev> or does anyone know how to properly set up pulse audio so there isn't permission issues and certain programs being denied access to the audio device when other programs may be using it?
<disasm> dev: just curious... what perm issues are you having with pulseaudio?
<jack[m]> dev; like mpd?
<dev> like mplayer, mpd, firefox...
<dev> I'm going to try setting it systemWide
<dev> because I run audio from both root and user accounts
<dev> firefox may be running under user and need audio, mplayer may be running as root and need audio
<dev> currently skype only works if pulse is on, but when skype is on mplayer wont work
Mateon3 has joined #nixos
<dev> im not sure if I need sound.enableOSSEmulation on or not though
<dev> I only use earphones, I should be able to turn it off eh?
Mateon1 has quit [(Ping timeout: 240 seconds)]
Mateon3 is now known as Mateon1
hellrazo1 has joined #nixos
<disasm> mplayer should natively support pulse audio with -ao pulse. mpd there's a config file you can set to use pulseaudio. I think firefox natively uses pulse too.
<dev> im getting pulse audio connection refused left and right... I'm going to try restarting
dev has quit [(Quit: WeeChat 1.7.1)]
hellrazor has quit [(Ping timeout: 260 seconds)]
dev has joined #nixos
schoppenhauer has quit [(Ping timeout: 255 seconds)]
schoppenhauer has joined #nixos
dev is now known as devlog
dev has joined #nixos
jgertm has joined #nixos
<dev> how do we do multi-line comments in our configuration.nix file?
<dev> ahh.. same as php comments
<dev> /* and */
<disasm> dev: going back to your original question, if you install apulse (I think it has to be 32 bit) you can use skype with alsa.
<dev> how to I specify 32 bit version?
<dev> because if I disable pulse audio then the hardware.pulseaudio.support32Bit doesnt matter anymore right?
<dev> ok I think need to override a make flag to build it for 32
<disasm> if this is still valid: https://github.com/NixOS/nixpkgs/issues/13895 -- nix-env -iA nixos.pkgsi686Linux.apulse
<disasm> then run apulse skype
<disasm> dev: ^^
<dev> leme try that
<dev> I still dont know how to override cflags in a package build
<dev> works
<dev> you are a genuis disasm
<dev> im still having permission problems though... if mplayer is running, sound in skype gets denied
oahong has quit [(Ping timeout: 240 seconds)]
<dev> its like only one program can access the sound at once
oahong has joined #nixos
<dev> like if I start mplayer then skype wont start
<dev> or if I press play inside mpd skype wont statr
<dev> but if skype alraedy started mpd wont play
<dev> and mplayer gets connection refused
<dev> well atleast I dont need to switch the whole sound driver when I need to make a phone call lol
dev has quit [(Quit: WeeChat 1.7.1)]
dev has joined #nixos
<dev> disasm: after restarting all my audio seems to work together now. thanks for the help concerning skype
adisbladis has joined #nixos
reinzelmann has joined #nixos
jsgrant has joined #nixos
tilpner has joined #nixos
boomshroom has joined #nixos
<boomshroom> I just had a random thought. Would trying to package the Quine Relay with a separate derivation for each step cause the recursion checker to reject it?
<boomshroom> Really, how would one package the Quine Relay as a Nix derivation?
<dash> boomshroom: what outputs would you want from it
raunov has quit [(Ping timeout: 260 seconds)]
jsgrant has quit [(Ping timeout: 246 seconds)]
<boomshroom> dash: Good question. It starts out as just a single Ruby script, which outputs Scala source code, which then needs to be compiled and run, which outputs ...(98 more steps) which outputs the orginal Ruby script.
<boomshroom> Can Nix test equality on derivations?
<dash> boomshroom: so... what would you want the nix expr for it to produce
endformationage has quit [(Quit: WeeChat 1.7)]
<boomshroom> I'm not entirely sure, I just thought of the quine relay and absently wondered what it would mean to package it. It's not the main thing I'm working on, which is seeing what could be done to decouple NixOS from Systemd, not because Systemd is bad, but because options are good, it would attract Systemd-haters, and it would pave the way towards kernel agnosticism.
<dash> doesn't sound difficult in any way, just pointless
<dash> having non-systemd options would be useful for stuff, yep
<adisbladis> It might be a stupid question but how would I install this derivation: https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/kernel/linux-hardened-copperhead.nix
<adisbladis> I can't really figure out what to put in boot.kernelPackages
<dash> adisbladis: your best bet is to look in all-packages first
<dash> looks like it's "linux_hardened_copperhead"
eliaslfo1 has quit [(Remote host closed the connection)]
dev has quit [(Quit: WeeChat 1.7.1)]
<adisbladis> dash: That is what I tried before. pkgs.linux_hardened_copperhead
Garlandg has joined #nixos
<dash> adisbladis: and you're running from a checkout instead of nixos-unstable?
<adisbladis> dash: Yes
<adisbladis> Oh, no.. I'm running on the unstable channel
tilpner has quit [(Quit: WeeChat 1.8)]
tilpner has joined #nixos
<boomshroom> I'm looking at <nixpkgs>/nixos/default.nix and to build it accesses config.system, however I can't seem to find where system is added to the config set. More generally, I'm trying to trace the system build procedure to see where systemd is first used.
<dash> adisbladis: there you go then
<adisbladis> dash: Thanks for your help :)
jtojnar has quit [(Quit: jtojnar)]
MercurialAlchemi has joined #nixos
freusque has joined #nixos
<tilpner> Should I add kernel config lines via linux.override or pkgs.buildLinux?
<boomshroom> Is it possible to make nixos-rebuild force a rebuild for debugging purposes, that or access a cache of the most recent build log.
Rajsun has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vQ3Mx
<NixOS_GitHub> nixpkgs/master 6b89bcb Vincent Laporte: ocamlPackages.core_bench: fix on OCaml ≥ 4.03
NixOS_GitHub has left #nixos []
Rajsun has joined #nixos
Rajsun has quit [(Remote host closed the connection)]
Rajsun has joined #nixos
FRidh has quit [(Remote host closed the connection)]
<boomshroom> systemd.package = pkgs.sysvinit; # What could possibly go wrong?
nslqqq has quit [(Ping timeout: 276 seconds)]
nslqqq has joined #nixos
<maurer> I am fairly certain that will not do what you want it to do
<boomshroom> maurer: So am I. My mission is to make it do what I want it to do.
<maurer> Good luck - if you choose to do that, you'll probably want to put that behind another switch though - currently all the nixos "modules" generate systemd units
<maurer> Probably your best starting point for replacing the generated units with something else would be gentoo's OpenRC
<boomshroom> maurer: I know. This is a monumental task, but I'm looking to the bright future where Nix can run on everything and NixOS can be anything. OK, maybe not quite that far, but you get the gist.
<maurer> You'll also need to patch the systemd integration of nixos-rebuild which restarts affected services
hellrazo1 has quit [(Quit: WeeChat 1.8)]
<boomshroom> maurer: at the moment, I'm concerned with building a standalone system without systemd. nixos-rebuild switch will come later, but probably before NixOS on FreeBSD.
<dash> boomshroom: good news, a nix port to genode has been started ;-)
<maurer> There's also someone in here (I forget who) who has their own personal system.nix style file that manually composes everything and defines an init
<boomshroom> dash: I've heard of genode before, but I'm not quite familiar with it.
<boomshroom> maurer: That sounds hardcore!
<boomshroom> "Screw nixpkgs, I'm building my own system!"
<dash> boomshroom: i've only read about it, not run it or written code for it, but i'd sure like to when i run out of other stuff to do ;-)
<boomshroom> Is it possible to provide an alternate nixpkgs path to nixos-rebuild?
<maurer> nixos-rebuild is just a fancy invocation of nix-build with a defaulted file
<maurer> if you actually want to change nixos-rebuild's nixpkgs though, just use NIXPATH=nixos=/path/to/your/nixos
<maurer> (might be an underscore in NIXPATH, I forget)
sigmundv__ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
<tilpner> Yes, NIX_PATH
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vQ3yR
<NixOS_GitHub> nixpkgs/master 8d8fdce Vincent Laporte: ocamlPackages.lablgtk: don’t strip
NixOS_GitHub has left #nixos []
sigmundv__ has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vQ3yi
<NixOS_GitHub> nixpkgs/master 7df83ab Jörg Thalheim: keepassx-community: 2.1.4 -> 2.2.0
NixOS_GitHub has left #nixos []
indi_ has quit [(Ping timeout: 255 seconds)]
<boomshroom> Well that's not the error I expected. Input: "systemd.enable = false";
<boomshroom> Output: options-db.xml:33031: parser error : StartTag: invalid element name
<boomshroom> md.enable"><option>systemd.enable</option></term><listitem><para>DO NOT USE! D:<
<boomshroom> Word to the maintainers, escape your strings!
[0x4A6F] has quit [(Ping timeout: 255 seconds)]
<boomshroom> Umm... That's not supposed to happen.
<boomshroom> The build completed successfully... without systemd!
<boomshroom> Nevermind, it snuck in anyways.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vQ3Sv
<NixOS_GitHub> nixpkgs/master 4c0203b Vincent Laporte: ocamlPackages.lablgtk_2_14: disable for OCaml ≥ 4.04
NixOS_GitHub has left #nixos []
indi_ has joined #nixos
jgertm has quit [(Ping timeout: 260 seconds)]
blahdodo has quit [(Quit: Bye bye)]
ericsagnes has quit [(Ping timeout: 258 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vQ3Sl
<NixOS_GitHub> nixpkgs/master 35e5719 Bas van Dijk: elasticsearch: 5.4.0 -> 5.4.2
NixOS_GitHub has left #nixos []
blahdodo has joined #nixos
sigmundv__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #26859: thunderbird: 52.2.0 -> 52.2.1 (master...thunderbird-52.2.1) https://git.io/vQ38L
NixOS_GitHub has left #nixos []
nschoe has quit [(Quit: Program. Terminated.)]
nschoe has joined #nixos
marsel has joined #nixos
thc202 has joined #nixos
jensens has joined #nixos
<sphalerite> Sovereign_Bleak: Did you fix your LaTeX issues?
ertes has quit [(Ping timeout: 240 seconds)]
<boomshroom> Is it possible to override a package globally so everything that has it as a dependency will use the modified version?
Itkovian has joined #nixos
<tilpner> boomshroom - I think nixpkgs.config.packageOverrides will do that. Overlays might work too, but I haven't used them yet
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to staging: https://git.io/vQ39p
<NixOS_GitHub> nixpkgs/staging 3584707 Christian Albrecht: nixos/boot/stage-1: fix failing nixos-rebuild switch because of blkid output...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vQ3Hs
<NixOS_GitHub> nixpkgs/master b788956 Franz Pletz: libcgroup: do not set suid bit in nix store
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to release-17.03: https://git.io/vQ3Hc
<NixOS_GitHub> nixpkgs/release-17.03 55f2e78 Gabriel Ebner: microcodeIntel: 20161104 -> 20170511...
<NixOS_GitHub> nixpkgs/release-17.03 469fa43 Emmanuel Rosa: thunderbird: 52.2.0 -> 52.2.1...
<NixOS_GitHub> nixpkgs/release-17.03 17e9509 Franz Pletz: libcgroup: do not set suid bit in nix store...
NixOS_GitHub has left #nixos []
dalaing_ has joined #nixos
DrWaste has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vQ3HP
<NixOS_GitHub> nixpkgs/master 813feae Nicolas Truessel: chromium: 59.0.3071.86 -> 59.0.3071.109
NixOS_GitHub has left #nixos []
MichaelRaskin has quit [(Quit: MichaelRaskin)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #26854: security-wrapper: run activation script after specialfs (master...wrappers-after-specialfs) https://git.io/vQ3nz
NixOS_GitHub has left #nixos []
sary has quit [(Ping timeout: 260 seconds)]
sary has joined #nixos
kthnnlg has quit [(Ping timeout: 255 seconds)]
sigmundv__ has quit [(Ping timeout: 268 seconds)]
bastian has joined #nixos
<boomshroom> Good night guys!
boomshroom has quit [(Quit: Page closed)]
dalaing_ has quit [(Remote host closed the connection)]
pareidolia has quit [(Ping timeout: 268 seconds)]
pareidolia has joined #nixos
ertes-w has joined #nixos
civodul has joined #nixos
Itkovian has quit [(Ping timeout: 255 seconds)]
zeus_ has quit [(Remote host closed the connection)]
Wizek_ has joined #nixos
zeus_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] michalpalka opened pull request #26867: xen: patch for XSAs: 216, 217, 218, 219, 220, 221, 222, and 224 (master...xen-security-2017.06-new) https://git.io/vQ3Q0
NixOS_GitHub has left #nixos []
zeus_ has quit [(Ping timeout: 246 seconds)]
berce has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] michalpalka opened pull request #26868: xen: patch for XSAs: 216, 217, 218, 219, 220, 221, 222, and 224 (release-17.03...xen-security-2017.06-backport-new) https://git.io/vQ3Qj
NixOS_GitHub has left #nixos []
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/994998e475 (from 43 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
ambro718 has joined #nixos
berce has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vanschelven closed pull request #26742: xfce.terminal: 0.6.3 -> 0.8.5.1 (master...master) https://git.io/vQTgi
NixOS_GitHub has left #nixos []
<unlmtd> would some ppl be interested to rebase nixpkgs on pijul and keeping it in sync with master?
<unlmtd> it might allow to have bigger forks that can more easily exchange with the main tree
Itkovian has joined #nixos
<hyper_ch> hmmm, does NIxos support ZFS for (encrypted) / (root)?
indi_ has quit [(Remote host closed the connection)]
<unlmtd> zfs now has native encryption using a patch
freusque has quit [(Quit: WeeChat 1.7.1)]
<unlmtd> it might be a lot more interesting than luks, as you dont need to encrypt the nix tree
<unlmtd> but I havent had time to try
ZoomZoomZoom has joined #nixos
freusque has joined #nixos
goibhniu has joined #nixos
ris has joined #nixos
ericsagnes has joined #nixos
ambro718 has quit [(Ping timeout: 260 seconds)]
FRidh has joined #nixos
Garlandg has quit [(Quit: Page closed)]
<tommyangelo[m]> what is the difference between the two available cron options?
Tucky has joined #nixos
<tommyangelo[m]> or should I just use systemd?
Neo-- has joined #nixos
<makefu> tommyangelo[m]: i highly recommend using systemd timers instead of cron
Wizek has joined #nixos
<Wizek> Hello
<Wizek> I'd like a few data points: How large is your /nix/store currently?
<makefu> tommyangelo[m]: for very easy configuration you can use https://nixos.org/nixos/options.html#startat where you can make timer for a service automatically
<makefu> Wizek: 6.8G on my machine but it really depends on how you garbage collect
pietranera has joined #nixos
<Wizek> makefu, How do you mean 'how'?
<Wizek> are there different ways?
MoreTea has joined #nixos
noqqe has quit [(Read error: Connection reset by peer)]
ilyaigpetrov has joined #nixos
<Wizek> Mine is 11.2 GiB currently. And I'm on a 40 GB old SSD. I also have a 500 GB HDD attached, where my home folder resides. I run nix-collect-garbage regularly, and just a few minutes ago it could only free up a few extra megs. My ssd is full. I don't see anything obvious I could remove. And even if I saw, I am a bit fed up at this point that I am looking for things to remove every other day now when it gets full. So I am looking at
<Wizek> options. E.g. maybe I can but a larger primary SSD, e.g. 250 GB or even 500 GB. Or if only I could put my /nix/store to the 500 GB hard drive then all would be well. I did try bind `mount`-ing without any success.
<Wizek> IIRC, symlinking the /nix/store is not supposed to work, but bind mounting it is supposed to work, right? Is there anyone here who managed to do that? Or managed to put it on a non-root disk in any other way?
<Wizek> Also, if I go with buying a new disk, do you think a 250 GB one would be sufficient?
<MoreTea> hmm. the `gcloud` utility has a `beta` command group, to get access to e.g. beta features in google's cloud.
<MoreTea> it insists on downloading stuff and modifying /nix/store
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/vQ3N4
<NixOS_GitHub> nixpkgs/master 003cd41 Peter Simons: zsh: extend default $fpath configured by NixOS to find "vendor-completions"
NixOS_GitHub has left #nixos []
pietranera has quit [(Quit: Leaving.)]
pietranera has joined #nixos
ericsagnes has quit [(Ping timeout: 255 seconds)]
<pietranera> Hello, does anyone know how to make nixos honor the settings in ~/.gtkrc-2.0 ? FTR I am using awesomeWM. I have seen that there are a few issues about GTK theming on GitHub but was wondering whether someone had workarounds. Thanks!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #26273: Do not verify SSL peer when fetching sources (master...fetch-no-ssl) https://git.io/vHBfy
NixOS_GitHub has left #nixos []
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/17e9509d66 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vQ3xC
<NixOS_GitHub> nixpkgs/master dac2a76 Bram Duvigneau: brltty: 5.4 -> 5.5
<NixOS_GitHub> nixpkgs/master ff04c36 Jörg Thalheim: Merge pull request #26812 from bramd/fix/brltty-5.5...
NixOS_GitHub has left #nixos []
<tommyangelo[m]> makefu: thanks, will check it out. Looks like I would have to write a systemd unit file
<NickHu> Hi, I'm trying to get haskellPackages.accelerate-examples working, but it complains about not being able to find the accelerate library
_Vi has quit [(Ping timeout: 258 seconds)]
hlavaty has joined #nixos
pbogdan has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lsix opened pull request #26870: nano: 2.8.4 -> 2.8.5 (master...update_nano) https://git.io/vQ3p5
NixOS_GitHub has left #nixos []
<MoreTea> zimbatm, you here?
<MoreTea> I noticed that you're one of the maintainers of gcloud
pbogdan has joined #nixos
ThatDocsLady has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NickHu opened pull request #26871: dfhack: 0.43.05-alpha4 -> 0.43.05-r1 (master...dfhack) https://git.io/vQ3hg
NixOS_GitHub has left #nixos []
MasseR has joined #nixos
telotortium has quit [(Read error: Connection reset by peer)]
telotortium has joined #nixos
<NickHu> How can I make nix-shell load my local nixpkgs checkout? Like nix-env -f ~/Documents/nixpkgs ...
<zimbatm> hey MoreTea
<domenkozar> fpletz[m]: also perl fails
<MoreTea> I'd like to utilize alpha/beta features.
<fpletz[m]> domenkozar: on staging?
<MoreTea> But that depends on the internal component manager of gcloud /cc zimbatm
pie_ has joined #nixos
berce has joined #nixos
<fpletz[m]> domenkozar: that doesn't seem to be related to the stack clash fixes though
<makefu> tommyangelo[m]: in nixOS, writing systemd services is extremely straight forward, all you need is something like this https://paste.krebsco.de/eVJzynUK/+inline
<adisbladis> How would I go about cherry-picking a package from master while still using my git-checkout of the unstable channel?
dev2 has joined #nixos
<MoreTea> oh lol, I think that just adding two small python files will enable the alpha/beta features that are in the source code itself...
<MoreTea> I was confused by the empty class that the package manager downloaded
<adisbladis> Or is it possible to reference a package from a specific channel in configuration.nix?
<symphorien> for a local clone of nixpkgs: let local = import "/path/to/nixpkgs/clone" {}; in and then use local.thepackage
<symphorien> for a channel, add the channel under a different name with nix-channel or NIX_PATH and then let blah = import <channel> {}; in
<dev2> you can also set it with nix.nixPath variable
<dev2> like nix.nixPath = [ "nixpkgs=/path/to/nixpkgs" ]; inside your configuration.nix
<adisbladis> dev2: I have done this, all is fine and dandy. But I wish to use a package not in the unstable distribution (just this package) and stay on unstable for the rest
<adisbladis> symphorien: I'll have a go, thanks
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
mpcsh has joined #nixos
<gchristensen> fpletz[m]: looks like it happened already
metaphysician has quit [(Ping timeout: 255 seconds)]
<fpletz[m]> domenkozar: pkgsi686Linux.perl on staging seems to have been built (it is on cache.nixos.org), maybe restart the failing builds?
metaphysician has joined #nixos
<fpletz[m]> gchristensen: yup, I think domenkozar triggered it
<grahamc> Great feel free to ping me later if anything else needs prodding
<fpletz[m]> sombody told me I should be able to login in to hydra with a google account but none of my browsers seems to be able to :/
<fpletz[m]> it is the only way to get access to hydra, right?
<grahamc> Yeah, but still you'll have very very limited permissions. Mostly to just make a dashboard.
<grahamc> Regular Firefox works for me, even with privacy badger / ublock origin. I think it opens a pop up, do you see that?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] moretea opened pull request #26872: Update gcloud + enable alpha & beta features. (master...gcloud-alpha-beta-update) https://git.io/vQsfM
NixOS_GitHub has left #nixos []
justbeingglad has joined #nixos
justbeingglad has left #nixos []
<fpletz[m]> yes, after the popup I'm still not logged into hydra. I was using a clean profile for troubleshooting \o/
snikkers has joined #nixos
<NickHu> I would like to update multiple haskell packages - should they go in a single or multiple pull requests?
<NickHu> (They are related)
arianvp2 has joined #nixos
ericsagnes has joined #nixos
<gchristensen> NickHu: I thought all the haskell packages were updated automatically?
<gchristensen> fpletz[m]: maybe, erm, try again? :P
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] remche opened pull request #26873: Yade: init at 2017.01a (master...master) https://git.io/vQsU7
NixOS_GitHub has left #nixos []
yorick_ has joined #nixos
ThatDocsLady has quit [(Remote host closed the connection)]
MP2E has quit [(Quit: leaving)]
ThatDocsLady has joined #nixos
jensens has quit [(Ping timeout: 260 seconds)]
<NickHu> gchristensen: I'm trying to unbreak accelerate-examples
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] WilliButz opened pull request #26874: freeradius: 3.0.12 -> 3.0.14 (master...master) https://git.io/vQsTo
NixOS_GitHub has left #nixos []
<fpletz[m]> gchristensen: could you please restart the failed builds in the latest staging evaluation? I believe hydra didn't recognize the glic i686 fix correctly, it is somehow referring old failed build of perl that should be obsolete
<fpletz[m]> *glibc
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 1755 opened pull request #26875: Update docker-machine version (master...patch-1) https://git.io/vQsTH
NixOS_GitHub has left #nixos []
orivej has quit [(Ping timeout: 240 seconds)]
hlavaty has left #nixos ["ERC (IRC client for Emacs 25.1.1)"]
<gchristensen> fpletz[m]: "8266 builds have been restarted"
<fpletz[m]> gchristensen: thx!
<gchristensen> you're welcome :)
<gchristensen> fpletz[m]: maybe open an issue on nixos/hydra about not being able to register
<NickHu> Is there a way to skip tests in haskell packages?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel closed pull request #26844: stdenv: load default inputs and functions before setup hooks (staging...stdenv--inputs-order) https://git.io/vQOp9
NixOS_GitHub has left #nixos []
<qknight> ikwildrpepper: you said you are using nixops from mac os x, right?
<qknight> i need support getting nixops to deploy some 'hello world' stuff from mac os x. anyone got that running? the nixops documentation isn't working for us at all.
<fpletz[m]> ok, now the x86_64-linux build of perl failed on staging… I don't understand what is going on, it works on my machine and our hydra also succeeded in build the exact same store path for perl
<qknight> fpletz[m]: error message being?
pie_ has quit [(Ping timeout: 240 seconds)]
<fpletz[m]> Can't locate Getopt/Long.pm in @INC
<qknight> fpletz[m]: yes, just add this as dependency
<qknight> fpletz[m]: getopt is a command line argument library which is probably not in the build inputs of the program which is used in question
<fpletz[m]> qknight: have you read what I wrote? o.O
<qknight> fpletz[m]: it works for some systems but not for others. i wonder if perl-packages.nix updates broke something
<qknight> fpletz[m]: sorry if i'm not as fast as you are ;-)
Wizek_ has quit [(Ping timeout: 260 seconds)]
<qknight> fpletz[m]: isn't this in the tests section, maybe on the build host tests are diabled resutling in no errors?
<gchristensen> that would produce different output hashes
<qknight> true and it does not seem to be tests
<qknight> fpletz[m]: pod2man, maybe it builds the documentation on one system but not on the other?
<gchristensen> it would produce different output hashes
ThatDocsLady is now known as ThatDocsLady_afk
<fpletz[m]> qknight: that would be very improbable and I would expect another error message like a "segmentation fault" or something odd
jsierles has joined #nixos
<fpletz[m]> and yeah, the hash should be different, but it is the sam and it builds for me :/
<jsierles> hey
<fpletz[m]> unfortunately I don't have any time left to fix this for today… at least I can roll out the stack clash fix at work where perl builds %)
<qknight> fpletz[m]: buildinput = [ GetoptLong ] must be set for this to work, can you check that?
<qknight> fpletz[m]: that is the perl program itself which is compiled/built there, right?
dev2 has quit [(Quit: WeeChat 1.7.1)]
<fpletz[m]> qknight: this should not be issue because that changes the hash
<gchristensen> fpletz[m]: what version of nix does your build farm run?
pie_ has joined #nixos
<jsierles> do you guys mount nix store over NFS or some other shared filesystem? any gothchas related to this?
<gchristensen> some people do it, but it is often plagued with assorted problems
<fpletz[m]> gchristensen: unfortunately different nix versions, not all are nixos machines managed by our nixops deployment
<gchristensen> I see
<jsierles> gchristensen: what kinds of problems?
<gchristensen> fwiw all of hydra.nixos.org runs nixUnstable
<jsierles> i'm working in a cluster environment, so don't see any alternative to using a mounted store
<jsierles> cloud environment i mean. servers come up and down regularly, but need to access the same store.
<gchristensen> jsierles: the nix gc model for example depends on all users being on the same host. seems you might be better served by making a binary cache
<gchristensen> I _certainly_ wouldn't use NFS for this purpose in a cloud env O.o
<ikwildrpepper> qknight: I never used it on mac, I only use nixops on nixos
<jsierles> gchristensen: what do you mean by making a binary cache?
mog has quit [(Ping timeout: 240 seconds)]
<gchristensen> (I look at NFS as an utterly last resort in an env like that)
<jsierles> gchristensen: well i wouldn't use NFS - we have fuse drivers backed by google cloud storage. it works well for other things
<gchristensen> jsierles: you build software and push it to a binary cache, and when other nodes try to build the same software it finds it in your binary cache instead and just downloads it
<ikwildrpepper> also, I am not much of a nixops-on-mac fan, seems to me it has too many disadvantages
<gchristensen> just like how `nix-shell -p vim` doesn't recompile vim
<NickHu> gchristensen: I'm trying to build llvm-hs but the linker fails to compile the test binary - is there a way to skip the tests in a haskell package?
<gchristensen> NickHu: I have no idea about haskell, sorry
<NickHu> I'm currently patching haskell-packages.nix
<NickHu> ok
<gchristensen> all I've done with haskell is buy books that people tell me make it easy to learn haskell :P
<jsierles> gchristensen: ok - why would that help with nix gc?
<gchristensen> jsierles: because the store isn't shared, each store can gc on its own
<jsierles> gchristensen: OK. what information is needed to run gc?
<gchristensen> you're going to try hard to make NFS work, aren't you :P
<jsierles> we don't have a traditional setup in that users would interface with nix inside an isolated docker container. so there are no users on the underlying system
<gchristensen> erm, why not just put the packages inside the docker container?
<gchristensen> I feel we have a very very serious case of the X-Y problem
<jsierles> gchristensen: what's the X-Y problem?
<gchristensen> http://xyproblem.info/
<jsierles> docker isn't good for that, since everyone needs different packages. the idea is to abstract away docker and only use the store
<jsierles> just because nix is built on a traditional 'users log into machines' way of working doesn't mean it's invalid for clouds :)
<jsierles> ok, i see what you're getting at with the x-y problem. the problem with using docker that way is essentially speed
<gchristensen> I didn't say that about nix
<gchristensen> I said NFS isn't the solution, binary caches are much more suitable for your problem
katyucha has joined #nixos
<jsierles> gchristensen: ok, i appreciate the advice. so you're saying run a nix daemon per server?
<gchristensen> yeah
<jsierles> what we wanted to avoid is having to rebuild packages over and over on different servers
<gchristensen> yep, so when you build the package the first time, push it to the binary cache. then, when other servers want to use it, it'll fetch it
<jsierles> alright. so a central binary cache. is there a reasonable way to automate pushing builds without invoking nix-push directly?
<gchristensen> it gets you some very serious wins, the biggest one of which is you're not totally dependent on a centralized storage -- temporary problems will let you continue using anything you've already fetched
<gchristensen> without knowing more about what exactly you're doing, no great ideas, other than the obvious wrapper script
<gchristensen> my personal preference would be have one or two systems deemed Build Machines that build the software and push it to the store before other systems want to use it
<jsierles> ok, we're building an in-browser coding tool for reproducible research. so the goal is to let users setup a profile using nix or guix, and run builds if necessary on a build server
<gchristensen> COOL!
<jsierles> more here at nextjournal.com :) anyway, we really want to invest in this tech, just need to work out the setup
<jsierles> could the build server be setup to push automatically? if not, wrapper script sounds fine to start
nh2 has joined #nixos
<jsierles> another approach could be to have the binary cache on shared storage. we still want to keep it safe, but that would be less painful than sharing a store across the whole cluster
<gchristensen> there is a built-in way to serve a store IIRC, just can't find it ...
<jsierles> OK, there is another catch though. the idea is that your whole environment is snapshotted so you can continue work later, even when on another machine.
<jsierles> so my plan was to store a symlink to the correct profile in the store
<gchristensen> presumably that would remain true, nix would just have to rebuild the work in the middle. it seems valid to lose and have to rebuild work from time to time, no?
<jsierles> one of our core goals is to avoid that
<jsierles> for example, if you cloned someone else's article which did a big installation of software, you shouldn't have to run that install again
<gchristensen> I'd love to talk more about this, but I need to get back to work. perhaps we can talk again in 3hrs, and in the mean time perhaps someone else can help :)
<jsierles> but how can you guarantee a profile will exist on a machine with a cold cache?
<jsierles> in general this will just slow down more and more as the cluster grows.
<jsierles> cool thanks :)
tgunb has joined #nixos
<jsierles> also we're snapshotting whole process states and restoring those on other machines. so shared storage is just part of our architecture. if nix gc is not a performance optimization, we could skip it
<gchristensen> qknight: I'm realizing now that since you followed https://functional-orbitz.blogspot.de/2013/05/setting-up-nixops-on-mac-os-x-with.html you may have broken the magic nixops tries to implement to make it automatic
<qknight> gchristensen: oh that is wonedefull
<gchristensen> it is over 4 years old
<qknight> gchristensen: the nixops documentation really shines in that regard
<gchristensen> no doubt
tanonym has joined #nixos
tanonym has left #nixos ["Closing Window"]
orivej has joined #nixos
<LnL> gchristensen: nix-serve
<ikwildrpepper> qknight: are you able to build a x86_64-darwin derivation with p[lain nix with that setup?
<ikwildrpepper> the error seems to come from the remote build stuff in nix
<ikwildrpepper> nixops assumes the setup is correct
<GlennS> Does anyone know the state of Nixpkgs for Java (Maven) and/or Clojure (Leiningen) projects? Is there an equivalent of e.g. python35Wrapper at this point?
<GlennS> I can seen that there is mvn2nix, but it doesn't look like it is maintained. Am I right in thinking that Java things with dependencies just fetch them from Maven Central at the moment, and are therefore impure?
tanonym has joined #nixos
<MoreTea> GlennS, the mvn2nix tool generates a manifest of pinned down versions, with sha's.
<jsierles> we'd be interested at Nextjournal to hire someone for a short gig. to help us setup nix for our distributed cluster (see convo above) PM me if interested :)
<MoreTea> It's used by something like buildMavenPackage
<ij> With other distros, people use different pkgmans for switching version of each new tool. Do people who have mastered nix don't do it? What can't other pkgmans do that nix can?
<MoreTea> ij, nope, we don't use rbenv, virtenv etc.
<MoreTea> we use nix-shell for development mostly.
jacob_ has joined #nixos
<MoreTea> The main thing is that nix captures _all_ your deps, like libxml, which cannot be managed by e.g. rbenv / virtualenv
jacob_ is now known as Guest22342
arianvp2 has quit [(Quit: arianvp2)]
<qknight> ikwildrpepper: i was able to build https://github.com/nixcloud/go2nix using nix-build
<qknight> ikwildrpepper: so i assume the toolchains works perfectly!
<qknight> (the local one)
<ij> MoreTea, So there are no global paths or global ~/.gem or /usr/lib/gem directories?
<MoreTea> correct
<MoreTea> we have the `bundix` tool, which will convert your Gemfile.lock into a gemset.nix
<qknight> ikwildrpepper: i've turned nix.useSandbox=true on the build-host
<MoreTea> which contains the cryptographic hash of the _content_ of the gem
jsierles has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
Wizek_ has joined #nixos
<ikwildrpepper> qknight: go2nix built for darwin or linux?
jsierles has joined #nixos
<qknight> ikwildrpepper: for darwin
<FRidh> jsierles: interesting to read what you're working on. Should I see this as a tool that starts a Jupyter Notebook with modules and other tools in the env, backed by Nix?
<Wizek> Hey folks. How large is your /nix/store currently? `du -sh /nix/store` will tell you. I'm looking for some data on how much it usually/min/max takes up. I've gotten 1 response so far, I would like some more, maybe 5-10 would be nice.
pie_ has quit [(Ping timeout: 240 seconds)]
<ikwildrpepper> qknight: but nixos is linux, so if you provide it with a NIX_REMOTE_SYSTEMS, you need to make sure you can build a linux derivation using that config
<FRidh> jsierles: I tried using Nix with Lustre in the past but ran out of inodes pretty fast so can't recommend that.
<jsierles> FRidh: yes, though it doesn't use jupyter at all. similar notebook-style environment, but everything you do is reproducible and stored forever.
<ikwildrpepper> my original question was wrong, should have been: are you able to build a x86_64-linux derivation with p[lain nix with that setup?
yorick_ is now known as yorick
<FRidh> jsierles: assuming your nix builds are reproducible, that is
<FRidh> unless you really store the whole closure
<manveru> ij: yeah, we use nix to manage all our dependencies, including ruby and js ones :)
<ij> Is "gem" being used at all?
<manveru> also go/python/erlang/c/c++/tcl... whatever you want i'd say
<jsierles> FRidh: yes, we define 'reproducible' loosely here. the idea is once your build is setup, we'll use that until you change something. but we also verison your whole environment, including snapshots of process state.
<manveru> the command?
<NickHu> How can I use an older version of ghc with nix-shell?
<qknight> ikwildrpepper: how could we test your 'latest' question?
<ij> manveru, yeah
<manveru> ij: i don't use it much, other than to push gems
<nixos-users-wiki> "nix command cookbook" edited by Mic92 https://git.io/vQs3I
<ikwildrpepper> qknight: build something like: (import <nixpkgs> { system = "x86_64-linux"; }).hello ?
<jsierles> FRidh: right now you could run any command, and we store a snapshot of the result. so you can rely on that working as you had set it up the first time. the goal is to put nix under this so we can offer deeper reproducibility.
arianvp2 has joined #nixos
<manveru> ij: i'm using nix-shell and direnv to setup the development environment for all devs working on the project, so they just cd in there and everything is installed/working automatically
<jsierles> FRidh: stuff like jupyter are useless for this because they don't take the whole dependency graph into account. that includes all underlying software, but also dependencies between your code, data files etc. anyway, don't want to clutter channel, pm me for more!
<ij> manveru, Sounds beautiful!
<jsierles> in what situation would a Nix build not be reproducible?
<manveru> while that initial setup takes a lot longer than you'd usually have to wait for just `bundle install; npm install`, you never have to worry about what version of postgresql/imagemagick/libxml etc you've got installed
<nixos-users-wiki> "nix command cookbook" edited by Mic92 https://git.io/vQs34
<nixos-users-wiki> "nix command cookbook" edited by Mic92 https://git.io/vQs3u
<manveru> ij: for example to add/update a gem, you'd edit the Gemfile, run `bundle lock && bundix -d && direnv allow` and it's there
<FRidh> jsierles: code that is run in builds may not necessarily record the order of the data it handles and eventually writes. There are some cases with Python where this happens e.g.
<manveru> with checksum, so it can be used in deploy identically
<manveru> jsierles: running compiles in parallel sometimes results in different output
<jsierles> right - and this is dependent on the source package's behavior
<manveru> exactly :|
<FRidh> a matter of fixing packages
<jsierles> does nix have any tools to detect that?
<manveru> yeah, you can run compiles 2 times automatically to find differences
<FRidh> you can run nix-build -A derivation --check
<manveru> takes longer, ofc ;P
<manveru> i think hydra does that now too?
<FRidh> yep
<jsierles> sure - that's a worthy fight. we intend to bring users as close as possible to reproducible.
<FRidh> supports it at least
<jsierles> cool that's useful. i tried out guix before coming here, and saw it supported that
<nixos-users-wiki> "nix command cookbook" edited by 4z3 https://git.io/vQs3i
<jsierles> now been trying to compare them to see which to use. nix seems way more active.
<qknight> ikwildrpepper: if i evaluate that it downloads hello from the binary cache IIRC
<FRidh> jsierles: how are you going to deal with say network activity? With nix we typically use a sandbox preventing network activity and thus that type of impurities. Would you want users to allow network access and thereby recognize you cannot guarantee reproducibility anymore?
<qknight> ikwildrpepper: i can't execute it as it is a ELF file but it wasn't built on the local machine!
<jsierles> FRidh: you mean disallow people downloading a file from some URL?
<FRidh> jsierles: yes. I suppose it is something for the user to decide, just as generating random numbers without setting a seed
<jsierles> FRidh: guaranteeing that is impossible
<jsierles> the idea is to provide better tools to make it easier. and educate
<FRidh> Good
<ikwildrpepper> qknight: well, build something that is not in the binary cache then
<jsierles> FRidh: i figure that even if you download a file, it's OK as long as you know you did and that you have a snapshot of it forever. unless you change it.
<ikwildrpepper> runCommand "sad" {} "mkdir -p $out"
<ikwildrpepper> or whatever
<jsierles> the problem happens when you run code again and it changes. but in our system you can lock the state of execution, a guarantee of some kind.
<qknight> ikwildrpepper: that is not very helpful and i'm tempted to cancel this nixops project
<ikwildrpepper> it's an example, what do you want more?
<FRidh> jsierles: well, I'm looking forward to seeing it in action. For now, I'll use nix-shell and nix-build for my research :)
<qknight> and if contributing to the nix* manuals wasn't such a pain i'd like to add a note: for mac os x builds you need to do a complicated 'linux VM buildhost' setup because it is easy to miss and if i'd known beforehead i'd never tried to deploy nix via nixops from darwin which is nearly undocumented and full of pitfalls
<jsierles> FRidh: yup, coming soon, you can play with the UI now on there. feedback welcome
<qknight> ikwildrpepper: why should the mac toolchain be able to build x86_64-linux at all i question
<qknight> ikwildrpepper: this would be a cross compiler setup and i thought for that very reason we were using the build host dropin
ericsagnes has quit [(Ping timeout: 258 seconds)]
<qknight> ikwildrpepper: i will recommend to our customer this: install nixos in a virtual machine on mac os x and deploy nixops from there
<ikwildrpepper> qknight: not sure what you mean with 'mac toolchain'. as far as i know, nixops uses the host nix to build the machines that it will deploy. by default it will try to use an already started machine in the network to build it when the system of host is not the same as the target. however, you give it a remote systems file, which means you are responsible for the set up.
<qknight> ikwildrpepper: because for what we've been trying i don't see how that is going to happen in a resonable time
<ikwildrpepper> in general, you will get the best results using linux as a host (deployment machine)
<qknight> ikwildrpepper: the theory of yours is sound but i can't get that to work
<qknight> ikwildrpepper: agreed
<qknight> ikwildrpepper: and if he needs a virtualbox machine anyways why not deploy from there also
<gchristensen> that is what I recommend to people
<qknight> gchristensen: thanks!
<gchristensen> as well
<qknight> ikwildrpepper: thanks!
darlan has joined #nixos
<manveru> it's not 100% foolproof yet, but it uses the builtin hyperkit so you can avoid vbox
<ikwildrpepper> what's hyperkit?
Svarog has joined #nixos
<qknight> ikwildrpepper: probably the mac way of libvirtd
<manveru> it's based on xhyve
<qknight> that explains nothing to me
<manveru> "The xhyve hypervisor is a port of bhyve to OS X. It is built on top of Hypervisor.framework in OS X 10.10 Yosemite and higher, runs entirely in userspace, and has no other dependencies. It can run FreeBSD and vanilla Linux distributions and may gain support for other guest operating systems in the future."
<qknight> manveru: but it is probably something like LXC/nspawn
<manveru> yeah
<qknight> manveru: that is totally awesome
<qknight> manveru: if that project of ours had more funding i'd look into improving that
<qknight> manveru: thanks for pointing that out!
<manveru> you can join ##nix-darwin to find stuff like this :)
<manveru> we can always use more beta testers
<qknight> manveru: our focus is nixcloud related stuff and we don't have many mac users ATM
<qknight> manveru: but if that changes i will
<manveru> ok
<manveru> you work at nixcloud?
jensens has joined #nixos
<qknight> manveru: paul and me (joachim) are basically doing nixcloud
darlan has quit [(Client Quit)]
<Svarog> what's the state of rocm (radeon opencompute) on nixos? has anyone attempted to get it working
<qknight> manveru: nixcloud.io
<manveru> yeah, i found you guys through the nix tour :)
<manveru> awesome stuff
<qknight> hihi
<manveru> i guess you're not hiring atm? ;)
<qknight> manveru: we have a few contractors, are you looking for interesting things to do?
<manveru> well, i have a fulltime job already, but wouldn't mind doing something involving nixops by the side
telotortium has quit [(Read error: Connection reset by peer)]
<manveru> since atm my dayjob i mostly use nix to build dev envs and docker containers... we can't control infrastructure with it
telotortium has joined #nixos
<manveru> working on that though right now, controlling marathon configs through nix :)
sary has quit [(Remote host closed the connection)]
lambdael has quit [(Quit: WeeChat 1.7.1)]
jensens has quit [(Ping timeout: 255 seconds)]
lambdael has joined #nixos
ZoomZoomZoom has quit [(Quit: Leaving)]
<qknight> manveru: interesting
<ikwildrpepper> anyone here have any idea why pyopenssl stopped building?
<ikwildrpepper> (in 17.03)
eacameron has joined #nixos
jensens has joined #nixos
cpennington has joined #nixos
orivej has quit [(Ping timeout: 258 seconds)]
orivej has joined #nixos
ryantrinkle has quit [(Ping timeout: 260 seconds)]
<ikwildrpepper> ugh, certificates in tests of pyopenssl with hardcoded expiry date of somewhere around 11 june 2017
<domenkozar> lol
<qknight> ikwildrpepper: revision bump ahead?
<qknight> and yes, lol
<ikwildrpepper> revision bump?
<ikwildrpepper> doCheck = false;
<ikwildrpepper> newer pyopenssl has same issue unfortunately
<qknight> ikwildrpepper: is this the 'planned obsolescence' everyone is talking about?
<MoreTea> ikwildrpepper, nasty!
<niksnut> hm, we could use seccomp to return fake timestamps to builds...
earldouglas has joined #nixos
<gchristensen> :o
<ikwildrpepper> niksnut: but what date would you set it to
<gchristensen> 0!
<ikwildrpepper> or make that configurable? :(
<Gravious> niksnut, not libfaketime?
<niksnut> 1
<gchristensen> SSL certificates are only valid starting on a datetime, too :(
<Dezgeg> I think messing with timestamps will really confuse some tools, like makefiles re-running configure infinitely
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to release-17.03: https://git.io/vQsW3
<NixOS_GitHub> nixpkgs/release-17.03 5cff203 Rob Vermaas: Disable pyopenssl tests temporarily, due to hardcoded certificate that depend on a date before June 10-11 2017. Newest version of pyopenssl still has the same certificates as far as I could see.
NixOS_GitHub has left #nixos []
<ikwildrpepper> gchristensen: yeah, that's why you would need to be able to configure the date per build :D
<Gravious> ooi why is seccomp preferable to faketime=
<Gravious> ?
<gchristensen> IMO the correct thing isn't to fake the time in this case, but to fix the dang test (either by actual fixing, removal of the test, or disabling of tests)
<pietranera> I asked this earlier but got no reply... trying again now :)
<pietranera> Hello, does anyone know how to make nixos honor the settings in ~/.gtkrc-2.0 ? FTR I am using awesomeWM. I have seen that there are a few issues about GTK theming on GitHub but was wondering whether someone had workarounds. Thanks!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #26877: fetchFromGitHub: fix fetchSubmodules=true when revision is not hexade… (master...fetchfromgithub-fix) https://git.io/vQslk
NixOS_GitHub has left #nixos []
afics has quit [(Quit: afics)]
<qknight> is anyone good at writing documentation in nixops? i'd like someone to add https://serverfault.com/questions/857878/nixops-deployment-on-x86-64-darwin-vs-x86-64-linux/857896#857896 and i will pay for it but when i'm trying to use docbook it always ends in an desaster
<ikwildrpepper> qknight: feel free to create an issue with the text you want to add
<gchristensen> if you write the docs in any formatting language you like, someone else could convert it for you
<LnL> write it in markdown ad somebody will compile it for you
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/6916f24e84 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
_Vi has joined #nixos
afics has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
arianvp2 has quit [(Quit: arianvp2)]
freusque has quit [(Ping timeout: 255 seconds)]
<jsierles> LnL: did you work on the nix docker image?
arianvp2 has joined #nixos
arianvp2 has quit [(Remote host closed the connection)]
<LnL> which one? :)
freusque has joined #nixos
<LnL> yep that's me
<jsierles> cool. so i was looking at setting up a remote build server. is ssh the only way to do it now?
odi has joined #nixos
<jsierles> docs seem to suggest that doing remote builds is up to the user to figure out using a wrapper script
jensens has quit [(Ping timeout: 276 seconds)]
<LnL> the build-hook uses ssh
<jsierles> i see
<MoreTea> jsierles, I was curious and started digging. This might be an example: https://github.com/NixOS/nixpkgs/issues/16263
<MoreTea> It creates a script that ill do a remote build
<jsierles> i see. thanks. ssh works, just have to ensure I can keep it secure by restricting commands to only allow a build to happen
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vQszH
<NixOS_GitHub> nixpkgs/master c90a4b8 Tim Steinbach: linux: 4.12-rc6 -> 4.12-rc7
NixOS_GitHub has left #nixos []
jensens has joined #nixos
tanonym has quit [(Quit: Going offline, see ya! (www.adiirc.com))]
berce has quit [(Ping timeout: 246 seconds)]
<LnL> jsierles: you can do that by only allowing nix-store --write with authorized_keys
<jsierles> LnL: i followed the instructions on the README, but don't see nix-build is trying to use the remote daemon. it reports: error: attribute ‘hello’ in selection path ‘hello’ not found
<LnL> I should fix that
odi1 has joined #nixos
<LnL> ah, that command assumes you are in the nixpkgs repo
<LnL> use nix-build '<nixpkgs>' -A hello ...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] DanOlivier opened pull request #1423: Adding CMake support (1.11-maintenance...1.11-maintenance) https://git.io/vQs2k
NixOS_GitHub has left #nixos []
<jsierles> LnL: ok - what does '<nixpkgs>' mean here?
odi1 has quit [(Quit: WeeChat 1.8)]
odi_ has joined #nixos
tgunb has left #nixos ["Good Bye"]
MercurialAlchemi has quit [(Ping timeout: 268 seconds)]
<LnL> it uses NIX_PATH, most likely the path to your current nixpkgs channel
<LnL> nix-instantiate --eval -E '<nixpkgs>'
<jsierles> ok. that's coming from my initial nix install (on osx)
<jsierles> so that's now running and grabbing stuff from the binary cache.
<jsierles> but on the store on my osx host, not in the build server. does that mean the client can write to the store?
<jsierles> i have no daemon running except in the docker container.
<LnL> the build-hook will first try to download everything to your local store (osx)
<LnL> and then copy the build dependencies to the build machine
<jsierles> LnL: ah. so i assume nix clients need write access to the store?
odi has quit [(Quit: leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vQsVr
<NixOS_GitHub> nixpkgs/master a9ba1e1 Jörg Thalheim: rustNightlyBin: 2017-05-30 -> 2017-06-26
NixOS_GitHub has left #nixos []
ryantrinkle has joined #nixos
erasmas has joined #nixos
arianvp2 has joined #nixos
<Baughn> I wonder if we have an 'example nixos configs' page somewhere...
<Baughn> And if I should put http://sprunge.us/SfGJ on it
odi_ has quit [(Ping timeout: 240 seconds)]
<jsierles> is there info on how to, for example, install R packages with nix? i found this https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/r-modules
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/5cff2032dc (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
<NickHu> Has anyone been able to get the haskell package accelerate-llvm to work on nixos?
<jsierles> don't fully understand what this means.
jensens has quit [(Ping timeout: 255 seconds)]
<simpson> jsierles: There's some documentation on support for R in nixpkgs: https://nixos.org/nixpkgs/manual/#r-packages
<jsierles> simpson: yes, i saw that, but it suggests you update a config file. this should be possible with a single command, no?
<jsierles> ah, looks like "nix-build '<nixpkgs>' -A rPackages.dplyr" should work
<simpson> jsierles: Technically, yes. And maybe that's desirable. I don't know R.
<jsierles> yeah. my goal is just to do builds with one command, figure out what the derived profile is, and link to that
octe_ is now known as octe
<jsierles> hmm, that doesn't work. but this does: nix-shell -p R rPackages.dplyr rPackages.ggplot2
<jsierles> for example.
<MoreTea> I assume that R has some kind of $PATH like variable?
<MoreTea> When putting the rPackages in a nix-shell, they'll probably append to that.
Svarog has quit [(Quit: Ex-Chat)]
Wizek_ has quit [(Ping timeout: 255 seconds)]
orivej has quit [(Ping timeout: 268 seconds)]
orivej has joined #nixos
ryanartecona has joined #nixos
<copumpkin> so does anyone know who's organizing nixcon?
alx741 has quit [(Quit: alx741)]
<copumpkin> there's a typo on the homepage
<LnL> are you going? :)
<copumpkin> yeah probably
<copumpkin> but only if they fix the typo!
<copumpkin> ;)
<LnL> lol
* goibhniu doesn't know if they hang out here
endformationage has joined #nixos
<copumpkin> aha
<copumpkin> thanks!
Tucky has quit [(Remote host closed the connection)]
<copumpkin> LnL: are you?
darlan has joined #nixos
<LnL> most likely yes
jensens has joined #nixos
<copumpkin> \o/
<copumpkin> pikajude: ?
ericsagnes has joined #nixos
ThatDocsLady_afk is now known as ThatDocsLady
Sonarpulse has quit [(Ping timeout: 246 seconds)]
<Gravious> wooo nixcon!
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Wizek has quit [(Ping timeout: 260 seconds)]
freusque has quit [(Quit: WeeChat 1.7.1)]
<NickHu> Is there a way to get the git version rather than the hackage version of a haskell package with nix-shell?
<NickHu> By editing top-level/haskell-packages.nix
<NickHu> Sorry, I mean development/haskell-modules/hackage-packages.nix
hellrazor has joined #nixos
Wizek has joined #nixos
hellrazor has quit [(Client Quit)]
simukis has joined #nixos
darlan has quit [(Quit: Communi 3.5.0 - http://communi.github.com)]
proteusguy has joined #nixos
acarrico has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a9ba1e101e (from 86 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
snikkers has quit [(Ping timeout: 240 seconds)]
phinxy has joined #nixos
Itkovian has joined #nixos
DrWaste has quit [(Quit: Run away!)]
mudri has joined #nixos
goibhniu1 has joined #nixos
goibhniu has quit [(Ping timeout: 260 seconds)]
pxc has joined #nixos
jensens has quit [(Remote host closed the connection)]
jensens has joined #nixos
peacememories has joined #nixos
Wizek_ has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
tanonym has joined #nixos
pietranera has quit [(Quit: Leaving.)]
Sonarpulse has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
snikkers has joined #nixos
peacememories has joined #nixos
seanz has joined #nixos
Itkovian has quit [(Read error: Connection reset by peer)]
hellrazor has joined #nixos
tanonym has quit [(Ping timeout: 240 seconds)]
darlan has joined #nixos
darlan has quit [(Client Quit)]
Itkovian has joined #nixos
<FRidh> has anyone else noticed that a nix-build hangs quite long after "checking for references to /build in ..."
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
jekor` has quit [(Read error: Connection reset by peer)]
ertes-w has quit [(Ping timeout: 276 seconds)]
jekor` has joined #nixos
hellrazor has quit [(Quit: WeeChat 1.9)]
marsel has quit [(Ping timeout: 255 seconds)]
rjsalts has quit [(Ping timeout: 246 seconds)]
jsierles has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
rjsalts has joined #nixos
Itkovian has quit [(Read error: Connection reset by peer)]
ambro718 has joined #nixos
<gchristensen> niksnut: what do you think about https://nixos.org/channels/nixos-unstable-small not updating but the github branch for nixos-unstable-small updating?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] akatrevorjay opened pull request #26878: Add iptstate package (master...master) https://git.io/vQsNZ
NixOS_GitHub has left #nixos []
digitus has joined #nixos
Wizek_ has quit [(Ping timeout: 240 seconds)]
Wizek has quit [(Ping timeout: 240 seconds)]
goibhniu1 has quit [(Ping timeout: 246 seconds)]
peacememories has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lukeadams closed pull request #26144: gnuradio: [3.7.10.1->3.7.11] [Enable Darwin support] (master...gnuradio-update) https://git.io/vHnc2
NixOS_GitHub has left #nixos []
markus1199 has quit [(Ping timeout: 240 seconds)]
markus1199 has joined #nixos
zeus_ has joined #nixos
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
tokudan has joined #nixos
tokudan has quit [(Client Quit)]
tokudan has joined #nixos
jgertm has joined #nixos
<sphalerite> disasm: Re redirecting a USB device (didn't see if anyone else answered, but hey), you need permission to access the device file which lives at /dev/bus/usb/???/??? where ??? ??? are the bus and device numbers shown by lsusb. I use setfacl -m u:linus:rw to temporarily grant my user access to the specific device I need.
<disasm> sphalerite: ah, ok, thanks!
<sphalerite> If you want it permanent, add a udev rule
<sphalerite> Actually not sure if that's how it works with libvirt
<sphalerite> potentially you need to give access to the user that libvirtd runs as
<sphalerite> rather than yourself
hotfuzz_ has joined #nixos
<Sonarpulse> copumpkin / shlevy: want to come up with a plan with me splitting things into more PRs
<Sonarpulse> opening hydra jobs
<Sonarpulse> how many shares to reserve?
<copumpkin> don't know much about hydra job shares
<copumpkin> also, semi-related: are you or shlevy going to nixcon?
ris has quit [(Ping timeout: 246 seconds)]
<Sonarpulse> copumpkin: perhaps
<Sonarpulse> I've been thinking about it
<jluttine> anyone working on packaging ring?
<Sonarpulse> still bummed its haloween :D
<jluttine> https://ring.cx/
hotfuzz has quit [(Ping timeout: 276 seconds)]
Wizek has joined #nixos
Wizek_ has joined #nixos
<Sonarpulse> copumpkin: also, if you didn't see my last comment yet, I could put the first commit in a separate PR
<copumpkin> <3
<copumpkin> thanks!
<Sonarpulse> cool
<copumpkin> Sonarpulse: we can scare each other at nixcon with enormous PRs
<Sonarpulse> :D
<Sonarpulse> what's yours going to be??
<copumpkin> who needs traditional halloween
<copumpkin> I'll probably fix up a bunch of darwin stuff I've been meaning to do forever
<copumpkin> or some of the nix features I've been planning
<copumpkin> maybe finish up that reproducible evaluation thing
<Sonarpulse> oooo
<Sonarpulse> +1
<LnL> reproducable evaluation?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lheckemann opened pull request #26879: [WIP] GNOME: 3.22 -> 3.24 (staging...gnome-3.24) https://git.io/vQshJ
NixOS_GitHub has left #nixos []
<copumpkin> this one, except done differently: https://github.com/NixOS/nix/pull/709
jbgi has joined #nixos
<LnL> oh, that looks useful
_Vi has quit [(Ping timeout: 276 seconds)]
<copumpkin> yeah, there are a couple of main applications I have in mind for it right now
<copumpkin> mostly around NixOS configuration
<copumpkin> but there's lots of other stuff that it could help with
<hyper_ch> so, my Dripo has arrived... now I'll have my first attempt at cold brew coffee
<sphalerite> unlmtd: I personally would want to encrypt the nix tree even if the option to have it unencrypted but on the same partition exists, to ensure that it can't be modified maliciously
<hyper_ch> encrypt nix tree?
<sphalerite> hyper_ch: unlmtd mentioned the potential use of zfs's encryption feature (vs zfs-on-luks) to have parts of the filesystem unencrypted
<hyper_ch> I encrypt everything :)
FRidh has quit [(Quit: Konversation terminated!)]
<hyper_ch> I'd even encrypt my kitty if I could :)
<gchristensen> your poor family
<clever> in the case of zfs, if you only want to prevent tampering, you just need signatures on the zfs metadata (which includes the hashes of the data)
<clever> zfs already verifies the hashes of all data it reads, so signing the metadata would prevent modification
<hyper_ch> btw, can zfs be used as rootfs on nixos?
<clever> hyper_ch: several of my systems use zfs as the rootfs
<Sonarpulse> copumpkin: we have another reviewer here who apparently wants me to take my PR in a more maximalist direction :D
<clever> and my laptop has zfs on lvm on luks
<hyper_ch> debian doesn't include it
<copumpkin> maximialist!
<hyper_ch> it needs to be loaded as dkms and to use zfs on / is a pain - or so I've read
<hyper_ch> never used zfs but I heard it's totally awesome
<clever> hyper_ch: if you set filesystems."/".fsType = "zfs";, it will just automatically configure everything for you
<sphalerite> hyper_ch: I also use zfs as rootfs
<clever> and nixos-generate-config does that already
<gchristensen> hyper_ch: it can, I have a nixos installer test almost ready for contribution
<hyper_ch> btrfs isn't good for production... a small power outage and it's all mangled
<sphalerite> hyper_ch: debian presumably doesn't include it because of the licencing issues
<sphalerite> (GPL incompatibility)
<hyper_ch> sphalerite: yeah, that's why
<clever> hyper_ch: only limitation, is that you must set mountpoint=legacy on the zfs filesystem, and mount it with mount
<hyper_ch> so I didn't know if nixos does the same
<clever> hyper_ch: this is a script i wrote 2 weeks ago that does the entire zfs install: https://github.com/cleverca22/nix-tests/blob/master/kexec/justdoit.nix#L33-L70
<hyper_ch> so, I usually I do a luks partition and then inside ext4
<hyper_ch> with zfs, would I go the other way around?
<clever> ive heard about problems with swap on a zvol
<clever> and i wanted the swap and zfs to share a single luks passphrase
<gchristensen> you probably shouldn't swap on a zvol
<hyper_ch> I don't use swap anymore
<clever> so i put lvm on luks
<clever> then used lvm to split the drive between swap and zfs
<hyper_ch> I don't like lvm
<clever> but you could probably make 2 luks'd partitions, one for swap (still optional), and one for zfs
<hyper_ch> why not use random key for encrypted swap?
<clever> ive only used /boot in cleartext, and grub has trouble with zfs
<clever> hibernation
<hyper_ch> ah, another thing I don't believe in :)
primeos has quit [(Ping timeout: 260 seconds)]
<clever> and its harder to resize if the swap is a real partition with luks
<clever> lvm lets you fragment the LV's, so its easyer to resize internally
primeos has joined #nixos
<hyper_ch> does zfs have raid support?
<clever> zfs can do its own raid and mirroring
<clever> and its surprisingly flexible at changing raid levels at runtime
<hyper_ch> well, actually I have two partitions... /boot and /
<hyper_ch> both are raid1
<hyper_ch> and / is encrypted
<hyper_ch> becuase with raid1
<hyper_ch> I can use mdadm to expand to 2 devices
<hyper_ch> and have it sync to an external usb drive :)
<clever> with zfs, you have 2 main modesl, mirror will just mirror things
markus1189 has quit [(Ping timeout: 276 seconds)]
<clever> and then you have raidz1, which will stripe the data, with 1 parity drive
<clever> and that 2nd mode scales, so raidz2 uses 2 parity drives, raidz3 and so on, use more parity, and can survive more loss of drives
<clever> so a raidz1 over 5 drives, has 4 for storage, and 1 for parity
markus1189 has joined #nixos
<gchristensen> if you're considering using ZFS you should read _all of this_: https://pthree.org/2012/04/17/install-zfs-on-debian-gnulinux/ it doesn't take too long
<hyper_ch> also, can an average computer person like me even handle zfs?
<gchristensen> see ^
<hyper_ch> one last thing... since it's copy-on-write... how much performance impact does it have?
<gchristensen> you should read that article and do your own testing probably
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to release-17.03: https://git.io/vQsjQ
<NixOS_GitHub> nixpkgs/release-17.03 b00fb69 Will Dietz: at: Don't set fancy bits on install...
NixOS_GitHub has left #nixos []
ryanartecona has joined #nixos
Wizek_ has quit [(Ping timeout: 276 seconds)]
Wizek has quit [(Ping timeout: 276 seconds)]
ertes has joined #nixos
MoreTea has quit [(Ping timeout: 255 seconds)]
<eacameron> How do you work on multiple packages with the same nix-shell?
primeos has quit [(Ping timeout: 240 seconds)]
ambro718 has quit [(Ping timeout: 276 seconds)]
Infinisil has joined #nixos
odi has joined #nixos
primeos has joined #nixos
<sphalerite> Gravious: re "why is seccomp preferable to libfaketime" — I believe seccomp intercepts the system call while libfaketime only replaces the library calls, so if an executable makes the system calls directly (rather than via a libc) it won't be affected by libfaketime but will by seccomp
<gchristensen> niksnut, ikwildrpepper: is there some sort of log aggregation / metrics system that certain trusted users may be granted access to for the hydra / nixos infra, to be able to debug and investigate problems like channel updates not advancing?
henrycrutcher has joined #nixos
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
<gchristensen> (for example, vcunat doesn't seem too shady)
<henrycrutcher> Hi All! Anyone know if it is possible to run MS Office 2010 under nixos with wine, or crossover office, or PlayOnLinux, or with winetricks. I've tried wine with nixos 15.09, 17.03, and unstable, and the same thing happens: it installs and runs, but saving or opening files crashes. Unhelpful logs...
Itkovian has joined #nixos
<sphalerite> henrycrutcher: any reports of it working on other distros?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vQGfr
<NixOS_GitHub> nixpkgs/master ac83ef3 Vincent Laporte: glsurf: 3.3 -> 3.3.1
NixOS_GitHub has left #nixos []
<sphalerite> henrycrutcher: if it's possible on other distros it should be possible on nixos too. If not, then you're probably out of luck
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vQGJ8
<NixOS_GitHub> nixpkgs/master 456089b Vincent Laporte: ocamlPackages.mlgmp: disable for OCaml ≥ 4.03
NixOS_GitHub has left #nixos []
<sphalerite> henrycrutcher: https://appdb.winehq.org/objectManager.php?sClass=version&iId=22248 by the looks of it it should work in wine 2.1, which is wineUnstable in nixos. You'll probably also need to use the settings listed on that page
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vQGUm
<NixOS_GitHub> nixpkgs/master ce8178e Vladimír Čunát: qtinstaller: fix broken meta...
NixOS_GitHub has left #nixos []
sigmundv__ has joined #nixos
henrycrutcher_ has joined #nixos
<henrycrutcher_> any clue how to install microsoft office 2010 under nixos with wine?
<Drakonis[m]> uh, the same way you do everywhere else?
<henrycrutcher_> sounds good -- I've installed wine (under 15.09, or 17.03, or unstable) and installed wine and tried that. It works except that opening or saving documents causes a crash
<henrycrutcher_> strace tells me nothing, neither do the logs
<Drakonis[m]> which branch of wine?
jensens has quit [(Ping timeout: 260 seconds)]
<henrycrutcher_> but I may not be smart enough to recognize what I'm looking for
<henrycrutcher_> tried wine 1.7.x and wine 2.0
<henrycrutcher_> I
<Drakonis[m]> try staging i guess
<henrycrutcher_> I'm sure Im missing a library or something
<Drakonis[m]> staging's where the hotness at
<Drakonis[m]> wine is fairly standalone
<gchristensen> you mean like nixos's staging?
<Drakonis[m]> no
<Drakonis[m]> like wine staging
<gchristensen> neat
<Drakonis[m]> all of the experimental stuff land in staging before going into deveol
<Drakonis[m]> devel
reinzelmann has joined #nixos
<henrycrutcher_> sounds good, will try it
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 2 new commits to release-17.03: https://git.io/vQGIn
<NixOS_GitHub> nixpkgs/release-17.03 4fb8f6f Franz Pletz: lxc: 2.0.7 -> 2.0.8...
<NixOS_GitHub> nixpkgs/release-17.03 b2bf4d8 Volth: mtr: do not do 'setcap' on installPhase, it would fail anyway...
NixOS_GitHub has left #nixos []
<Drakonis[m]> wine seems like one of the things that doesn't work as well in nixos
<Drakonis[m]> besides cups
<Drakonis[m]> needs extra fiddling to work
<hyper_ch> cups doesn't work?
<hyper_ch> I found cups works good... and not add printers through kde systemsettngs but directly to cups in the browser
<Drakonis[m]> didn't work when i tried with my printer
<Drakonis[m]> at least getting the hp drivers to work was painful
<hyper_ch> brother and oki printer here
<Drakonis[m]> still didn't get the drivers to install, sadly.
<Drakonis[m]> well, brother printers are known to work really well and need no special things
<hyper_ch> for both I just supplied the ppd
<Drakonis[m]> the problem was getting the hp ppd installer to work
<hyper_ch> wasn't there a time where hp printer just worked (tm) on linux?
<Drakonis[m]> thanks python!
<Drakonis[m]> using nix-shell didn't work either
<sphalerite> Drakonis[m]: how does it not work as well in nixos? I'd think that of all software it in particular would be pretty filesystem-layout-agnostic
marsel has joined #nixos
<Drakonis[m]> the installer runs on python and it tries to use an library that's unavailable
<Drakonis[m]> some kind of installer specific library it seems?
<Drakonis[m]> wine is very layout agnostic, yeah.
ris has joined #nixos
<Drakonis[m]> there's some minor upper layer fiddling, ie: gamepads, that doesn't work
<Drakonis[m]> ~~needs effort~~
lukego has joined #nixos
ris has quit [(Read error: Connection reset by peer)]
ris has joined #nixos
nckx has quit [(Quit: restarting my GuixSD server)]
_ris has joined #nixos
<sphalerite> ah ok
nckx has joined #nixos
ris has quit [(Ping timeout: 260 seconds)]
lambdael has quit [(Quit: WeeChat 1.7.1)]
lambdael has joined #nixos
<henrycrutcher_> extra fiddling is fine, but I couldn't get past this bug any way at all
<henrycrutcher_> anyone ever get crossover to work for running Windows applications?
<Drakonis[m]> crossover is paid wine basically
<Drakonis[m]> wine with paid support
telotortium has quit [(Read error: Connection reset by peer)]
<henrycrutcher_> I thought thats what crossover was
telotortium has joined #nixos
<Drakonis[m]> used to be wine with patches
<lukego> Is there a trick for 'fetchurl' to handle URLs containing spaces? The literal space doesn't seem to work and if I switch to %20 then I get "error: invalid character '%' in name ..."
<gchristensen> lukego: nasty ...
<gchristensen> lukego: I think you should open an issue
<Drakonis[m]> i'm incorrect actually.
simendsjo has joined #nixos
<Drakonis[m]> its wine with a professionally made gui with the concepts that used for making wine a better experience plus paid support
<Drakonis[m]> think playonlinux and swine in one thing
<Drakonis[m]> one application
<lukego> More specifically with this command: nix-prefetch-url http://ss3.gemstone.com/ss/STON/STON-Text%20support-TheIntegrator.2.mcz
<lukego> gchristensen: Just did a 'grep' on nixpkgs and it seems like there are URLs with escaped spaces (%20) there...
noobly_ has joined #nixos
<noobly_> does anyone here have any experience using home-manager?
<hyper_ch> no
<gchristensen> lukego: oh what if you just quoted it?
<gchristensen> hyper_ch: you sure?
<hyper_ch> gchristensen: well, it's a "yes/no/maybe/42/abort" question... so I just took a lucky guess :)
<gchristensen> please don't scare away new comers
<lukego> gchristensen: Oh you know I think the problem is that it creates a derivation name based on the basename of the URL, and it is the basename that contains a space. So invalid derivation name
<lukego> yes, if I do 'nix-prefetch-url --name foo ...' then it is okay.
<bachp> Hi I'm trying to package https://github.com/getsentry/sentry but it's build process is a mixture of python setup.y and node npm (or yarn). Does anyone have experience how to handle such hybrid build processes?
<lukego> Is there a nix function / trick for converting a string into a valid derivation name? (e.g. somehow mangling out any illegal characters?)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #26881: Make hash-breaking cleanups avoided in #26007 (master...cross-hashbreak) https://git.io/vQGYS
NixOS_GitHub has left #nixos []
<ij> What is responsible for there being a LANG in my `env`?
<sphalerite> noobly_: what is home-manager?
<sphalerite> (the answer for me is obviously no, but I'm curious)
<sphalerite> ij: on nixos or other distro?
<noobly_> It's kind of like the configuration.nix but for your dot files, to create reproducible user configuration
<noobly_> on nixos, I'll pull up the github link one sec
<noobly_> ^ yes
pie_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mzaccari opened pull request #26882: jruby: 9.0.5.0 -> 9.1.5.0 (master...jruby-9.1.5.0) https://git.io/vQGOW
NixOS_GitHub has left #nixos []
<noobly_> As a linux noob who likes the ability to customize, but hates actually doing it, I was very drawn to nixos to not have to ever rebuild my system again, and home manager takes that even farther.
<Drakonis[m]> says it targets 17.03
<noobly_> So I think it's quite lovely, and hope it gets more attention from developers
<noobly_> 17.03? what is current?
<Drakonis[m]> that's current
<Drakonis[m]> the next one is 17.10
<noobly_> oh nice
<noobly_> Do you use it?
<gchristensen> 17.09
<Drakonis[m]> hmm
mudri has quit [(Ping timeout: 255 seconds)]
<Drakonis[m]> read the readme
<gchristensen> (next version is 17.09)
<Drakonis[m]> it will help set things up
<Sonarpulse> anyone know how long release.nix evaluation normally takes?
mudri has joined #nixos
Infinisil has quit [(Quit: Lost terminal)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
seagreen has quit [(Quit: WeeChat 1.7.1)]
Infinisil has joined #nixos
seagreen has joined #nixos
<seagreen> Is there a good list of maintained NixOS configs somewhere online? If not would that be a good thing to make?
orivej has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 closed pull request #26021: Cygwin fixes (staging...cygwin-wip) https://git.io/vHtkU
NixOS_GitHub has left #nixos []
simendsjo has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<noobly_> Drakonis[m]: I've read the read me, just wondering if you'd had any issues with it?
<noobly_> the documentation mentions the possibility of catastrophic failure
<sphalerite> I presume that's because it modifies stuff outside your nix profile and might in case of a bug accidentally delete your $HOME
<sphalerite> But between the likelihood of that and solid backup-keeping, you're probably safe using it :)
marsel has quit [(Ping timeout: 240 seconds)]
<Gravious> sphalerite, i see, thanks for explaining :)
<noobly_> sphalerite: ok, thanks :)
<noobly_> I imagine home-manager is only useful between machines of the architecture, yeah?
<sphalerite> ??
ambro718 has joined #nixos
<noobly_> sphalerite: what??
<noobly_> oh, ha, I meant of the SAME architecture
<noobly_> and this would apply to the configuration.nix as well, right?
<sphalerite> what difference would the architecture make?
lukego has quit [(Ping timeout: 260 seconds)]
<sphalerite> For the system configuration, there are likely to be differences (but you can share most of the config and just import the arch-specific pieces)
<sphalerite> for home-manager, I don't think there'd be any difference usually
<noobly_> so if I have a 32 bit laptop, and want to reproduce my configuration.nix on my 64 bit desktop, I could just copy and paste the config without having to worry about my desktop downloading 32 bit applications?
octalsrc[m] has joined #nixos
<sphalerite> Yep, unless you've specified i686-linux somewhere
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vQGZf
<NixOS_GitHub> nixpkgs/master 2da82a1 Jörg Thalheim: racerd: 2016-12-24 -> 2017-02-17
NixOS_GitHub has left #nixos []
<noobly_> man I love NixOS it is truely the future, thank you sphalerite
<noobly_> I can't wait to tailor my system to my precise preferences and never have to configure anything again
Filystyn has quit [(Quit: Konversation terminated!)]
oida_ has joined #nixos
oida has quit [(Ping timeout: 240 seconds)]
katyucha_ has joined #nixos
pie_ has quit [(Quit: Leaving)]
pie_ has joined #nixos
noobly_ has quit [(Quit: Page closed)]
pie_ has quit [(Remote host closed the connection)]
katyucha_ has quit [(Client Quit)]
pie_ has joined #nixos
katyucha_ has joined #nixos
hellrazor has joined #nixos
MP2E has joined #nixos
katyucha has quit [(Killed (barjavel.freenode.net (Nickname regained by services)))]
katyucha_ is now known as katyucha
katyucha_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #26818: llvm-packages: get rid of extra build depedencies for manpages (staging...llvm-manpages) https://git.io/vQOtq
NixOS_GitHub has left #nixos []
ryanartecona has quit [(Quit: ryanartecona)]
Filystyn has joined #nixos
turion has joined #nixos
<turion> I'd like to install nixos on my 1 GB USB stick.
<clever> 1gig is a bit small
<turion> The smallest config I can come up with still takes 1.3GB, what can I do?
<turion> clever, yes, it's a bit crappy
<turion> But given that the minimal installer is just 300 MB, I thought it might work
<clever> do you want to use it as an installer, or a real system with persistant data?
peacememories has joined #nixos
<turion> Actually as an installer
<clever> the installer uses a compressed read-only filesystem
jbgi has quit [(Ping timeout: 260 seconds)]
pie_ has quit [(Changing host)]
pie_ has joined #nixos
<turion> I see
<clever> the iso files are bootable usb images, you can just dd them to a usb stick
<turion> Can I somehow alter the config of the installer?
<clever> yeah, let me find an example
<turion> Basically, can I make my own installer with my own config?
<turion> Trouble is, I need some extra packages in order for it to boot, it seems
<clever> make a configuration.nix file, that does imports = [ <nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix> ];
<turion> Ok
<clever> and then build it with
<clever> nix-build '<nixpkgs/nixos>' -I nixos-config=./configuration.nix -A config.system.build.isoImage
<clever> then add whatever else you want to the configuration.nix
<turion> Oh awesome
<turion> My problem so far basically was that when I try to boot from the minimal or the graphical installer, then systemd fails to bring up NetworkManager and the login service
<turion> Since it doesn't have the firmware for my wireless card, and I don't have a wired connection
<turion> (I think)
<clever> ah
civodul has joined #nixos
hotfuzz_ is now known as hotfuzz
<turion> Yes, I need to put that option on the installer
MP2E has quit [(Read error: Connection reset by peer)]
ison111 has quit [(Quit: WeeChat 1.7.1)]
MP2E has joined #nixos
detran has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
thaega has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #26804: erlang: change default to R19 (master...erlangR19) https://git.io/vQYrj
NixOS_GitHub has left #nixos []
<ryantrinkle> gchristensen: do you happen to know if gnucash is working, in particular online banknig?
<ryantrinkle> i noticed you had commented on gnucash generally at some point in the irc logs
<ryantrinkle> i was able to get it to enumerate accounts, but all the actual online actions in the menu are constantly greyed out
<ryantrinkle> so i think there might be an issue with the plugin or something
freezeboy has joined #nixos
<MP2E> hey, trying to use nix-copy-closure remotely over ssh, but i can't seem to get signing to work. I used the 'nix-store --generate-binary-cache-key' option to generate the public and private keys and put both under the client and servers /etc/nix/ folders. When running the nix-copy-closure command with sign I get 'openssl failed with exit code 1'
<MP2E> if i use nix-copy-closure without --sign it just complains that there is no signature x.x
<MP2E> should mention, both computers are using nixos master, built as of friday
<MP2E> they're both using the same commit as well
<freezeboy> Hi all, I'm trying to write a package for an appimage application, and I'm stuck at the unpackPhase because the downloaded file is simply the binary, not an archive, I can't find how to disable unpackPhase (but keeping the fetchurl)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin pushed 2 new commits to master: https://git.io/vQG8H
<NixOS_GitHub> nixpkgs/master 0fafa0d Daiderd Jordan: erlang: remove erlangR16 and all versioned variants from all-packages...
<NixOS_GitHub> nixpkgs/master 2dc0eaf Daniel Peebles: Merge pull request #26797 from LnL7/erlang-versions...
NixOS_GitHub has left #nixos []
ris has joined #nixos
_Vi has joined #nixos
_ris has quit [(Ping timeout: 260 seconds)]
mudri has quit [(Quit: WeeChat 1.8)]
<turion> clever: Thanks, seems to work!
nwspk has quit [(Quit: Quit: *.banana *.split)]
pie_ has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #26857: krfb: add new qtx11extras dependency (master...krfb-qtx11extras) https://git.io/vQ3c9
NixOS_GitHub has left #nixos []
nwspk has joined #nixos
<clever> MP2E: if you use nix-copy-closure --to root@remotebox, it wont care about signatures
<clever> secret-key-files = /etc/nix/signing.sec
<freezeboy> Infinisil: thx I already looked there but I don't understand how to set the unpackPhase script so that it downloads and just keeps the file as is
<clever> MP2E: and i think you need to set this option in nix.conf (via nix.extraConfig in configuration.nix) so it knows what to sign with
<Infinisil> freezeboy: You just need to set the phases attribute to only those phases that you need, aka exclude unpackPhase
<freezeboy> Infinisil: but where is the fetchPhase then ?
tokudan has quit [(Quit: Leaving)]
<Infinisil> freezeboy: Ah right
<MP2E> clever: ah thanks!
<clever> MP2E: and if using --from, the nix-copy-closure itself has to run as root
turion has left #nixos []
<clever> sudo nix-copy-closure --from normaluser@remote
<clever> once the receiving end has root, it doesnt bother checking signatures
<clever> root can bypass things anyways, no point in trying to enforce
ryanartecona has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #26849: skrooge: 2.7.0 -> 2.8.1 (master...skrooge-2.8) https://git.io/vQ3q9
NixOS_GitHub has left #nixos []
peacememories has quit [(Ping timeout: 240 seconds)]
<MP2E> clever: thanks again :) really useful stuff, I couldn't find much by googling
<clever> MP2E: and in the case of a single-user nix install on debian or mac, it doesnt even need root to bypass
<clever> whatever user did the install has that power by default
<MP2E> awesome! now everything is working
<MP2E> :D
<Infinisil> freezeboy: What's the error that you get? Is your source just a single binary that looks like an archive and that's why it's trying to unpack it? If that's the case you may be able to set the unpackCmd = "true" so that it doesn't do anything to unpack it.
seagreen has quit [(Quit: WeeChat 1.7.1)]
<freezeboy> Infinisil: well I started to write a script to create a directory and just creating a symlink
<freezeboy> I'm not sure what behavior I should get in fact
<Infinisil> freezeboy: Could you gist your nix file?
detran has quit [(Read error: Connection reset by peer)]
<freezeboy> Infinisil: well it's on a virtualmachine without X so I'll have to find a way to do it ;)
<clever> freezeboy: nix-env -iA nixos.gist ; gist -p foo.nix
<freezeboy> clever: oh great
<clever> and if you first gist --login, it will be visible on your own https://gist.github.com/ outside the vm
<Infinisil> clever: Oh nice
<Infinisil> clever: -p makes it private though
seagreen has joined #nixos
<clever> yeah, but it will print the url to stdout and if you login, you can see your own private gist's on the website
<clever> and with the url, even private ones can be seen
detran has joined #nixos
<clever> freezeboy: try setting unpackPhase instead of unpackCmd
<clever> and line 11 does nothing, the script doesnt make use of version
<clever> you can also just ditch the unpackPhase entirely
<clever> just put the commands all into installPhase, and remove unpack from line 12
<clever> that subdomain also goes against how nix works, "desktop-auto-upgrade", the download will just randomly break every time they bump the version, and then nobody can install the package
peacememories has joined #nixos
<freezeboy> well that's the link they put on the website :(
goibhniu has joined #nixos
<clever> yeah, they are offering an auto-updating link, so it just gives the latest version for anybody
<clever> but nix expects the url contents to never change
<Infinisil> Best would be to build from source
<clever> yeah, that too
<freezeboy> it is not free
orivej has joined #nixos
<Infinisil> Argh why is molotov.tv in french
<freezeboy> it is a french company
<Infinisil> Ahh okay then
pie_ has joined #nixos
<freezeboy> strange name ....
<Infinisil> Some websites automatically use french because they think every swiss person speaks french
<freezeboy> ok so now I have the thing installed
sigmundv__ has quit [(Ping timeout: 240 seconds)]
<pie_> hey guys, how do i use a gamepad?
<freezeboy> but instead of having /nix/store/blabla-molotov/molotov, I just have the first part :/
<freezeboy> it is not a symlink
<clever> you need to mkdir $out/bin/ and put the symlink in bin
<clever> and you want to just symlink $src
<clever> and a symlink wont do, it needs patchelf ran on it, which requires +w
<freezeboy> :'( I think I will to my previous solution: keep this file in my home, and letting it auto updating itself
<clever> you still need to patchelf it
<clever> and the auto-update will break that
<clever> one second
<freezeboy> yes but if it is my home, I don't need the patch, am I right ?
<clever> you do
<clever> the ld.so path is wrong, so it will never start
<freezeboy> even with a completely static elf ?
<clever> molotov: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2,
<clever> its not static
<freezeboy> good point
<clever> and the meta attribute was on the fetchurl
<freezeboy> anyway as you said I don't have the direct url, just a magic auto update ... so it will be hard to have a useful package
<clever> i noticed it has a version in the url, so it may not fully update
<clever> ./result/bin/molotov: error while loading shared libraries: libfuse.so.2: cannot open shared object file: No such file or directory
Wizek_ has joined #nixos
<clever> it also needs rpath set
<clever> so patchelf is a must
raignarok is now known as raignarok1
raignarok1 is now known as florianjacob
MP2E has quit [(Read error: Connection reset by peer)]
<freezeboy> well thank you for the different inputs, I'll stop there for tonight, I'll see tomorrow if I still motivated to play with this one, or try another package ;)
MP2E has joined #nixos
<clever> freezeboy: almost done patching i
<freezeboy> really ? juste some patchElf $out/molotov ?
nix-gsc-io`bot has joined #nixos
<clever> a bit more then that
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ce8178ed93 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
<clever> ./result/bin/molotov: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory
<clever> now it needs glib
jeremejevs has joined #nixos
<clever> and libz
<freezeboy> so I put both in a buildInputs & move the meta bloc
<freezeboy> + patchElf
<clever> buildInputs only works for things your building
<clever> it doesnt do anything for things your patching
<clever> $ ./result/bin/molotov
<clever> Cannot open /tmp/.mount_yQh5Gz/.DirIcon
<clever> this patches it enough to run, but now it gives the above error
<freezeboy> from the behavior in other distributions, I know it usually unpacks itself in such a temp directory in /tmp
<freezeboy> it is not possible in nixos ?
<clever> oh, its probably going to unpack more ELF files
<clever> which must also be patchelf'd
<clever> and its going to try and run them right away
<freezeboy> oh yes that's possible
<clever> [pid 1035] mount("molotov", "/tmp/.mount_uwTNEl", "fuse.molotov", MS_RDONLY|MS_NOSUID|MS_NODEV, "fd=5,rootmode=40000,user_id=1000"...) = -1 EPERM (Operation not permitted)
<clever> ah, its trying to directly mount a fuse layer, without using fusermount
<clever> so it must be ran with root to get past this step
<clever> wait nvm, [pid 1036] execve("/run/wrappers/bin/fusermount", ["fusermount", "-o", "ro,nosuid,nodev,subtype=molotov", "--", "/tmp/.mount_uwTNEl"], [/* 70 vars */]) = 0
<clever> it correctly falls back to fusermount
Guest22342 has quit [(Quit: Lost terminal)]
<clever> [pid 1037] write(2, 0x7ffc61204730, 149fusermount: /nix/store/3xsjm8rfpy0ysfjs1pcybj33fsigszgp-wrapper.c:203: main: Assertion `!(st.st_mode & S_ISUID) || (st.st_uid == geteuid())' failed.
ris has quit [(Read error: Connection reset by peer)]
<clever> i think my fusermount is broken
ris has joined #nixos
<clever> freezeboy: you may get different behaviour on your end
<clever> write(1, "Could not mount AppImage\n", 25Could not mount AppImage
<clever> write(1, "Please see https://github.com/pr"..., 62Please see https://github.com/probonopd/AppImageKit/wiki/FUSE
<clever> this error is also vanishing somewhere
MP2E has quit [(Quit: reboot)]
peacememories has quit [(Ping timeout: 240 seconds)]
<clever> oh right
<clever> strace breaks setuid root programs
<clever> thats why my fusermount fails when debugging
MP2E has joined #nixos
<clever> and why its getting a different error when i dont strace
<clever> yeah, strace as root gives the original error
<Sonarpulse> anyone know what it means if hydra takes hours to eval something?
<Infinisil> Unfree software \o/
<LnL> recursion?
<clever> so: on my old hydra, the hdd just sucked enough that reading most of nixpkgs took 20+ minutes
<LnL> wow :o
simukis has quit [(Quit: simukis)]
<Infinisil> clever: What do you mean by reading?
<clever> that motherboard was from the era when you still had pata and sata on the same board, and it originally had a pata drive
<clever> Infinisil: it was io bound just doing things like copying nixpkgs from /tmp to /nix/store/
<clever> and hydra has to re-copy all of nixpkgs, for every eval it changed in
<Infinisil> clever: Ohhh
<clever> freezeboy: strange, it makes a tmpdir, then mounts itself over fuse to that tmp dir, then tries to read files from inside itself
<clever> and fails to read those files
mog has joined #nixos
<clever> freezeboy: we may want this instead: https://github.com/AppImage/AppImageKit/wiki/FUSE#fallback
proteusguy has quit [(Remote host closed the connection)]
<freezeboy> on my side the closure looks good now (hurray) but the file refuses to start
Isorkin has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #26883: linux bootstrap tools: Use same derivation whether cross compiling or not (master...linux-make-bootstrap-tools) https://git.io/vQGwO
NixOS_GitHub has left #nixos []
<freezeboy> saying no such file or directory, but if I open the file there is some content
<freezeboy> anyway there's no X, so ... i could not run in the end
<clever> /tmp/molotov on /mnt type iso9660 (ro,relatime)
<jeremejevs> Hi! Just dumping a tip for future readers: for AMD RX 5xx cards to work (an RX 550 in my case), you need a 4.11+ kernel. Was about to ask for help here, but then, well, 4.11 helped.
peacememories has joined #nixos
<clever> freezeboy: !!!, the ELF file is also a iso9660 filesystem!
<freezeboy> didn't know this was possible
<clever> iso9660 filesystems start with a special header at something like 64kb into the disk image
<clever> and its trivial to create holes in an ELF file
<clever> and patchelf re-arranges the contents of the elf, breaking this magic
<clever> and even if we could patchelf it, its going to try to run the unpacked contents
<clever> we need to manually unpack this, then patch the contents
<freezeboy> very interesting
<freezeboy> but definetely, I won't start tonight ;)
Wizek_ has quit [(Remote host closed the connection)]
Filystyn has quit [(Quit: Konversation terminated!)]
<clever> freezeboy: this claims 7z can unpack an iso
<freezeboy> so unpack them patch everything individually, and repack
<clever> no point in repacking
<clever> just leave it unpacked in $out
<clever> the only point of the self-unpacking, is because they dont think your capable of unpacking a tar on your own
<Infinisil> Oh, now that makes sense
<clever> cdrtools.out 247,696 x /nix/store/wb8sp8nkhp8l25m2qxaar6ri0wxalry9-cdrtools-3.02a06/bin/isoinfo
<benley> anyone know if there is a trick to making avahi and libnss-mdns work correctly with the nixos firewall enabled?
<benley> it looks like it's opening udp port 5353 inbound, which is good, but I'm not sure if there are other requirements
eacameron has quit [(Remote host closed the connection)]
<clever> result/USR
<clever> freezeboy: minor problem, isoinfo doesnt support extended filenames, so everything has gone caps
<clever> ah, -J turns that on
<clever> -J Print information from Joliet extensions
<clever> bad help is bad, the "print information" option turns things on, lol
<clever> [clever@amd-nixos:/tmp/fed73810dbe7943948cb2a54923a35b1]$ file result/usr/bin/Molotov
<clever> result/usr/bin/Molotov: data
zraexy has quit [(Ping timeout: 260 seconds)]
<clever> freezeboy: yeah, its looking like the entire point of AppImage, is to do everything nix does, but worse :P
<freezeboy> so you mean this time everything is working ?
<clever> the executable i unpacked isnt a valid executable
<freezeboy> yes but for people using a bad distribution
<clever> nix works on any linux distro, and darwin
<freezeboy> well I suppose a company targeting ubuntu & classic users will not want to have a nix variant
<freezeboy> thank you for the differents tests maybe we'll find a new trick for this last problem
MP2E has quit [(Quit: brb)]
<clever> freezeboy: this is the unpacking expression i have, but i think they added some custom compression as the icing on the cake
<clever> so nothing is readable
MP2E has joined #nixos
<freezeboy> ok, I'll try from this version then
<clever> i'm trying a 3rd option now
<clever> it claims you can just run the appimage with --appimage-extract
<freezeboy> you're never giving up
<clever> but patchelf breaks things
<clever> but, there is another way, to run unpacked binaries
<clever> /nix/store/mpbivrldqncax4wg4yjrzm607i5wvlwp-molotov: error while loading shared libraries: /nix/store/mpbivrldqncax4wg4yjrzm607i5wvlwp-molotov: ELF file ABI version invalid
<freezeboy> so this time the image itself can extract its content, but it generates a content that is not able to run
<clever> i suspect that is custom compression
<clever> and it has to unpack itself with --appimage-extract
<clever> because they cant just make it easy :P
<ij> How do I find which package provides a file?
<clever> ij: nix-index is one method, which file are you looking for?
<ij> /etc/profile and the mysterious /nix/store/7911y6wkdlkj4bf76mh32rq0mq7ffvim-set-environment
<clever> ah, i have a gist on that
<clever> ij: its a combination of environment.variables and environment.extraInit
<clever> its in the nixos side of things, so its not a normal package and the normal tools wont find it
avn has quit [(Ping timeout: 258 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<ij> Ah. But if I'm interested about which specific line provides "export FOO=BAR", then I'm out of luck?
<freezeboy> bye, have fun
<clever> ij: can you give an exact example?, there are subtle clues that can reveal where it came from gist the entire set-environment file
<ij> LANG, LOCALE_ARCHIVE
<clever> ij: nvm, that exact file is in the binary cache, which exact variable are you asking about?
<clever> ah
<clever> the 1st clue, those are in the first bank of variables
<clever> which means they came from this variable
freezeboy has quit [(Quit: Konversation terminated!)]
<clever> which is a result of merging environment.variables and a couple of others
<clever> ij: and if you then grab nixpkgs for that variable, you find https://github.com/NixOS/nixpkgs/blob/release-17.03/nixos/modules/config/i18n.nix#L123-L126
<ij> Hmm, I've nixpkgs repo and I greppe all over it.
<ij> I guess I just missed.
<clever> https://nixos.org/nixos/options.html#i18n.defa this controls LANG
<clever> https://nixos.org/nixos/options.html#i18n.supportedlocales and this controls LOCALE_ARCHIVE
hiratara has quit [(Ping timeout: 246 seconds)]
<clever> and it uses this override to build a custom glibc locales package, with just the locales you selected
seanz has quit [(Quit: Leaving.)]
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
hiratara has joined #nixos
<ij> Gotcha.
noobly has joined #nixos
boomshroom has joined #nixos
<boomshroom> Hello.
<ij> Is the top-level value of configuration.nix always a function?
<clever> ij: yeah
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
<ij> What's the config and pkgs that it asks for? Are those previous top values like security, environment, boot, etc.?
<clever> ij: the top-level value of every nixos module (including configuration.nix) will return either { options = {}; config = {}; } or just { something };
<clever> ij: nixos will then inteligently merge all of the configs (and the ones lacking either) together, to create a single master config attribute
<clever> which is passed to all of them
<clever> so every module is being passed its own return value as an argument
<clever> and the pkgs argument comes from loading <nixpkgs> and passing it the config in config.nixpkgs.config
<clever> ij: and via config._modules.args, you can add any custom argument you want, which is passed to every module
<clever> that is how pkgs is being added
<noobly> so I know setting up a python enviroment in NixOS had some contreversy due to a user doing an imperitive "nix-env" install
<noobly> I'm trying to set up a scheme / racket enviroment, will nix-env -i work?
qmake has joined #nixos
<clever> noobly: i prefer baking absolute paths into everything i build, so it will work even with nix-build and ./result/bin/foo
<clever> as an example of what can go wrong, if you install nixops on ubuntu 14.04, it just fails to import modules, but the exact same nixops on 12.04 works fine
<qmake> I am trying to build a package, but do not know how to solve "called without required argument qmake"
<clever> nix-build -E 'with import <nixpkgs> {}; callPackage ./molotov.nix {}'
<clever> qmake: you must load it with callPackage, or possibly qt5.callPackage
<qmake> I call it with libsForQt5.callPackage ./qarma { };
seagreen has quit [(Quit: WeeChat 1.7.1)]
<clever> qmake: it may also not need qmake in the arguments of the file
katyucha has quit [(Ping timeout: 240 seconds)]
mellowmaroon has joined #nixos
<qmake> Other qt packages that use qmake don't do anything special and I tried qt5.qmake, and it is not part of that (which is what libsForQt5 does I assume, supply all qt dependencies of a certain version)
<mellowmaroon> Is there a way to get version 1.17.1 of rustc?
<clever> qmake: what other qt packages are you looking at?
<qmake> qt5ct
<qmake> clever: qt5ct = libsForQt5.callPackage ../tools/misc/qt5ct { };
<qmake> clever: nix-build -E 'with import <nixpkgs> { }; libsForQt5.callPackage ./. { }' (is what I am doing)
<clever> that is strange
<qmake> I also tried just adding it to my system packages, and there it also fails with the qmake argument error
<noobly> clever: if I was good enough, I would do that, ha. But I don't quite know how to "bake absolute paths"
<clever> qmake: adding things to systemPackages will never fix build errors in nix
<clever> qmake: i do see a qmake at qt59.qmake
<clever> qmake: can you gist your default.nix file?
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<clever> qmake: it looks like a recent redesign of the qt stuff in nixpkgs
<clever> it breaks on nixos-unstable, but it works on master
<clever> nix-build -E 'with import <nixpkgs> {}; libsForQt5.callPackage ./mvesua2m {}' -I nixpkgs=/home/clever/apps/nixpkgs/
ryanartecona has quit [(Quit: ryanartecona)]
<clever> qmake: with this, i can point it to a copy of master
<qmake> clever: Ahh, that explains
<clever> 22b10bac78e pkgs/top-level/all-packages.nix (Thomas Tuegel 2017-06-17 11:26:19 -0500 9754) libsForQt59 = recurseIntoAttrs (lib.makeScope qt59.newScope mkLibsForQt5);
<clever> qmake: i do see a related commit from ~9 days ago
<qmake> clever: Thanks! I will just try and see what I need to change to make it work pre-qmake
<qmake> clever: The downside of googling and searching on Github, it will be the latest. I did check the top-level declerations in 17.03 release, but not that of e.g. qt5ct on release 17.03
<clever> c816bbc8a86 (Thomas Tuegel 2017-05-17 14:26:11 -0500 1) { stdenv, fetchurl, qtbase, qtsvg, qttools, qmake }:
<clever> oh, interesting
<clever> -{ stdenv, fetchFromGitHub, fftw, libsndfile, qtbase, qtmultimedia, qmake, makeQtWrapper }:
<clever> qmake: it was using makeQtWrapper
<clever> - wrapQtProgram $out/bin/qt5ct
katyucha has joined #nixos
dalaing_ has joined #nixos
<qmake> clever: Yeah, I should now be able to build it, except for one dependency which I cannot seem to find in nixpkgs: Project ERROR: Unknown module(s) in QT: x11extras
<qmake> Arch Linux has a package for it: qt5-x11extras, but I cannot find something similar on nixpkgs, only a reference to a patch for virtualbox
<clever> nix-repl> qt56.qtx11extras
<clever> i do see a qtx11extras attribute in some of the qtxx sets
hiratara has quit [(Quit: ZNC - http://znc.in)]
<qmake> Yep... Note to self, do not use github search anymore, it sucks for these kind of searches
<clever> $ ls ~/.nix-defexpr/channels_root/nixos/
<clever> qmake: this directory contains the nixos channel for root
<clever> which is usualy what <nixpkgs> maps to
<clever> so you can grep the exact nixpkgs copy that your running against
<henrycrutcher_> Just a question for you -- has anyone sucessfully run Microsoft Word in a wine/PlayOnLinux/CrossOver/etc under any version of NixOs? Can it be done at all?
hiratara has joined #nixos
<mellowmaroon> henrycrutcher_: Haven't tried. I've found LibreOffice sufficient for my use cases
mkoenig_ has quit [(Ping timeout: 240 seconds)]
Wizek_ has joined #nixos
<Infinisil> I'm currently trying to package Eternal Terminal: https://github.com/MisterTea/EternalTCP
ambro718 has quit [(Ping timeout: 258 seconds)]
<Infinisil> But I've ran into some issues with the glog/gflags libraries
mkoenig has joined #nixos
<Infinisil> I think gflags needs to be compiled with glog support or something
<Infinisil> I've collected all relevant links here along with my default.nix file: https://mac.infinisil.io
boomshroom has quit [(Ping timeout: 260 seconds)]
<Infinisil> Compilation works no problem, but running it doesn't fully work
<Infinisil> The same problem as in issue 35 is happening: https://github.com/MisterTea/EternalTCP/issues/35
<Infinisil> And I'm currently stuck
Wizek_ has quit [(Ping timeout: 240 seconds)]
mellowmaroon has quit [(Quit: Leaving)]
noobly has quit [(Quit: Page closed)]
LnL has quit [(Quit: exit 1)]
boomshroom has joined #nixos
dalaing_ has quit [(Ping timeout: 268 seconds)]
<boomshroom> Has anyone here tried building a system with nix from scratch without NixOS itself?
LnL has joined #nixos
katyucha has quit [(Ping timeout: 268 seconds)]
<simpson> boomshroom: There's a few folks here who do non-NixOS Nix-based userspaces, usually based on nixpkgs.
<boomshroom> simpson: As in, not hosted in another distro? (I'm not playing to use it, just play around in an empty linux environment.)
<simpson> boomshroom: There's stuff like clever's https://github.com/cleverca22/not-os
<boomshroom> simpson: thank you.
telotortium has quit [(Read error: Connection reset by peer)]
telotortium has joined #nixos
<Infinisil> boomshroom: I recently heard of Triton: https://github.com/triton/triton
<qmake> clever: Thanks for all your help! I managed to build it and it works correctly ^^ (took some trial and error with copying things from other packages that used qmakeHook/makeQtWrapper, but now it works)
goibhniu has quit [(Ping timeout: 240 seconds)]
arianvp2 has quit [(Quit: arianvp2)]
erasmas has quit [(Quit: leaving)]
thc202 has quit [(Ping timeout: 260 seconds)]
athan has quit [(Ping timeout: 260 seconds)]
digitus has quit [(Quit: digitus)]
phinxy has quit [(Read error: Connection reset by peer)]
boomshroom has quit [(Quit: Page closed)]
sigmundv__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #26884: Purge stdenv cross (master...purge-stdenv-cross) https://git.io/vQGHR
NixOS_GitHub has left #nixos []
Wizek_ has joined #nixos
<pie_> anyone able to get a game pad working?
<pie_> the weird thing is all the gamepad testing tools show verything working but my gamepad isnt working with firefox or my game
<pie_> (nothing happens)
Wizek_ has quit [(Remote host closed the connection)]
MP2E has quit [(Read error: Connection reset by peer)]
jeremejevs has quit [(Quit: Connection closed for inactivity)]
Wizek_ has joined #nixos
Wizek has joined #nixos
MP2E has joined #nixos
ryanartecona has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] qknight closed pull request #26874: freeradius: 3.0.12 -> 3.0.14 (master...master) https://git.io/vQsTo
NixOS_GitHub has left #nixos []
ryantrinkle has quit [(Ping timeout: 255 seconds)]
dev1 has joined #nixos
markus1209 has joined #nixos
markus1219 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jonafato opened pull request #26885: thunderbird-bin: 52.2.0 -> 52.2.1 (master...thunderbird-bin-52.2.1) https://git.io/vQG5n
NixOS_GitHub has left #nixos []
markus1189 has quit [(Ping timeout: 260 seconds)]
markus1199 has quit [(Ping timeout: 276 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vQG5l
<NixOS_GitHub> nixpkgs/master b8bfc8d Franz Pletz: httpd: don't install suid executables into nix store
<NixOS_GitHub> nixpkgs/master 271d3f7 Franz Pletz: prometheus service: globalConfig.labels is obsolete...
NixOS_GitHub has left #nixos []
pie_ has quit [(Changing host)]
pie_ has joined #nixos
eacameron has joined #nixos
MP2E has quit [(Quit: leaving)]
ris has quit [(Ping timeout: 240 seconds)]
<Sonarpulse> what's the way to doo $out without bash?
<Sonarpulse> self referential derivation?