digitus has quit [(Quit: digitus)]
<ndowens08> weird it started downloading :)
<ndowens08> but gave curl: (22) The requested URL returned error: 404 Not Found
<ndowens08> so darn lol
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #23065: gradle: 3.3 -> 3.4 (master...gradle_3_4) https://git.io/vDxzS
ibrahims has joined #nixos
markus1209 has joined #nixos
markus1219 has joined #nixos
jensbin has quit [(Quit: Leaving)]
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vDxgt
<NixOS_GitHub> nixpkgs/master 7bb0611 Nick Novitski: vim_configurable: Add packPath option to vimrcConfig (#22776)...
AllanEspinosa has joined #nixos
<copumpkin> clever: possibly of interest to you
<clever> copumpkin: ah
markus1189 has quit [(Ping timeout: 260 seconds)]
markus1199 has quit [(Ping timeout: 268 seconds)]
<clever> copumpkin: i have used the squashfs and initrd scripts a few times
ibrahims has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #23066: oh-my-zsh: 2017-01-15 -> 2017-02-20 (master...oh_my_zsh_2017_02_20) https://git.io/vDxgZ
<clever> copumpkin: pkgs.makeInitrd is pretty equal to the others, the contents attr lets you set non-store things, like /init being a symlink to the storepath, then it just gets the entire closure automagicaly
<clever> copumpkin: but make-squashfs.nix is weird, in that it always strips the /nix/store/ path from things, and expects the FS to be mounted to /nix/store/
<clever> copumpkin: and the way you call make-squashfs.nix is also a bit odd, rather then being 2 lambda's like fetchurl and friends, its a single lamba, and it has to be called in a more specialized way
erasmas has quit [(Quit: leaving)]
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-16.09: https://git.io/vDxgh
<NixOS_GitHub> nixpkgs/release-16.09 cac0a75 Lorenzo Manacorda: Make more visible which fetch approach is best...
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23057: Backport "Make more visible which fetch approach is best" (release-16.09...fetch-cherry-pick) https://git.io/vDxUV
Acou_Bass has quit [(Quit: ZNC - http://znc.in)]
<copumpkin> weird
<copumpkin> why is it different?
<copumpkin> for good reason or just because someone else wrote it without copying & pasting the existing stuff? :)
<clever> probably the later
Acou_Bass has joined #nixos
sellout- has quit [(Quit: Leaving.)]
sellout- has joined #nixos
ibrahims has joined #nixos
<clever> copumpkin: thats a hack! lol
AllanEspinosa has quit [(Ping timeout: 240 seconds)]
Acou_Bass has quit [(Client Quit)]
nil has quit [(Ping timeout: 260 seconds)]
Acou_Bass has joined #nixos
sellout- has quit [(Ping timeout: 240 seconds)]
AllanEspinosa has joined #nixos
<clever> copumpkin: in the case of fetchurl, its a lambda that takes stdenv+curl, then it returns a 2nd lambda that wants the url+hash
nil has joined #nixos
ibrahims has quit [(Ping timeout: 260 seconds)]
Shou has quit [(Ping timeout: 255 seconds)]
fhoffmeyer has joined #nixos
_deepfire has quit [(Remote host closed the connection)]
fhoffmeyer has quit [(Ping timeout: 240 seconds)]
<copumpkin> clever: oh, sure, that makes sense
<copumpkin> the fetchurl one is probably how it should be done
<clever> yeah
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vDxaF
<NixOS_GitHub> nixpkgs/master eb688ac Mounium: pymol: init at 1.8.4 (#23007)
<clever> makeInitrd fakes the same API, by putting a wrapper function into all-packages.nix
ibrahims has joined #nixos
<copumpkin> the makeInitRd feels a little iffier since it's just adding defaults
<clever> and i dont like the idea of hiding logic inside all-packages.nix
<copumpkin> yup
<clever> you can do the same by putting the wrapper inside make-initrd.nix
<copumpkin> yeah
<copumpkin> clever: did you catch my question in the nixos-install split PR btw?
<copumpkin> not sure if you know the answer but you often do :)
<clever> *looks*
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vDxVT
<NixOS_GitHub> nixpkgs/master 361d730 Théo Zimmermann: nixos/manual/xserver: propose more alternatives
<NixOS_GitHub> nixpkgs/master 6a044f1 Jörg Thalheim: Merge pull request #23045 from Zimmi48/patch-1...
Rizy has quit [(Quit: Rizy)]
ibrahims has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23046: nixos/manual/networkmanager: add info on nm-applet (master...patch-2) https://git.io/vDNVj
<17SAAC7AW> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vDxVl
<17SAAC7AW> nixpkgs/master 0994d6a Théo Zimmermann: nixos/manual/networkmanager: add info on nm-applet
<17SAAC7AW> nixpkgs/master 27d4f8c Jörg Thalheim: Merge pull request #23046 from Zimmi48/patch-2...
<clever> copumpkin: ah, it sounds like you need to include stdenv in the runtime closure?
panostimos has left #nixos []
<copumpkin> clever: perhaps, but I didn't see anything about that in current nixos-install.sh
<copumpkin> and it's not necessarily just stdenv, right?
<copumpkin> hmm okay but I haven't changed any of that
<clever> copumpkin: because of these 2 lines, the stdenv will be in the runtime closure of the test vm sandbox, which means it wont have to download the stdenv when rebuilding things under a vm
shlevy has quit [(Ping timeout: 260 seconds)]
<MichaelRaskin> Does't exportReferencesGraph list the build-dependencies of Nix?
<copumpkin> yeah, but that isn't necessarily the full build-time closure of a nixos-rebuild
jluttine has quit [(Ping timeout: 240 seconds)]
<MichaelRaskin> When listing nixClosure in tools.nix
<copumpkin> MichaelRaskin: I thought it was just runtime
<copumpkin> MichaelRaskin: either way, I still have that part
<clever> yeah, i believe exportReferencesGraph is just runtime
<copumpkin> furthermore I even use exportReferencesGraph on system closure
shlevy has joined #nixos
<copumpkin> so my question is mostly "what have I changed that would break that?" I guess
<copumpkin> and it doesn't feel like I've changed anything that would affect what goes into the closure
<clever> copumpkin: oh, another trick nixos-install uses, NIX_OTHER_STORES and a bind-mount to /mnt/root/nix of the host nix
<copumpkin> yeah, I copied that, although it shouldn't matter too much
<clever> copumpkin: this allows the chroot env to access the entire store of the "host" (which will be the sandbox of the nix build in your case)
<copumpkin> yep
<copumpkin> I don't keep a /mnt/tmp/root though
<clever> there is a new option i was thinking of, that might play into things
<copumpkin> keep in mind that this failure is after the installed machine boots up
ibrahims has joined #nixos
<copumpkin> so none of my environment variables affect anything
<clever> i dont remember the syntax, but nix gained support to do limited operations against a storepath not at /
<copumpkin> my script has long finished executing
eacameron has quit [(Remote host closed the connection)]
<clever> ah
<copumpkin> that sounds interesting for simplifying the installer later
<copumpkin> but I mostly just want this thing to work right now :)
eacameron has joined #nixos
<clever> from what i remember, you can just tell nix-store to operate on a normal nix store, that is currently mounted at /mnt/nix/store, and it will just prepend /mnt/ to all paths when doing binary-substituion, and accessing db.sqlite
<clever> it cant do builds via that, but it can do the bulk of the operation
<clever> though maybe builds do work, via normal sandboxing?, or it can build on the host, and copy over
<copumpkin> that sounds cool
<clever> let me dig thru the source...
<clever> when nix commands are ran as root, all operations go thru an instance of LocalStore, that just directly manipulates db.sqlite and /nix/store/
<copumpkin> yeah
<copumpkin> I remember there was some sort of environment variable for the store location
<copumpkin> but it didn't seem to work for me, but perhaps I was just on an older version of nix
takle_ has joined #nixos
<clever> LocalFSStore may also be related
<clever> RemoteStore is for non-root access, proxying everything via a unix socket to nix-daemon
ibrahims has quit [(Ping timeout: 240 seconds)]
<copumpkin> I see
<ndowens08> hmm can't substituteinplace change more than one file like substituteInPlace file1 file2 --replace
slack1256 has joined #nixos
<clever> and then nix-daemon just internaly maps everything to the LocalStore instance inside itself
<clever> while applying some permission restrictions
eacameron has quit [(Ping timeout: 260 seconds)]
<clever> both of those require /nix/store to be at /nix/store/
<copumpkin> yeah
<copumpkin> any other thoughts on my build-time closure problem?
<copumpkin> I'll resume trying to debug it in a bit
<clever> BinaryCacheStore is a recent addition, that treats the binary cache as another store, allowing you to just throw copy-closure logic at it, and get substitutes
takle has quit [(Ping timeout: 260 seconds)]
<clever> class LocalStore : public LocalFSStore
pmade has joined #nixos
<copumpkin> I wonder if I'm putting the right closure into the target box...
<MichaelRaskin> I think I have actually seen machines after nixos-install needing internet connection to nixos-rebuild
<copumpkin> MichaelRaskin: but the installer test explicitly tests that
<MichaelRaskin> Maybe it got better recently
<copumpkin> my PR just broke it and I don't know why :)
<MichaelRaskin> Hm
<MichaelRaskin> Maybe if you build the system configuration outside the target, the target never needs to build anything during nixos-install?
<copumpkin> oh!
<MichaelRaskin> And in the old version it had to build the system instance and so it had to fetch stdenv?
<copumpkin> yes, of course that's it
<copumpkin> gah :)
<clever> class LocalFSStore : public virtual Store
<copumpkin> stupid
<MichaelRaskin> I just looked at the list of missing paths and tried to imagine what the graph would be
<copumpkin> :) it makes sense
<copumpkin> now I need to figure out how to fix it, since exportReferencesGraph only gives me runtime closure and I can't talk about .drvs in nix
<MichaelRaskin> drvPath?
<copumpkin> oh!
<MichaelRaskin> Which is what iso-image.nix does
<copumpkin> I'll see if that fixes it, thanks!
<copumpkin> so I'd just call exportReferencesGraph on derivation.drvPath?
<copumpkin> clever: maybe with that stuff I can kill fakechroot!
<copumpkin> I'd love to do that :)
<clever> copumpkin: yeah
* copumpkin gets it working first, then cleans it up
<MichaelRaskin> Yep, looks like that
<MichaelRaskin> Note that you will pull much more than the minimum needed
<copumpkin> how does that differ from building in the target machine?
<copumpkin> I'm thinking I'll just make it optional
ibrahims has joined #nixos
<MichaelRaskin> Well, transitive build dependencies include static bootstrap tools tarball
<copumpkin> so you can ask for a system that can rebuild itself offline
<copumpkin> MichaelRaskin: but most of the stdenv bootstrapping hoops are to remove all runtime dependencies in stdenv from bootstrap tools
<copumpkin> and isn't a build-time dependency still just pulling in the runtime dependency of the build-time dependency?
<copumpkin> or is it build-time dependencies all the way down?
<copumpkin> I guess it's the latter
<copumpkin> hmm machine# downloading ‘https://github.com/nghttp2/nghttp2/releases/download/v1.19.0/nghttp2-1.19.0.tar.bz2’... [33/1752 KiB, 31.3 KiB/s]
<copumpkin> is it weird that my runInLinuxVM seems to be able to download stuff?
* copumpkin reruns with build-use-sandbox true :)
<MichaelRaskin> For drvs it's transitive build-time dependency closure
<copumpkin> MichaelRaskin: hmm weird, why wouldn't a build-time dependency pull in the runtime dependency of the build-time dependency?
<copumpkin> if that question makes sense
<MichaelRaskin> The dependency list of a drv is the list of the drvs for the build depedndencies
<copumpkin> e.g., package X has build-time dep on Y, which has runtime dep on Z and build-time dep on Q. It seems like if I ask for package X's build-time dependencies, I should get Y and Z, but not Q
<MichaelRaskin> Now apply that recursively
<copumpkin> fair enough
<copumpkin> but when Nix is actually building stuff itself, it's smarter than that?
<MichaelRaskin> The dependency list of an output is the list of outputs needed in runtime
<copumpkin> since it doesn't always pull in bootstrap-tools.tgz
<MichaelRaskin> Wee-eell, you could just instpect the drv
<copumpkin> that's more like it
<copumpkin> machine# error: unable to download ‘http://mirror.easyname.at/nongnu/acl/acl-2.2.52.src.tar.gz’: Couldn't resolve host name (6)
ibrahims has quit [(Ping timeout: 268 seconds)]
<copumpkin> so I guess my issue now is that the host doesn't have the transitive build-time dependencies
<copumpkin> and my .drvPath runtime closure is now asking for more stuff than the host has
<copumpkin> is there no way to simulate what a Nix build would pull in?
* copumpkin will brb
jluttine has joined #nixos
<ndowens08> gchristensen: can substituteinplace be used on more than one file if replacing the same string in both?
<gchristensen> I don't thin kso
<MichaelRaskin> copumpkin: You could export a reference graph as a _graph_, I guess
<MichaelRaskin> And inspect it
<MichaelRaskin> It also looks like there are multiple modes
<MichaelRaskin> I think the format allows to find direct build dependencies and then act on their closures
<copumpkin> hmm
<copumpkin> so I'd just need to put more logic in that perl script
<MichaelRaskin> Looks like you will have both the list of drv dependencies and output (runtime) dependencies
<MichaelRaskin> But yes, manual parsing
<copumpkin> I'm still not sure what I'd look for in that format to figure out immediate build-dependencies
* copumpkin dumps one
<MichaelRaskin> You look for the drvPath in question, look for its direct dependencies, look for their outputs
<MichaelRaskin> I have a bad feeling, though
<copumpkin> why?
<MichaelRaskin> Whatever you do with the references graph, Nix won't allow writing a path into a file without first realizing the path
ibrahims has joined #nixos
<copumpkin> well, I'd be picking out a subset of the references graph of the .drvPath
<copumpkin> so I should be allowed to get it, right?
<MichaelRaskin> That will happen in the builder script
<copumpkin> hmm, maybe not
<copumpkin> yup
<MichaelRaskin> By the time you start filtering, Nix has already written that stuff into file, which means realizing
<clever> copumpkin: ok, this is part of the codepath: https://github.com/NixOS/nix/blob/master/src/libstore/store-api.cc#L692
<clever> copumpkin: and a random usage example: https://github.com/NixOS/nix/blob/master/src/nix/copy.cc#L46-L49
<MichaelRaskin> I am in CET, so I am going to get some sleep now
<clever> copumpkin: and now things turn into voodoo, nothing references any function in this file!
ibrahims has quit [(Ping timeout: 268 seconds)]
<copumpkin> MichaelRaskin: thanks for the help :)
<copumpkin> clever: :O
<copumpkin> clever: you mean nix/copy.cc?
peterhoeg has quit [(Remote host closed the connection)]
<copumpkin> that's the new nix UI
<clever> copumpkin: yeah
fhoffmeyer has joined #nixos
<NixOS_GitHub> [nixpkgs] benley closed pull request #22928: python-gflags: 2.0 -> 3.1.1 (master...python-gflags) https://git.io/vD7mu
<NixOS_GitHub> [nixpkgs] benley closed pull request #22929: python gsutil: 4.6 -> 4.22 (and dependencies) (master...gsutil) https://git.io/vD7YE
mudri has quit [(Quit: WeeChat 1.7)]
fhoffmeyer has quit [(Ping timeout: 268 seconds)]
<clever> copumpkin: isnt clear what format it wants the uri to be in
<copumpkin> for the store?
<clever> ah, examples are in the new ui gist
ibrahims has joined #nixos
<clever> and your the very first comment on the gist, lol
<Drakonis> new nix UI?
<Drakonis> exciting
<NixOS_GitHub> [nixpkgs] mrobbetts opened pull request #23067: hostapd-2.6: libressl patches. (master...hostapd_fix) https://git.io/vDx6P
<copumpkin> clever: muahaha
<copumpkin> clever: remind me of the gist URL?
<copumpkin> thanks
ibrahims has quit [(Ping timeout: 240 seconds)]
<Drakonis> oh damn
<Drakonis> the new nix interface is pretty good
<Drakonis> and will remove the nox search application
<clever> i dont see an example to copy from /nix/store to /mnt/nix/store, but i assume its in there somewhere
<clever> i saw it somewhere, months ago
<Drakonis> now nix should be capable of competing with guix in usability
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
<ndowens08> what new ui?
<Drakonis> user interface
<Drakonis> instead of dozens of separate commands
<Drakonis> its a single one
<ndowens08> i know what UI means, just seen the gist link :D
ibrahims has joined #nixos
<Drakonis> yes
<ndowens08> so when does this change come?
<copumpkin> much of it is already in nixUnstable
<Drakonis> is it?
<Drakonis> great.
<ndowens08> ah, well i am on unstable though
<ndowens08> ah, well nix install pkg isnt there yet
<ndowens08> unless i havent updated since it was released, hmm
<hodapp> hrmph, I just installed tftp-hpa but I can't figure out how NixOS is running it; it seems to be starting it automatically in some fashion
<hodapp> tftpd, that is.
<ndowens08> so glad it will be one command
<ndowens08> To who all that caused this change to happen: Thank you :D
<hodapp> because I can connect to localhost with tftp without having run in.tftpd myself.
<hodapp> but I don't see a systemd service, or anything in 'ps'
<ndowens08> hodapp: would be systemd i bet
ibrahims has quit [(Ping timeout: 260 seconds)]
<hodapp> ndowens08: but I don't see anything there.
<ndowens08> xinetd
<ndowens08> looked at the nix expression for that pkg
<hodapp> I don't know if I even have that installed
roconnor has quit [(Ping timeout: 240 seconds)]
<Drakonis> copumpkin, it certainly isn't premature to get rid of channels
<hodapp> oh, so I didn't even need to install tftpd-hpa
<hodapp> I kept finding absolutely nothing when looking up "nixos tftp"
<copumpkin> Drakonis: oh okay, I was concerned but thanks to your unjustified assertion now I'm reassured ;)
<Drakonis> i'm still writing ty
<copumpkin> :)
<Drakonis> see here though
<Drakonis> the current system of even allowing multiple channels is broken if there's disparities between root and user
<Drakonis> and if you dare to delete a channel
<Drakonis> nix-env starts to get wack
<copumpkin> oh, that's niv-env being shitty though
<copumpkin> what's wrong with having multiple channels?
<Drakonis> bugs really
<copumpkin> are they in the tracker?
<Drakonis> probably?
<copumpkin> like I pull in different versions of nixpkgs all the time
<copumpkin> and use them concurrently
<Drakonis> hm
<copumpkin> have never had any issues
<hodapp> ndowens08: thanks, that's what I needed. Why I couldn't find this prior I don't know
<Drakonis> the introduction of overlays might phase out the need
<Drakonis> so you can have the current and assorted packages
<copumpkin> I keep different projects with locked-down nixpkgs references
<copumpkin> anyway, I see nothing really making multiple channels a bad idea so far
<copumpkin> they're roughly equivalent to branches in git
<copumpkin> I need a mutable pointer into an immutable system
<copumpkin> and I want to be able to control when it gets updated
<Drakonis> hm
<Drakonis> what about using it locally?
<copumpkin> how do you mean?
<Drakonis> o boy
<Drakonis> nix query-options
<Drakonis> this will be my favorite
Sonarpulse has quit [(Ping timeout: 260 seconds)]
ibrahims has joined #nixos
ibrahims has quit [(Ping timeout: 260 seconds)]
lambdamu_ has joined #nixos
lambdamu has quit [(Read error: Connection reset by peer)]
Drakonis has quit [(Read error: Connection reset by peer)]
Drakonis_ has joined #nixos
ibrahims has joined #nixos
<copumpkin> shlevy: hi :)
ibrahims has quit [(Ping timeout: 240 seconds)]
Rotaerk has joined #nixos
fhoffmeyer has joined #nixos
seanz has quit [(Quit: Leaving.)]
MP2E has joined #nixos
mbrgm has quit [(Ping timeout: 240 seconds)]
fhoffmeyer has quit [(Ping timeout: 260 seconds)]
mbrgm has joined #nixos
phreedom has quit [(Ping timeout: 260 seconds)]
phreedom has joined #nixos
<ndowens08> Drakonis_: yup i seen that, which is gonna be nice instead of having to look at the nix file
<lambdamu_> sounds stupid, but how does one actually log into a vm created with "nixos-rebuild build-vm", that is get past the display manager, nothing works not even creating an extra user with an explict password
derjohn_mob has quit [(Ping timeout: 240 seconds)]
<lambdamu_> tried slim and lightdm
<ndowens08> lambdamu_: sounds as it isn't using the configuration file
<ndowens08> are you editing the current config or create a copy and edit it?
<lambdamu_> i did both
<lambdamu_> currently i work with a copy
<ndowens08> doing like:
ibrahims has joined #nixos
<ndowens08> NIXOS_CONFIG=CONFIG_LOCATION/configuration.nix nixos-rebuild build-vm ?
<lambdamu_> yep
<ndowens08> hmm weird, did you add or change your entry in configuration? I added extra user with mine and set password in it
<lambdamu_> NIX_PATH="" nixos-rebuild build-vm -I nixos-config="./test-config.nix" -I nixpkgs="~/devel/nixpkgs"
<lambdamu_> actually
<ndowens08> yeah that dont seem right
<lambdamu_> you mean my command?
<ndowens08> yup
roygbiv has quit [(Quit: ™)]
<ndowens08> try it like i typed it
ibrahims has quit [(Ping timeout: 240 seconds)]
<ndowens08> so be like: NIXOS_CONFIG=./test-config.nix nixos-rebuild build-vm -I nixpkgs=~/devel/nixpkgs
s33se_ has joined #nixos
hiberno has quit [(Ping timeout: 260 seconds)]
<lambdamu_> still no luck
<lambdamu_> neither with the channel nor with my checkout
<lambdamu_> actually it didn't even rebuild, so i suspect those commands are equivalent
<ndowens08> hmm it took me a little bit of playing with the command i gave you to finally get it to work
s33se has quit [(Ping timeout: 240 seconds)]
<lambdamu_> so recently it worked for you?
<ndowens08> yup something like that
<lambdamu_> can you share a config if it's not sensitive
derjohn_mob has joined #nixos
<ndowens08> give me a min, trying to see if i can verify cmd
<ndowens08> yup for the config is NIXOS_CONFIG with full path, so /home/USERNAME/configuration.nix
<lambdamu_> im pretty sure the right config is picked i can change the dm just fine e.g.
<ndowens08> one sec after i edit mine to remove password i was using to test
<lambdamu_> are you on stable, unstable or master?
<ndowens08> unstable
hiberno has joined #nixos
<lambdamu_> so something like this works for you? http://lpaste.net/2418078471822508032
<ndowens08> yup
<ndowens08> mine might look a bit diff, i use more brackets than some shows.
<lambdamu_> hm ok thanks i'll try with your config
<ndowens08> i break it down, so i could just add user w/o having to type out extra users.extraUsers
eacameron has joined #nixos
<ndowens08> lambdamu_: good luck, i got to go to bed
<lambdamu_> ndowens08: gn8 and ty
<ndowens08> lambdamu_: welcome :)
<lambdamu_> actually it works now
<lambdamu_> not really sure why
hexagoxel has quit [(Ping timeout: 260 seconds)]
Drakonis_ has quit [(Quit: Leaving)]
eacameron has quit [(Ping timeout: 240 seconds)]
sellout- has joined #nixos
hexagoxel has joined #nixos
ndowens08 has quit [(Ping timeout: 260 seconds)]
systemfault has joined #nixos
eacameron has joined #nixos
ibrahims has joined #nixos
eacameron has quit [(Ping timeout: 255 seconds)]
ibrahims has quit [(Ping timeout: 260 seconds)]
fhoffmeyer has joined #nixos
mkoenig has joined #nixos
fhoffmeyer has quit [(Ping timeout: 255 seconds)]
takle_ has quit [(Remote host closed the connection)]
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
ibrahims has joined #nixos
<NixOS_GitHub> [nix] copumpkin opened pull request #1246: Explicitly model all settings and fail on unrecognized ones (master...rework-options) https://git.io/vDxHE
alx741 has joined #nixos
ibrahims has quit [(Ping timeout: 260 seconds)]
<copumpkin> as always, I welcome feedback on the PR I just opened up there :)
mguentner has quit [(Quit: WeeChat 1.7)]
takle has joined #nixos
RchrdB has joined #nixos
eacameron has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
mguentner has joined #nixos
<srk> is there a way to prevent shell escaping for strings?
<srk> trying to use extraCommands from nixpkgs/nixos/lib/make-system-tarball.nix and I can't pass more than one command
eacameron has quit [(Ping timeout: 260 seconds)]
<copumpkin> hmm, that's unfortunate, we should probably use passAsFile on it. I'd file an issue
<copumpkin> in the meantime I guess you could make the extraCommands into a pkgs.writeScript
<copumpkin> or use && or ;
<srk> yeah, I'll sure file some when I'm done
<srk> both get escaped
<copumpkin> hmm?
<srk> && and ; won't help
<srk> it gets escaped to '&&' and ';'
<copumpkin> oh
<copumpkin> weird
<srk> I've got nixos working quite well under openvz now, few more things and I call it done :D
<copumpkin> oh cool
<copumpkin> I assume you saw the old openvz page on the wiki?
<srk> now I need a symlink from /bin/init to /init :D
<copumpkin> it looked ancient
<srk> yeah, it's far from complete as well
<srk> I'll update docs and reply to some issues regarding this
tinkyholloway has quit [(Ping timeout: 240 seconds)]
tinkyholloway has joined #nixos
eacameron has joined #nixos
<copumpkin> cool thanks!
<srk> aaa, I need to hack these last few remaining things somehow :D
<srk> can I easily override builder of make-system-tarball to use .sh file provided by me?
eacameron has quit [(Ping timeout: 260 seconds)]
lambdamu_ has quit [(Ping timeout: 240 seconds)]
ibrahims has joined #nixos
swistak35 has quit [(Ping timeout: 240 seconds)]
davidak has quit [(Quit: Leaving.)]
alx741 has quit [(Quit: alx741)]
takle has joined #nixos
systemfault has quit [(Quit: Bye!)]
mguentner has quit [(Read error: Connection reset by peer)]
ibrahims has quit [(Ping timeout: 240 seconds)]
mguentner has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
fhoffmeyer has joined #nixos
hexagoxel has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
fhoffmeyer has quit [(Ping timeout: 260 seconds)]
acarrico has joined #nixos
hexagoxel has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 268 seconds)]
takle has joined #nixos
Wizek__ has quit [(Ping timeout: 260 seconds)]
Wizek has quit [(Ping timeout: 260 seconds)]
ibrahims has joined #nixos
<pikajude> can I build the nixpkgs manual and have it in my system config somewhere
takle has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] lukego opened pull request #23069: r-modules/README.md: mention generate-shell.nix (master...R-packages-readme) https://git.io/vDxdI
ibrahims has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] lukego opened pull request #23070: r-modules: Updated according to procedure in README (BROKEN) (master...R-update-broken) https://git.io/vDxdc
Intensity has quit [(Ping timeout: 256 seconds)]
AllanEspinosa has quit [(Ping timeout: 268 seconds)]
slack1256 has quit [(Ping timeout: 240 seconds)]
systemfault has joined #nixos
takle_ has joined #nixos
takle_ has quit [(Ping timeout: 240 seconds)]
ibrahims has joined #nixos
edvorg has joined #nixos
ibrahims has quit [(Ping timeout: 240 seconds)]
uralbash has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
fhoffmeyer has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
fhoffmeyer has quit [(Ping timeout: 240 seconds)]
proteusguy has quit [(Remote host closed the connection)]
<srk> just wrote some meta magic for cloning configs http://lpaste.net/352855
uralbash has joined #nixos
ibrahims has joined #nixos
takle has joined #nixos
ibrahims has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
freusque has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vDxxZ
<NixOS_GitHub> nixpkgs/master 6166672 Tim Steinbach: oh-my-zsh: 2017-01-15 -> 2017-02-20
<NixOS_GitHub> nixpkgs/master 136ee09 Franz Pletz: Merge pull request #23066 from NeQuissimus/oh_my_zsh_2017_02_20...
MichaelRaskin has quit [(Quit: MichaelRaskin)]
ibrahims has joined #nixos
watersoul has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #23065: gradle: 3.3 -> 3.4 (master...gradle_3_4) https://git.io/vDxzS
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vDxx5
<NixOS_GitHub> nixpkgs/master bae3d0e Tom Hunger: vowpalwabbit: init at 8.3.2
Guest85325 has joined #nixos
ibrahims has quit [(Ping timeout: 240 seconds)]
justbeingglad has joined #nixos
edvorg has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
fhoffmeyer has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #8132: [WIP] NixOS Modules: Aurora Scheduler and Thermos Executor (master...aurora-module) https://git.io/vkHhc
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #8673: helper tool to track XenServer components within nixpkgs (master...upstream.xenserver_buildroot) https://git.io/vq88L
justbeingglad has left #nixos []
MercurialAlchemi has joined #nixos
fhoffmeyer has quit [(Ping timeout: 240 seconds)]
athan has joined #nixos
katyucha has quit [(Killed (verne.freenode.net (Nickname regained by services)))]
katyucha_ is now known as katyucha
katyucha_ has joined #nixos
jensens has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #12576: [WIP] linux-samus (master...linux-samus) https://git.io/vzrQ3
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #23064: rkt: 1.24.0 -> 1.25.0 (master...rkt_1_25_0) https://git.io/vDxuA
ibrahims has joined #nixos
abrar has quit [(Quit: WeeChat 1.5)]
flemming has joined #nixos
systemfault has quit [(Quit: Bye!)]
ibrahims has quit [(Ping timeout: 260 seconds)]
griff_ has joined #nixos
martinb1 has joined #nixos
martinb1 is now known as timor
proteusguy has joined #nixos
fre has joined #nixos
griff_ has quit [(Quit: griff_)]
eacameron has joined #nixos
abrar has joined #nixos
ambro718 has joined #nixos
jensens has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
ibrahims has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
ibrahims has quit [(Ping timeout: 260 seconds)]
indi_ has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
fhoffmeyer has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
ambro718 has quit [(Ping timeout: 260 seconds)]
ibrahims has joined #nixos
fhoffmeyer has quit [(Ping timeout: 260 seconds)]
jensens has quit [(Ping timeout: 240 seconds)]
<LnL> pikajude: "${config.system.build.manual.manual}/share/doc/nixos"
jgertm has joined #nixos
eacameron has joined #nixos
Itkovian has joined #nixos
ibrahims has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vDpfo
<NixOS_GitHub> nixpkgs/master 9b81dcf Franz Pletz: nixos/release-notes: fix typos
<NixOS_GitHub> nixpkgs/master 67018e7 Franz Pletz: pymol: fix evaluation...
eacameron has quit [(Ping timeout: 268 seconds)]
xeviox has joined #nixos
reinzelmann has joined #nixos
ibrahims has joined #nixos
eacameron has joined #nixos
takle has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
markus1209 has quit [(Ping timeout: 240 seconds)]
<pikajude> oh
<pikajude> config.system.build.manual.manual
<pikajude> of course!
takle has quit [(Ping timeout: 240 seconds)]
teknico has joined #nixos
ibrahims has quit [(Ping timeout: 260 seconds)]
DutchWolfie has joined #nixos
DutchWolfie has quit [(Changing host)]
DutchWolfie has joined #nixos
markus1189 has joined #nixos
ibrahims has joined #nixos
takle has joined #nixos
ibrahims has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 255 seconds)]
thc202 has joined #nixos
eacameron has joined #nixos
MercurialAlchemi has quit [(Remote host closed the connection)]
arjen-jonathan has joined #nixos
mojjo has joined #nixos
<makefu> if we only had a wiki to archive this arcane knowledge!
MercurialAlchemi has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
<pikajude> this, but unironically
<NixOS_GitHub> [nixpkgs] takikawa opened pull request #23071: ndpi: init at 1.8 (master...add-ndpi-1.8) https://git.io/vDpks
<LnL> I discovered this when trying to install the nixos manpages on darwin, not really straightforward to do
nschoe has joined #nixos
fhoffmeyer has joined #nixos
jgertm has quit [(Ping timeout: 260 seconds)]
fendor has joined #nixos
fhoffmeyer has quit [(Ping timeout: 240 seconds)]
<srk> is there a way to filter an element from a list? I'm trying to unset /run/keys somehow. boot.specialFileSystems."/run/keys" = {};
<srk> won't work
<srk> how it's done properly?
<LnL> what about = mkForce {};
<srk> oO
<srk> error: cannot coerce null to a string, at /root/nixpkgs/nixos/modules/tasks/filesystems.nix:125:66
<srk> also cannot change fsType. I would prefer to not have /run/keys at all
<srk> looks like a last piece of puzzle
athan has quit [(Quit: leaving)]
arjen-jonathan has quit [(Ping timeout: 260 seconds)]
<LnL> then you might have to use boot.specialFileSystems = mkForce (filter _ config.boot.specialFileSystems)
RchrdB has quit [(Ping timeout: 240 seconds)]
<LnL> err filterAttrs
<srk> yeah, this is confusing
chakerbenhamed has joined #nixos
<LnL> it would be nice to have a mkUndefine or something for cases like this
<srk> error: infinite recursion encountered, at /root/nixpkgs/lib/attrsets.nix:199:44
<srk> :D
<srk> boot.specialFileSystems."/run/keys" = mkForce (filterAttrs (k: v: k != "_module") config.boot.specialFileSystems);
<LnL> oh right, you can't reverence boot.specialFileSystems yet
<srk> ok..
goibhniu has joined #nixos
MarcelineVQ has quit [(Ping timeout: 260 seconds)]
MarcelineVQ has joined #nixos
MarcelineVQ has quit [(Remote host closed the connection)]
phreedom has quit [(Ping timeout: 268 seconds)]
Shou has joined #nixos
<srk> its fine during boot but causes warning during rebuild switch - mount: unknown filesystem type 'ramfs'
mkoenig has quit [(Ping timeout: 260 seconds)]
markus1219 has quit [(Ping timeout: 260 seconds)]
markus1189 has quit [(Ping timeout: 240 seconds)]
<srk> think I should just make a few pull request(s) as well
ckauhaus has joined #nixos
fendor has quit [(Quit: Page closed)]
grantwu has joined #nixos
<grantwu> Has anyone experienced stack failing with <command line>: can't load .so/.DLL for: libgmp.so (libgmp.so: cannot open shared object file: No such file or directory) for stack exec -- ghci, and stack setup failing with http://lpaste.net/8694464595516981248
Shou has quit [(Ping timeout: 260 seconds)]
samvher has joined #nixos
<samvher> Does anyone here have experience deploying nixos on amazon EC2? I was looking here: https://nixos.org/wiki/NixOS_on_Amazon_EC2 but the public AMI's link listed there is broken and it says EC2 support is a work in process, so I'm wondering if it's my best option. I've been developing a website in a virtualbox nixos machine, and I'm hoping to deploy it easily
eacameron has joined #nixos
samvher has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Ping timeout: 260 seconds)]
samvher has joined #nixos
ibrahims has joined #nixos
eacameron has joined #nixos
MarcelineVQ has joined #nixos
pi3r has joined #nixos
markus1189 has joined #nixos
mojjo has quit [(Remote host closed the connection)]
markus1199 has joined #nixos
<timor> Should pull requests always be made against master?
<dmj`> samvher: did you try to deploy it to aws?
eacameron has quit [(Ping timeout: 260 seconds)]
<dmj`> timor: "For pull-requests, please rebase onto nixpkgs master."
<samvher> dmj`: I'm still figuring out how to do all of this, I thought to deploy I would set up an EC2 instance with nixos
<dmj`> grantwu: that is an error from ghc that has been installed w/ stack. Trying installing ghc with nix, “nix-shell -p haskell.compiler.ghc802"
<timor> dmj`: thanks
<samvher> but if I have to build my own instance I'm not sure that's going to make my life easier, so I was hoping I could find something ready-made
<dmj`> timor: np
<dmj`> samvher: you won’t have to, nixops will use the AWS api to do all of that for you
<dmj`> samvher: you could try GCE instead too
<grantwu> What does nix-shell -p do? is that different than nix-env -i o.O
<samvher> ah I can use nixops for that? actually I'm not at home in nixops yet, not even sure what it does exactly
<dmj`> grantwu: if you read the man page (type /-p after you enter), it will show you that -p stands for “packages”. So this is going to put you into a shell where ghc802 is present
<samvher> I just have a nixos installation in a virtualbox environment, so I have a configuration.nix that should be relatively straightforward to move to somewhere else
<dmj`> samvher: be brave
<dmj`> nix-env -iA nixops -f ‘<nixpkgs>'
<dmj`> samvher: if you’re deploying to virtualbox, aren’t you using nixops?
<dmj`> oh I’m sorry, I read developing as deploying
<samvher> dmj`: no I just installed nixos from a disk image :)
<grantwu> Wait, so I have to install ghc with nix?
<dmj`> grantwu: why use stack if you you’re using nix
<dmj`> grantwu: nixpkgs follows LTS
<grantwu> Because I may have existing stack workflows?
Ainieco has joined #nixos
<Ainieco> hello
<dmj`> grantwu: nix workflows > stack workflows
<samvher> I'm also using stack actually
markus1189 has quit [(Ping timeout: 260 seconds)]
<Ainieco> how much time should pass from merged PR in https://github.com/NixOS/nixpkgs for the package to be available in stable nixos?
markus1199 has quit [(Ping timeout: 255 seconds)]
<dmj`> stack and cabal-install are front ends for resolving package versions. If nix handles the resolving, it pretty much obviates those tools. Nix builds haskell packages with a GHC setup script
pi3r has quit [(Quit: Nettalk6 - www.ntalk.de)]
<samvher> still if you're packaging for other people, I think most people nowadays use stack?
<dmj`> samvher: everyone uses php, doesn’t make it right does it
<dmj`> nix stores built packages into the /nix/store keeping things pure
chakerbenhamed has quit [(Ping timeout: 240 seconds)]
<dmj`> stack doesn’t have binary caches afaik, maybe they added that
<dmj`> stack also doesn’t handle system dependencies well, at all
<samvher> actually it has a nix: ... option in stack.yaml that works really well for me
<samvher> I believe you that it's nice to integrate everything into nixos
jgertm has joined #nixos
fhoffmeyer has joined #nixos
jgertm is now known as Guest94867
<dmj`> I appreciate stackage, but stack itself is just a front-end, using Cabal. Documentation, benchmarks, tests, all get run in nix too, by default
MercurialAlchemi has quit [(Remote host closed the connection)]
MercurialAlchemi has joined #nixos
<dmj`> If you only are using a single ghc, and want to use docker, stack might be a better choice. But if you have multiple ghcs and can’t use docker…
fhoffmeyer has quit [(Ping timeout: 240 seconds)]
<samvher> dmj`: do you have any advice on how to get started with nixops?
<samvher> will it be easy, given my current virtualbox configuration, to transfer that configuration to an ec2 instance?
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vDpYy
<NixOS_GitHub> nixpkgs/master 85fb29b Asumu Takikawa: ndpi: init at 1.8
<NixOS_GitHub> nixpkgs/master deec3c1 Peter Simons: Merge pull request #23071 from takikawa/add-ndpi-1.8...
ixxie has joined #nixos
<dmj`> samvher: I don’t know your config, but I’d start by reading the nixops manual, and then the nixops source
<dmj`> there is a digital ocean backend now
derjohn_mob has quit [(Ping timeout: 240 seconds)]
mkoenig has joined #nixos
samvher_ has joined #nixos
chakerbenhamed has joined #nixos
<samvher_> Hm I don't know if reading a manual and even the source is really worth it for a very simple nginx configuration
ThatDocsLady has joined #nixos
<samvher_> All I need is a single VM with nginx where I can run my executable, I'm worried nixops would be a bit overkill for that
<samvher_> interesting as it is
samvher has quit [(Ping timeout: 268 seconds)]
samvher has joined #nixos
eacameron has joined #nixos
<samvher_> Then again, this might be hopeful, https://jezenthomas.com/deploying-a-haskell-web-service-with-nix/
<samvher_> dmj`: in any case, thanks for helping
<dmj`> samvher: I’ve deployed hydra w/ nixops behind nginx
<ikwildrpepper> samvher_: you could just start a nixos ec2 server without nixops right?
eacameron has quit [(Ping timeout: 240 seconds)]
wkennington has quit [(Read error: Connection reset by peer)]
Shou has joined #nixos
<samvher_> ikwildrpepper: that was kind of what I was looking for, but I'm not sure how to start a nixos ec2 server
<samvher_> amazon doesn't seem to offer them
<samvher_> and the link here https://nixos.org/wiki/NixOS_on_Amazon_EC2 is down
<samvher_> I didn't manage to find any alternatives
<ikwildrpepper> samvher_: nixpkgs/nixos/modules/virtualisation/ec2-amis.nix has the latest ami ids
<samvher_> ikwildrpepper: ah thanks, that looks like it will be helpful
xadi has joined #nixos
<ikwildrpepper> samvher_: make sure to use an ec2 keypair that you have the ssh private key from
<ikwildrpepper> (when creating the instance)
<ikwildrpepper> otherwise you cannot log in to the machine ;)
<samvher_> right :)
mudri has joined #nixos
Itkovian_ has joined #nixos
arjen-jonathan has joined #nixos
Itkovian has quit [(Ping timeout: 268 seconds)]
takle has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
mudri has joined #nixos
Itkovian_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
fre has quit [(Ping timeout: 240 seconds)]
Itkovian has joined #nixos
proteusguy has quit [(Remote host closed the connection)]
bennofs has joined #nixos
samvher has quit [(Ping timeout: 255 seconds)]
<samvher_> dmj`: I just started looking a bit more into using nix rather than stack, and it seems a lot easier to switch than I expected + rather pleasant, thanks
<dmj`> Nice
<samvher_> I generated a shell.nix with cabal2nix, most of that seems to work fine but I'm getting different versions than stack uses - you mentioned nixpkgs follows lts, is there some way I can set my lts version?
fre has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Shou has quit [(Ping timeout: 260 seconds)]
markus1189 has joined #nixos
Shou has joined #nixos
fre2 has joined #nixos
fre2 has quit [(Client Quit)]
fre has quit [(Read error: Connection reset by peer)]
ibrahims has quit [(Ping timeout: 260 seconds)]
Itkovian has joined #nixos
ibrahims has joined #nixos
fhoffmeyer has joined #nixos
Itkovian has quit [(Client Quit)]
bara1 has quit [(Remote host closed the connection)]
lsix has joined #nixos
Itkovian has joined #nixos
bara has joined #nixos
goibhniu has quit [(Ping timeout: 260 seconds)]
Itkovian has quit [(Client Quit)]
arjen-jonathan has quit [(Quit: WeeChat 1.7)]
fhoffmeyer has quit [(Ping timeout: 255 seconds)]
deepfire has joined #nixos
<bennofs> samvher_: any given nixpkgs revision only supports a single stackage snapshot (lts release) i believe
<samvher_> bennofs: ah ok, thanks
deepfire has quit [(Ping timeout: 240 seconds)]
watersoul has joined #nixos
Itkovian has joined #nixos
tommynono111 has joined #nixos
Itkovian has quit [(Client Quit)]
<tommynono111> Hello. I just upgraded my unstable NixOS installation and I'm getting strange error, when trying to run command with sudo. Error is: sudo: /run/current-system/sw/bin/sudo must be owned by uid 0 and have the setuid bit set
<tommynono111> How should I fix this?
Itkovian has joined #nixos
goibhniu has joined #nixos
<ekleog> you can relogin ;)
<Ainieco> how much time should pass from merged PR in https://github.com/NixOS/nixpkgs for the package to be available in stable nixos?
<ekleog> it's due to the setuid update iirc, bug reported last sunday
proteusguy has joined #nixos
ibrahims has quit [(Ping timeout: 260 seconds)]
tommynono111 has quit [(Client Quit)]
<bennofs> Ainieco: stable does not generally get package updates, only security updates
<bennofs> Ainieco: so it would generally take a new stable nixos release
lsix_ has joined #nixos
lsix has quit [(Ping timeout: 260 seconds)]
wizeman has joined #nixos
ibrahims has joined #nixos
<srk> LnL: boot.specialFileSystems."/run/keys".fsType = mkForce "tmpfs";
<srk> it did work after all
<LnL> oh I thought you want it to be a special mount
peterhoeg has joined #nixos
uralbash has left #nixos []
<srk> nah, just changing it from ramfs to tmpfs is enough
<srk> so. I think there's only small issue remaining :D
<srk> which is kmsg logging attempt /bin/init: line 138: /dev/fd/62: No such file or directory
<srk> but that's not even important, everything else is working very nicely
zraexy has quit [(Ping timeout: 240 seconds)]
<Ainieco> bennofs: i see, thanks
Ainieco has quit [(Quit: leaving)]
Geraldus has joined #nixos
derjohn_mob has joined #nixos
Geraldus has quit [(Ping timeout: 240 seconds)]
<srk> alias gg='git grep'
<srk> best for nixpkgs :D
Wizek has joined #nixos
Wizek__ has joined #nixos
fhoffmeyer has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 3 new commits to 1.11-maintenance: https://git.io/vDpRR
<NixOS_GitHub> nix/1.11-maintenance 8ca944e Eelco Dolstra: Add forward compatibility with the Nix 1.12 database schema
<NixOS_GitHub> nix/1.11-maintenance 41230dd Eelco Dolstra: SSL_CERT_FILE -> NIX_SSL_CERT_FILE...
<NixOS_GitHub> nix/1.11-maintenance 142c777 Eelco Dolstra: Propagate path of CA bundle to curl child processes
markus1199 has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to 1.11-maintenance: https://git.io/vDpR0
<NixOS_GitHub> nix/1.11-maintenance 2936a8d Eelco Dolstra: Bump version
fre has joined #nixos
goibhniu has quit [(Ping timeout: 260 seconds)]
jensens has joined #nixos
fhoffmeyer has quit [(Ping timeout: 268 seconds)]
<NixOS_GitHub> [nix] edolstra closed pull request #1244: Backport SSL_CERT_FILE -> NIX_SSL_CERT_FILE (1.11-maintenance...ssl_fix) https://git.io/vDx0F
<gchristensen> good morning #NixOS
timor has quit [(Ping timeout: 260 seconds)]
mkoenig has quit [(Read error: Connection reset by peer)]
iyzsong has joined #nixos
mkoenig has joined #nixos
goibhniu has joined #nixos
athan has joined #nixos
mudri has quit [(Ping timeout: 260 seconds)]
mkoenig_ has joined #nixos
mkoenig has quit [(Ping timeout: 240 seconds)]
griff_ has joined #nixos
MP2E has quit [(Quit: sleep)]
griff_ has quit [(Client Quit)]
samvher_ has quit [(Quit: Page closed)]
ThatDocsLady is now known as ThatDocsLady_afk
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 2 new commits to master: https://git.io/vDpz5
<NixOS_GitHub> nixpkgs/master 494462e Peter Hoeg: terragrunt: 0.10.1 -> 0.10.2
<NixOS_GitHub> nixpkgs/master 409dac4 Peter Hoeg: Merge branch 'u/tg' into real_master
<LnL> morning :)
griff_ has joined #nixos
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
<gchristensen> the `xen` expression drives me batty.
<LnL> don't think I've looked at it yet, also can't enable it on my desktop because it doesn't work with uefi or something
<gchristensen> ah, yeah, I've never used it
<gchristensen> wait, oh dang, toolsGit support patches! yes!
<joepie91> is the nixos cache down for everybody or just me? Chrome gives me a "ERR_INVALID_RESPONSE"
<joepie91> (when looking at https://cache.nixos.org/ )
k0001 has quit [(Ping timeout: 240 seconds)]
<joepie91> weird, now my nixos-rebuild works fine
<lassulus> joepie91: the response from the website is normal
<lassulus> afair
<gchristensen> cache.nixos.org always 404s
<lassulus> and cache is working for me
<joepie91> it was getting the same error for some narinfo stuff though, and it got stuck on it for a while
k0001 has joined #nixos
<joepie91> "waiting 5 seconds to retry" or such, the error has since scrolled out of terminal backlog
* joepie91 attempts to reproduce
<joepie91> hm, nope, can't reproduce
<LnL> joepie91: is it going over ipv6?
<joepie91> likely, as I have native IPv6
<joepie91> but not sure
ookhoi has joined #nixos
<ookhoi> hi all, I try to build wayland enabled firefox from https://github.com/stransky/gecko-devttps://github.com/stransky/gecko-dev
<ookhoi> or, would like to
<ookhoi> the manual has gnu hello as example
<LnL> joepie91: the cache is cloudfront/s3 so it won't go down unless there's a problem with aws
<ookhoi> but firefox needs a lot of extra packages
<ookhoi> how does one determine those dependencies?
<joepie91> LnL: cloudfront? really? is this a recent thing or has it always been that way?
<LnL> but it seems like there are routing issues with ipv6 sometimes
siel has quit [(Remote host closed the connection)]
<joepie91> because I've seen some pretty poor speeds from the cache at times
<joepie91> and I'm quite sure it's not my ISP :P
siel has joined #nixos
<joepie91> (as in, sub-10mbps speeds, and I'm on 100/100 FttH)
<ookhoi> I find the .nix files for firefox in nixpkgs quite complex
<gchristensen> joepie91: it has "always" been this way
<gchristensen> at least a year?
<joepie91> hm, strange
<joepie91> then I wonder why cloudfront is performing so poorly...
* joepie91 rarely interacts with it
<LnL> ^ going over ipv4 might help
<joepie91> I mean, it's not like I'm in a poorly connected area or on a tiny or shitty ISP
<joepie91> this connection beats the crap out of most residential connections and it's peered via AMS-IX so I really doubt it
<joepie91> this connection beats the crap out of most residential connections and it's peered via AMS-IX so I really doubt it's on my ISP's end *
<joepie91> LnL: sure, but even then, I would expect Amazon to get IPv6 connectivity right :P
<joepie91> (I have no performance issues to other things over IPv6)
mitchty has quit [(Quit: No Ping reply in 180 seconds.)]
nand0p has quit [(Ping timeout: 252 seconds)]
mbrock has quit [(Ping timeout: 252 seconds)]
thoughtpolice has quit [(Ping timeout: 252 seconds)]
goodwill has quit [(Ping timeout: 252 seconds)]
taeradan_ has quit [(Quit: No Ping reply in 180 seconds.)]
<joepie91> I should do some more tests some day
<joepie91> to figure out where things are going wrong
<LnL> I would expect so, but it seems to be a trend that people with ipv6 have a poor connection to the cache
pSub has quit [(Quit: No Ping reply in 180 seconds.)]
asymmetric has quit [(Ping timeout: 252 seconds)]
c0dehero has quit [(Ping timeout: 252 seconds)]
<joepie91> LnL: come to think of it... I've noticed poor latency to static assets for some big media corps as well
mitchty has joined #nixos
<joepie91> I should look into whether they use cloudfront
edofic has quit [(Ping timeout: 252 seconds)]
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vDpV7
<NixOS_GitHub> nixpkgs/master 026cfee Frederik Rietdijk: Docs: update Python contributing guidelines
taeradan has joined #nixos
<joepie91> perhaps it really is just a cloudfront + IPv6 issue
pSub has joined #nixos
goodwill has joined #nixos
mbrock has joined #nixos
asymmetric has joined #nixos
c0dehero has joined #nixos
thoughtpolice has joined #nixos
siel has quit [(Ping timeout: 255 seconds)]
nand0p has joined #nixos
edofic has joined #nixos
johnsonav has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] volth opened pull request #23073: libguestfs: 1.29 -> 1.34 (master...libguestfs-1.34) https://git.io/vDpwn
fhoffmeyer has joined #nixos
georges-duperon has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to release-16.09: https://git.io/vDpw6
<NixOS_GitHub> nixpkgs/release-16.09 43654d3 Franz Pletz: php70: 7.0.15 -> 7.0.16...
<makefu> wow, well hidden bonus documentation in nixpkgs ( https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/python.md )
siel has joined #nixos
<makefu> since when it is markdown? i may have missed something here
<LnL> you can write sections in markdown
<jophish_> Also, hi everyone
<makefu> cool
<gchristensen> but certain people don't like that
griff_ has quit [(Quit: griff_)]
ibrahims has quit [(Ping timeout: 268 seconds)]
griff_ has joined #nixos
fhoffmeyer has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] izuk opened pull request #23074: bazel: remove dependence on buildFHSUserEnv (master...bazel) https://git.io/vDprx
<copumpkin> good morning!
<ikwildrpepper> copumpkin: morning (or afternoon here)
<copumpkin> :)
ThatDocsLady_afk is now known as ThatDocsLady
<gchristensen> hello, copumpkin, ikwildrpepper!
Wizek__ has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to master: https://git.io/vDpoO
<NixOS_GitHub> nixpkgs/master cc4919d Graham Christensen: xen: patch for XSAs: 197, 199, 207, 208, 209...
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to release-16.09: https://git.io/vDpoH
<NixOS_GitHub> nixpkgs/release-16.09 142fd06 Graham Christensen: xen: patch for XSAs: 197, 199, 207, 208, 209...
<gchristensen> ^ xen has a great XSA process, <3 them.
Wizek__ has joined #nixos
eddyb_ has joined #nixos
eddyb has quit [(Ping timeout: 252 seconds)]
tnias has quit [(Ping timeout: 252 seconds)]
eddyb_ is now known as eddyb
tnias has joined #nixos
<fpletz> gchristensen: haven't you heard? they won't publish XSA for every CVE in the future, like information leaks :/
<gchristensen> oh.
<gchristensen> well, that is annoying
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vDpK2
<NixOS_GitHub> nixpkgs/master a8bf876 Michael Raskin: kde5.applications.kig: init at 16.12.2
<NixOS_GitHub> nixpkgs/master 194d137 Michael Raskin: wireshark: patch for CVE-2017-6041
griff_ has quit [(Quit: griff_)]
<gchristensen> but their page that lists all the patches with descriptions and impact and links to patches with instructions on which ones to use: very, very well done
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to release-16.09: https://git.io/vDpKX
<NixOS_GitHub> nixpkgs/release-16.09 6e17350 Michael Raskin: wireshark: patch for CVE-2017-6041...
eacameron has joined #nixos
<joepie91> download-from-binary-cache.pl: still waiting for ‘https://cache.nixos.org/knx1jmzxhfzd0yqwr4fi08nfm5dr6p1x.narinfo’ after 5 seconds...
<fpletz> gchristensen: sorry, it's only a RFC, I read that on another site that got something wrong I guess
<joepie91> that was the error I got
<joepie91> aside from that, my connection to cache.nixos.org just slowed down massively again, down to like 10KB/sec
<gchristensen> ah, ok fpletz. well, I hope they don't
<joepie91> and I just confirmed, it's downloading over IPv4, not IPv6
<joepie91> (it has returned to its normal speed now)
<joepie91> cc LnL
<gchristensen> joepie91: where do you live?
ibrahims has joined #nixos
<joepie91> gchristensen: Dordrecht, Netherlands, and these are my traceroutes over ipv4 and ipv6: https://gist.github.com/joepie91/0a0946f732fadcac375250b19677c005
ookhoi has quit [(Quit: for another day, then :-))]
<joepie91> (had to target the .cloudfront.net for the latter since apparently there's no IPv6 records for cache.nixos.org or so? it complained at me anyway)
<gchristensen> cloudfront's availability is 99.9%
<gchristensen> and there is nothing for us to do here, unfortunately
<joepie91> right, just trying to narrow down the problem :)
<joepie91> it really does seem that the perf issue is on cloudfront's side
xeviox has quit [(Ping timeout: 260 seconds)]
<gchristensen> it probably is, 100% of it is out of our hands, cloudfront is backed by s3
<LnL> I wonder if it's related to the size of our bucket
thoughtpolice has quit [(Ping timeout: 240 seconds)]
<the-kenny> Ugh. I'm too out of the loop for c++ now. What causes our gcc to complain that 'not' isn't defined (as in if(not some_fun()) instead of if(!some_fun())) ?
<copumpkin> nah
<copumpkin> buckets get arbitrarily large
<copumpkin> niksnut: what is ours, like a TB or two?
<LnL> yeah in theory
<copumpkin> I dunno, I have some pretty big ones for work
<NixOS_GitHub> [nixpkgs] league opened pull request #23075: logisim: use better jar wrapper, closes #23068 (master...logisim-args) https://git.io/vDp6u
<LnL> copumpkin: I think it's x10
takle has quit [(Remote host closed the connection)]
<joepie91> I'd be surprised if bucket size affects this
<joepie91> like, in a naive implementation of storage it could
<joepie91> but I somehow doubt that AWS uses a naive implementation :P
<copumpkin> S3 backs most of the internet nowadays
<copumpkin> :P
<copumpkin> including much of AWS's own service
thoughtpolice has joined #nixos
chakerbenhamed has left #nixos ["WeeChat 0.4.2"]
xeviox has joined #nixos
<copumpkin> EC2, dynamodb, and S3 are the dogfood building blocks
<gchristensen> it does not
<niksnut> copumpkin: 40 TB
<joepie91> (not that I consider AWS to be a fantastically performant and high-quality service, because I *know* it isn't, but come on, they have competent techs working there... and given that scalability and integration is literally their selling point, the first thing to fix would be "bucket size affects perf")
<copumpkin> niksnut: oh wow, bigger than I thought, but it should still be able to handle that fine
<gchristensen> and our file naming scheme also avoids hot key issues that S3 can sometimes have.
mudri has joined #nixos
<gchristensen> 40TB is nothing for S3.
<copumpkin> niksnut: is logicblox getting sick of paying for that? :P
* copumpkin sends another donation to the foundation
<niksnut> the-kenny: is "not" a trigraph? I seem to remember they were removed from C++ recently
<niksnut> well, I should probably revive garbage collection for the bucket
<joepie91> ... removed? C++ removes things?
<joepie91> this is news to me :)
<the-kenny> niksnut: Yeah, it's a trigraph. I didn't know they were removed. Boost still uses them in some places, causing digikam5 to fail.
<copumpkin> ugh I forgot about paypal
<copumpkin> I hate paypal!
<niksnut> only in C++17 apparently
<copumpkin> niksnut: any progress on tax-deductible donations in the US? :) :) :)
<the-kenny> hm, maybe they enable -fno-trigraphs or something
<niksnut> according to the new S3 analytics feature, we're only accessing 1.5-2% of the bucket
<copumpkin> niksnut: oh that's cool that you can tell
<niksnut> you need to enable it
avn has joined #nixos
mudri has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] FRidh opened pull request #23076: pythonPackages.requests2: add extra dependencies (master...requests) https://git.io/vDpiP
griff_ has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #23061: pythonPackages.snakeviz: init at 0.4.1 (master...pythonPackages.snakeviz) https://git.io/vDxcZ
<NixOS_GitHub> [nixpkgs] FRidh opened pull request #23077: Python weasyprint and dependencies (master...wp) https://git.io/vDpPC
fhoffmeyer has joined #nixos
<the-kenny> Ugh. Something started passing `-fno-operator-names`
<the-kenny> something outside nixpkgs
<copumpkin> how evil
Shou has quit [(Ping timeout: 255 seconds)]
jonasfj has quit [(Ping timeout: 240 seconds)]
jonasfj has joined #nixos
<the-kenny> ...causing issues with digikam5 as it includes a boost header which uses `not`.
sheenobu has joined #nixos
sheenobu has quit [(Changing host)]
sheenobu has joined #nixos
<the-kenny> ah they even mention that in a comment
<MasseR> Has anyone got nixos to work with 2013 macbook air?
<MasseR> I'm having trouble with wireless
fhoffmeyer has quit [(Ping timeout: 240 seconds)]
sellout- has quit [(Ping timeout: 260 seconds)]
<gchristensen> MasseR: I have an 11,3, you?
<MasseR> I think so
<gchristensen> MasseR: I had to add this to my hardware-configuration.nix: https://github.com/grahamc/nixos-config/blob/master/hardware-configuration.nix#L13
<MasseR> Yeah, but I don't think I can do that when installing from usb
<copumpkin> you should be able to specify your configuration
<copumpkin> gchristensen: perhaps add that to the nixos-hardware repo?
<gchristensen> MasseR: ah, are you doing your very first installation, and unable to do a nixos-install?
<goibhniu> MasseR: have you got an android phone? You can share your wifi connection with that
<goibhniu> (over usb)
<niksnut> copumpkin: thanks for the donation :-)
rfish has joined #nixos
<copumpkin> niksnut: thanks for your tireless efforts!
<gchristensen> niksnut++
<MasseR> goibhniu: hmm
<gchristensen> MasseR: is this your first install? :)
<MasseR> gchristensen: on a mac yes :)
<gchristensen> ok, and you haven't managed to install nixos yet?
<MasseR> nope
<gchristensen> because of the wifi issue
<MasseR> yes
<gchristensen> do you have a thunderbolt to ethernet adapter?
<MasseR> I don't
<MasseR> I'm interested on goibhniu suggestion
<goibhniu> do you need a hand with that? it should connect as soon as you enable it on your phone
<MasseR> A moment
<gchristensen> ok, that is definitely worth trying, but if it doesn't, I could make a custom installer for you with that broadcom firmware already in it. this requires you trust me (but I'm fairly trustworthy: https://github.com/NixOS/nixpkgs/search?q=%22Vulnerability+Roundup%22&type=Issues&utf8=%E2%9C%93, https://github.com/NixOS/nixpkgs/commits/master?author=grahamc)
<MasseR> goibhniu: Seems I got it working
<gchristensen> yay!
<goibhniu> sweet
<goibhniu> I guess that belongs to the manual, it's handy and not entirely obvious IME
<MasseR> To be honest, I'm still very skeptical with anything related to usb and phones :)
<goibhniu> sharing files on the other hand :)
<goibhniu> KDE connect is pretty good though
georges-duperon_ has joined #nixos
sellout- has joined #nixos
<goibhniu> (but that doesn't use usb)
<MasseR> If only it worked through usb :D
ibrahims has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to master: https://git.io/vDp11
<NixOS_GitHub> nix/master b8ce649 Eelco Dolstra: Fix 32-bit RPM/Deb builds...
georges-duperon_ has quit [(Client Quit)]
iyzsong has quit [(Quit: bye)]
takle has joined #nixos
<rfish> Hello, I wanna use a program that *has to* edit the /etc/hosts. Someone told me to use buildFHSUserEnv, but the /etc/hosts is read-only inside the sandbox. Do you know why?
<copumpkin> buildFHSUserEnv I think makes things read-only
<copumpkin> there's the other one which might not be read-only but is uglier
ibrahims has joined #nixos
<rfish> copumpkin: Oh! Do you think about buildFHSChrootEnv?
<copumpkin> I think that might be it
<copumpkin> but does it really _have_ to write to /etc/hosts?
<copumpkin> patch that out :P
<copumpkin> it seems like unfriendly behavior
<rfish> copumpkin: buildFHSChrootEnv has been delete in PR#160301
<copumpkin> oh
<copumpkin> it was kinda awkward, so not necessarily a bad thing
<rfish> copumpkin: Yhea editing /etc/hosts is weird, but I don't have many choice here. The program which try to do this is a plugin for vagrant (vagrant-hostmanager)
<copumpkin> it should follow the nss-mymachines lead :P
ibrahims has quit [(Ping timeout: 240 seconds)]
<copumpkin> not that that works out of the box on NixOS unless you have nscd turned on...
avn has quit [(Ping timeout: 260 seconds)]
<rfish> copumpkin: I can make an issue on the vagrant project. But in the meanwhile, any idea to let this soft edit my /etc/hosts?
xeviox has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vDpy9
<NixOS_GitHub> nixpkgs/master a048495 Vladimír Čunát: fstrm: init at 0.3.1
Wizek__ has quit [(Ping timeout: 268 seconds)]
<copumpkin> rfish: you could make it think it's editing /etc/hosts with a separate namespace, but for that to really be useful you want it showing up in the host...
Wizek has quit [(Read error: Connection reset by peer)]
<copumpkin> which won't work because /etc/hosts is in the store in NixOS
<copumpkin> so I don't think it can work
<gchristensen> you could probably, in the fhs, delete /etc/hosts and recreate it
<copumpkin> rfish: well, you could write an nscd plugin that accepts additional /etc/hosts files and merges them into the overall view of hosts
<gchristensen> cat /etc/hosts > /etc/hosts.next; rm /etc/hosts; mv /etc/hosts.next /etc/hosts
<rfish> copumpkin: I first try to use overlayfs to do that but /etc/hosts still appear to be read-only
<copumpkin> and then write a wrapper of your program that unshares filesystem mount, bind mounts your custom file, and then informs your nss library that the other file is a /etc/hosts-alike
<rfish> gchristensen: thx, I will give it a try
<copumpkin> you can definitely move it out of the way, but any run of the activation script will put it back in place
<rfish> gchristensen: copumpkin: I try both. Thx for your help.
<copumpkin> mine sounds like quite a bit of work, tbc
<copumpkin> would probably be easier to just add an nss plugin to the upstream project :)
<rfish> copumpkin: :D
<copumpkin> domenkozar: omg travis builds for nix
<copumpkin> oh I guess it isn't a build
<copumpkin> still cool though
cpennington has joined #nixos
flemming has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] wizeman opened pull request #23078: nixos.timezone: set TZ to :/etc/localtime (master...u/fix-tz-stat) https://git.io/vDpHK
<sheenobu> winehq is pretty dead.. hrm. anyone using a gamepad with wine in NixOS?
ibrahims has joined #nixos
ckauhaus has quit [(Remote host closed the connection)]
fhoffmeyer has joined #nixos
sellout- has quit [(Ping timeout: 260 seconds)]
sellout-1 has joined #nixos
lsix_ has quit [(Quit: Konversation terminated!)]
stepcut has quit [()]
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to master: https://git.io/vDp5b
<NixOS_GitHub> nix/master fe2db1d Eelco Dolstra: Doh
fhoffmeyer has quit [(Ping timeout: 260 seconds)]
stepcut has joined #nixos
Rotaerk has quit [(Quit: Leaving)]
ibrahims has quit [(Ping timeout: 260 seconds)]
ibrahims has joined #nixos
mudri has joined #nixos
ixxie has quit [(Ping timeout: 255 seconds)]
ibrahims has quit [(Ping timeout: 260 seconds)]
ibrahims has joined #nixos
<NixOS_GitHub> [nixpkgs] sifmelcara opened pull request #23079: crystal: 0.20.5 -> 0.21.0 (master...update/crystal) https://git.io/vDpFl
deepfire has joined #nixos
ibrahims has quit [(Ping timeout: 268 seconds)]
ibrahims has joined #nixos
estewei has joined #nixos
xeviox has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 240 seconds)]
ixxie has joined #nixos
Guest85325 has quit [(Ping timeout: 255 seconds)]
erasmas has joined #nixos
Shou has joined #nixos
<gchristensen> anyone know of a way to pass initial commands to to the test runner driver? I want a way to automatically run the driver, passing `startAll; $machine->forwardPort(2223, 22);`
<copumpkin> maybe it does, hmm
<gchristensen> if `src` is `foo-*` it'll perform shell expansion in the `for` matching all the `foo-bar` `foo-baz` files
sellout-1 has quit [(Ping timeout: 240 seconds)]
<copumpkin> yup, I just wasn't sure about the ln invocation, but I guess it does
<gchristensen> ah
<gchristensen> that'll be 'ln -s foo-bar $out/etc/something/` which means ln interprets as ln -s foo-bar $out/etc/something/foo-bar
<copumpkin> yeah
fhoffmeyer has joined #nixos
sellout- has joined #nixos
ibrahims has quit [(Ping timeout: 240 seconds)]
<copumpkin> thanks :)
<gchristensen> you're welcome! `ln` was always confusing to me, until I realized it behaves identically to `cp`
<copumpkin> except for it magically using cwd if you don't provide a second argument :P
fhoffmeyer has quit [(Ping timeout: 255 seconds)]
<gchristensen> well I didn't even know that behavior existed, and `cp` doesn't do that, so :)
<copumpkin> :D
<pikajude> with good reason. why would you want it
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<gchristensen> trying to grok an expect script might be worse than perl
<NixOS_GitHub> [nixpkgs] the-kenny pushed 1 new commit to master: https://git.io/vDhvh
<NixOS_GitHub> nixpkgs/master 51134cd Moritz Ulrich: digikam5: Fix build after kde merge.
sibi has joined #nixos
deepfire has quit [(Read error: Connection reset by peer)]
avn has joined #nixos
Wizek has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to master: https://git.io/vDhJb
<NixOS_GitHub> nix/master f023f64 Eelco Dolstra: RemoteStore::addToStore(): Pass content-addressability assertion...
<savanni> A hopefully short question: do any of you know how to add the canon printer drivers to the printing configuration? I can see the drivers sitting in the package tree, but don't know the address to them.
<NixOS_GitHub> [nixpkgs] nixy opened pull request #23080: linode-cli: init at 1.4.7 (master...init/linode-cli) https://git.io/vDhUI
<gchristensen> savanni: I never bothered to figure out how :(, since I could lean on my wife's computer :(
<savanni> Hmmm.
<savanni> The office printer is a Canon and is the only printer I've access to.
<savanni> Although I can always try the generic drivers.
arjen-jonathan has joined #nixos
Shou has quit [(Ping timeout: 260 seconds)]
<savanni> makefu: That says Samsung. Would that work for Canon?
<makefu> just replace it with your driver
<savanni> I'm searching for the path to the driver. That's the problem.
<makefu> nix-env -qaP | grep -i canon
<savanni> no results
<makefu> where have you found it then?
endformationage has joined #nixos
<makefu> `canon-cups-ufr2` i have here
<savanni> Weird, now it's appearing. I must have typed commands wrong.
<savanni> Sorry. Thank you, makefu.
<gchristensen> makefu++
<makefu> no problem :)
<gchristensen> makefu: would you mind submitting some docs for that?
* makefu is suppressing the urge to ask for a wiki
<gchristensen> hehe
<makefu> sure, where would be the best place
fre has quit [(Quit: WeeChat 1.7)]
<gchristensen> not sure ... maybe write some docs in markdown, submit an issue, and tag @vcunat, asking him to convert to docbook
<copumpkin> niksnut: any opinion on the warn-on-deprecated, barf-on-nonsense option?
<copumpkin> given that we haven't deprecated anything yet, this PR wouldn't do that, but I could easily add a list of deprecated things for future use
griff_ has quit [(Quit: griff_)]
<makefu> gchristensen: something like this https://nixos.org/wiki/Printers ?
<gchristensen> :| very similar yes
<gchristensen> nevermind :) thank you
<NixOS_GitHub> [nixpkgs] Kendos-Kenlen opened pull request #23081: Rubymine (master...rubymine) https://git.io/vDhLG
reinzelmann has quit [(Quit: Leaving)]
xadi has quit [(Ping timeout: 240 seconds)]
griff_ has joined #nixos
xadi has joined #nixos
roconnor has joined #nixos
fhoffmeyer has joined #nixos
<NixOS_GitHub> [nixpkgs] gebner pushed 1 new commit to master: https://git.io/vDhO6
<NixOS_GitHub> nixpkgs/master b66ec60 Gabriel Ebner: idris: jailbreak...
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vDhOi
<NixOS_GitHub> nixpkgs/staging 2f1945d Vladimír Čunát: python-3.6: fix random numbers with glibc-2.25...
Shou has joined #nixos
<wrl> hey can nixos do multilib systems? i.e. 64bit but has the requisite 32bit libs for running 32 bit binaries
fhoffmeyer has quit [(Ping timeout: 240 seconds)]
<simpson> wrl: Yes.
<wrl> simpson: are there any docs on that?
<simpson> Well, only amd64 + i686 AFAIK.
<wrl> that's my usecase so
<simpson> I can't wait for the days when we want to have multilib ARM. That'll be "fun".
<savanni> Well, on the print escapade, I got past the point of error messages. But then nothing actually got to the printer. :(
sellout- has quit [(Quit: Leaving.)]
<simpson> wrl: Generally packages will depend on the correct multilibs as needed. There's a few options in configuration.nix for setting up 32-bit GL libraries.
<goibhniu> wrl: are you looking for callPackage_i686? ... e.g. skype uses that
xadi has quit [(Quit: Leaving.)]
xadi has joined #nixos
simendsjo has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vDhGY
<NixOS_GitHub> nixpkgs/staging d6cff57 Vladimír Čunát: gnutls: drop -lunistring on Darwin as well...
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vDhGZ
<NixOS_GitHub> nixpkgs/staging 145d3ea Vladimír Čunát: Merge branch 'master' into staging
digitus has joined #nixos
sellout- has joined #nixos
zraexy has joined #nixos
FRidh has joined #nixos
<FRidh> Anyone has a regex for extracting the name part of the name from a Nix expression?
Guest94867 has quit [(Ping timeout: 260 seconds)]
<ronny> FRidh: you mean a derivation?
<simpson> FRidh: I assume that this is tricky because you want to greedily gobble hyphens in package names?
<FRidh> simpson: for now I consider the one derivation per file case
<gchristensen> FRidh: there is a builtin for it, will that do?
<FRidh> gchristensen: nope, its for modifying Nix expressions (with Python)
<gchristensen> oh fancy
ibrahims has joined #nixos
ambro718 has joined #nixos
<FRidh> if we don't want to have a src.json then, well...
ryanartecona has joined #nixos
<gchristensen> one sec
avn_ has joined #nixos
<gchristensen> how about this, FRidh http://tinyurl.com/zrhmtcq (tinyurl because the url is super long)
wak-work has quit [(Ping timeout: 245 seconds)]
<LnL> FRidh: like builtins.parseDrvName?
<gchristensen> I think for modifying the code
<FRidh> gchristensen: that should work I think, thank you
<gchristensen> great :)
<FRidh> LnL: it's for in-place modifying name, version and sha256
<FRidh> gchristensen: could use one refinement though...getting rid of newlines :)
<gchristensen> oh?
cpennington has quit [(Ping timeout: 240 seconds)]
<FRidh> gchristensen: I got out '\n name = "pycryptodome-${version}";'
<gchristensen> FRidh: try ^\s*name\s+=\s+"(?P<name>.*)"; instead
<gchristensen> (the \s+ at the beginning was changed to \s* to account for name lines with no leading space, and the ^ anchors it to the beginning of a line) also you may need to add the multi-line flag to the python code?
<FRidh> that was using text[slice(*re.compile('\s+name\s+=\s+"(?P<name>.*)";').search(text).span())]
<FRidh> gchristensen: using your new regex with re.MULTILINE removes the \n, that's good. There's some whitespace left though
<FRidh> actually, it doesn't work anymore
<gchristensen> well you could remove the ^\s* and see where that gets you
<FRidh> is there a "ignore everything until you see" ?
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to staging: https://git.io/vDhWm
<NixOS_GitHub> nixpkgs/staging b1c6a9b Tim Steinbach: curl: 7.52.1 -> 7.53.0
<NixOS_GitHub> nixpkgs/staging ebf7828 Vladimír Čunát: Merge #23063: curl: 7.52.1 -> 7.53.0
<FRidh> can also just cheat and use search with the regex per line
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-16.09: https://git.io/vDhW2
<NixOS_GitHub> nixpkgs/release-16.09 6fcd2d2 Tim Steinbach: curl: 7.52.1 -> 7.53.0 (#23063)...
<gchristensen> thaht'll be what happens if you remove the ^\s,which is saying "Start at the beginning (^)" and then "probably some whitespace (\s* means expect a whitespace character (\s) zero or more times (*))
wak-work has joined #nixos
[0x4A6F] has joined #nixos
cpennington has joined #nixos
danharaj has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vDhl6
<NixOS_GitHub> nixpkgs/master 838e29d Vladimír Čunát: Merge branch 'staging'...
Sonarpulse has joined #nixos
ibrahims has quit [(Ping timeout: 240 seconds)]
rfish has quit [(Remote host closed the connection)]
ibrahims has joined #nixos
flemming has joined #nixos
Shou has quit [(Ping timeout: 240 seconds)]
fhoffmeyer has joined #nixos
teknico has left #nixos []
arjen-jonathan has quit [(Ping timeout: 260 seconds)]
mkoenig_ has quit [(Read error: Connection reset by peer)]
<copumpkin> domenkozar: btw, hercules is exciting :)
fhoffmeyer has quit [(Ping timeout: 240 seconds)]
<LnL> what's the state of hercules?
<copumpkin> I dunno, it seems to be progressing
avn_ has quit [(Ping timeout: 260 seconds)]
nschoe has quit [(Quit: Program. Terminated.)]
<domenkozar> really really early stage :)
davidak has joined #nixos
mkoenig has joined #nixos
griff_ has quit [(Ping timeout: 240 seconds)]
<jophish_> copumpkin: It's not a thing yet!
flemming has quit [(Ping timeout: 240 seconds)]
<domenkozar> jophish_: is currently rocking that stage, but I expect to be able to contribute more in a month
<eacameron> LnL: I'm trying to use your nix-docker repo but I can't figure out how to SSH in for the first time to swap out the keys.
<eacameron> LnL: readme says "chmod 600 ssh/insecure_rsa" but I'm not sure where that file is...
<eacameron> LnL: Oh silly me...it's in the repo
hotfuzz has joined #nixos
<garbas> oh shit i didn't ran the spell checker, huh
<FRidh> gchristensen: this is funny...if I copy the nix expression in pytex, it matches. But if I read the expression with open(...,'r').read() it won't match...
hotfuzz_ has quit [(Ping timeout: 268 seconds)]
<copumpkin> garbas: yay, thanks. Is there a twitter account I can retweet that tweets these?
<bennofs> I'm getting 500 internal server error frm cloudfront
<bennofs> Is this some cache invalidation issue perhaps?
<garbas> copumpkin: it should get retweeted via @nixos_org once rss gets picked up
<copumpkin> garbas: cool
zetok has joined #nixos
ertes has quit [(Ping timeout: 255 seconds)]
<copumpkin> jophish_: so I shouldn't talk about it :)
layus_ has joined #nixos
<bennofs> wow, now I get a 404 for the same request
<eacameron> garbas: Hah...had no idea people actually saw my twitter post about the Louisville Haskell meetup talk on Nix.
<domenkozar> bennofs: did you see my nix-channelstatus project? :)
<garbas> eacameron: i see everything :)
<eacameron> garbas: Apparently!
<bennofs> domenkozar: yeah, took a look at it. I'm working on nixpkgs-locate more as a project to learn a bit about rust, so your project will probably be usable much sooner ;)
<FRidh> gchristensen: nevermind. Had to use .fromall instead of .search
<gchristensen> ah :)
layus has quit [(Ping timeout: 240 seconds)]
<domenkozar> bennofs: oh it's usable already, just need to find time to create nixos module for it
<bennofs> domenkozar: also, I want to experiment with compressing the index a bit
<domenkozar> oh yeah it's 1GB stored in postgresql
<domenkozar> need to look into that as well
<bennofs> domenkozar: my plain-text path list is 200MB
<domenkozar> yeah this is with indexes, etc
<domenkozar> and not normalized
griff_ has joined #nixos
<bennofs> domenkozar: locate-db style (front-compressed, i.e. shared prefix are encoded efficiently) is ~50MB. XZ compressed is 10MB
<domenkozar> bennofs: I want to be able to search libs
<domenkozar> and then magically try out autopatchelf implementation
<domenkozar> that would parse ldd output and figure out packages on it's own
<bennofs> domenkozar: I want to try some custom compression, like encoding common directory names shorter (there's probably a lot of "share" in there :)
<bennofs> domenkozar: it would be really nice if store-paths.xz included the hydra job name :/
<bennofs> domenkozar: I'm using nix-env -qaP --no-name --out-path --xml right now to get store path + nixpkgs attribute
<domenkozar> bennofs: yeah I have to add that, basically you have to evaluate everything
<domenkozar> indeed
<domenkozar> that's still missing for my implementation
<bennofs> but that gives ~12k paths, while store paths is about 36k
<jophish_> copumpkin: I'll want you to shout about it when it hits 1.0 :)
<copumpkin> will do :)
<domenkozar> bennofs: hydra uses special evaluator
<domenkozar> copumpkin: you can shout out to those willing to help :)
<copumpkin> I think there are a few things that are currently in hydra but should be in Nix
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vDhu7
<NixOS_GitHub> nixpkgs/master f5eea8b Vladimír Čunát: libevent: apply security patches from Debian...
<bennofs> domenkozar: which makes about sense, since we build for 3 architectures
<copumpkin> domenkozar, jophish_: one thing I think this would benefit greatly from in the readme would be a "why we're doing this". Since everyone's first question is going to be "isn't Hydra already that? Why make another one?"
<copumpkin> tbc, I want it myself and have plenty of motivations for wanting this over Hydra, but it might not always be clear
<domenkozar> copumpkin: indeed
<domenkozar> copumpkin: will add :)
<copumpkin> thanks :)
<jophish_> thanks for the idea copumpkin :)
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-16.09: https://git.io/vDhzg
<NixOS_GitHub> nixpkgs/release-16.09 3de44ca Vladimír Čunát: libevent: apply security patches from Debian...
goibhniu has quit [(Ping timeout: 240 seconds)]
<jophish_> I'm doing it *because* I maintain a hydra server, hehe
<copumpkin> :P
<domenkozar> I maintain three..
Guest94867 has joined #nixos
Guest94867 is now known as jgertm
<LnL> eacameron: did you get it working?
<eacameron> LnL: I'm trying now. My goal is to write a script that sets up a build slave with a single command. I have users/clients that don't know the first thing about nix but they use macOS and need to build stuff.
<eacameron> LnL: And unfortunately nixops refuses to build things on virtualbox even if the machine is fully functional...
<NixOS_GitHub> [nixpkgs] fadenb opened pull request #23082: graylog: update + module plugin support (master...graylog_update) https://git.io/vDhg1
derjohn_mob has quit [(Ping timeout: 260 seconds)]
<LnL> making it easier to build linux packages on darwin was one of the reasons that I made the image
<eacameron> LnL: Your work is very much appreciated. :D
jensens has quit [(Ping timeout: 260 seconds)]
<eacameron> LnL: Why do you need to set up a signing keypair even though the docker image is running builds as root?
<LnL> don't remember exactly
<LnL> but I think it's needed because osx has a single user install by default
<LnL> so the store there is owned by the current user
sheenobu has quit [(Quit: Leaving)]
<eacameron> LnL: I'll try it without and see how it goes.
[0x4A6F] has quit [(Ping timeout: 260 seconds)]
<eacameron> LnL: I've been able to avoid it with my vbox-build-slave setup.
<eacameron> LnL: But I think using Docker would be a much better experience.
<jack[m]1> eacameron: I've been pondering a libvirt arm build slave..
<eacameron> jack[m]1: Interesting. For building on ARM?
<LnL> debugging remote builders is hard, it might work fine without and I thought that was what fixed it
ibrahims has quit [(Ping timeout: 240 seconds)]
<jack[m]1> eacameron; for building rpi images and such.
ambro718 has quit [(Ping timeout: 240 seconds)]
nckx has quit [(Quit: ☭ + 🐧 + GNU Guix <https://gnu.org/s/guix>)]
<eacameron> jack[m]1: Ah neat
ibrahims has joined #nixos
nckx has joined #nixos
<eacameron> LnL: Your readme mentions ~/.ssh_config. Is that a typo? Shouldn't it be ~/.ssh/config?
<LnL> yeah that's a typo
mudri has quit [(Ping timeout: 268 seconds)]
[0x4A6F] has joined #nixos
fhoffmeyer has joined #nixos
sheenobu has joined #nixos
Ivanych has quit [(Ping timeout: 260 seconds)]
<sheenobu> how would i take a complex package (wine) and turn it into an env for developing on wine?
<sheenobu> i wouldn't mind just making src point to my local copy of the wine source but i worry about full recompilations for every change
Ivanych has joined #nixos
fhoffmeyer has quit [(Ping timeout: 255 seconds)]
MichaelRaskin has joined #nixos
bennofs has quit [(Ping timeout: 255 seconds)]
<Ralith> `nix-shell '<nixpkgs>' -A wine` I think
arjen-jonathan has joined #nixos
<Ralith> then manually hack on wine as you would usually
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vDhou
<NixOS_GitHub> nixpkgs/master de4643e Frederik Rietdijk: diffoscope: 63 -> 77
avn_ has joined #nixos
<sheenobu> Ralith. you are correct, thanks. I realize now the manpage has it
<hyper_ch> domenkozar: http://seclists.org/oss-sec/2017/q1/471 how does nixos build the kernel?
<gchristensen> I've been eyeing that, no idea how we stand
<ekleog> dccp is =m, so vulnerable
<ekleog> (cf. gunzip /proc/config.gz)
griff__ has joined #nixos
<LnL> mass rebuild day, feels like it's been a while
<gchristensen> LnL: what'd you find?
<LnL> dunno, my hydra is rebuilding the world
griff_ has quit [(Ping timeout: 255 seconds)]
griff__ is now known as griff_
<ekleog> I guess removing DCCP wouldn't break anything, though
<ekleog> (it's an alternative to TCP/UDP/ICMP that I've never heard being used, fwiw)
<gchristensen> hmm
<gchristensen> sounds good for unstable, not sure I'm +1 on turning it off on stable though
<ekleog> (that said, cherrypicking the commit works too, but it's still a huge pile of mostly unused code)
DutchWolfie has quit [(Quit: Konversation terminated!)]
<LnL> gchristensen: might be libevent
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vDh6d
<NixOS_GitHub> nixpkgs/staging 753c18e Vladimír Čunát: Merge branch 'master' into staging...
griff_ has quit [(Quit: griff_)]
<gchristensen> nice
bennofs has joined #nixos
reinzelmann has joined #nixos
<manveru> deploying via nixops on osx still needs docker, right? :|
<LnL> nixops will bootstrap the builds when deploying to virtualbox
<manveru> well, i want to deploy to hetzner
proteus-guy has joined #nixos
<manveru> when will they finally allow installing nixos on their machines without jumping through hoops :P
<LnL> then you need to setup a remote builder
<NixOS_GitHub> [nix] veprbl opened pull request #1247: use --cacert instead of --capath (1.11-maintenance...ssl_fix2) https://git.io/vDhPm
<manveru> i was afraid you'd say that... is remote building any simpler now than last year
proteusguy has quit [(Ping timeout: 240 seconds)]
sheenobu has quit [(Quit: Leaving)]
<manveru> well, actually i think it's easier if i just install nixos on hetzner and manage via configuration.nix since it's only one machine
<manveru> what was the name of the new nixos infect script?
<gchristensen> manveru: if you have a virtualbox vm in your network, it'll use the vbox vm automatically
<gchristensen> not great / ideal, but easy
<LnL> that reminds me, I should redeploy to update my redis instance
<manveru> nixos-assimilate i think
<philipp[m]> I try to get an owncloud running (just to get out the contacts and calendars via DAV, so it doesn't have to be pretty) I've set this up as my nginx config http://pastebin.ca/3770877 oc keeps telling me that it can't write in the config directory but that is owned by nginx.
<LnL> manveru: you can do a manual install on hetzner
<NixOS_GitHub> [nix] edolstra pushed 2 new commits to 1.11-maintenance: https://git.io/vDhXZ
<NixOS_GitHub> nix/1.11-maintenance 06b46f6 Dmitry Kalinkin: use --cacert instead of --capath...
<NixOS_GitHub> nix/1.11-maintenance 697b575 Eelco Dolstra: Merge pull request #1247 from veprbl/ssl_fix2...
<NixOS_GitHub> [nix] edolstra closed pull request #1247: use --cacert instead of --capath (1.11-maintenance...ssl_fix2) https://git.io/vDhPm
<manveru> LnL: via installimage ?
<LnL> that bootloader warning is starting to annoy me
<LnL> with the recovery machine, or whatever they call it
fhoffmeyer has joined #nixos
<pmade> What's the best way do "install" a modular configuration.nix setup? Right now I have a makefile that installs all my *.nix files into /etc/nixos but that feels dirty. Is there a good way to put all my files into the store? What are others doing?
<philipp[m]> I have a git repo with configuration.nix in .gitignore. Then I add a folder for each of my machines with their config in it. Most of that config then gets pulled again from a few shared folders.
<LnL> you could make a profile for it :p
bfrog has joined #nixos
<eacameron> LnL: Sweet, my script seems to be working.
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
<pmade> philipp[m]: So you dynamically build configuration.nix and install taht?
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vDhMm
<NixOS_GitHub> nixpkgs/master cb6d155 Vincent Laporte: ocamlPackages.mparser: init at 1.2.1...
ixxie has quit [(Ping timeout: 240 seconds)]
<pmade> LnL: interesting idea of using a nix profile. I'll have to read up on them.
katyucha is now known as Guest14298
Guest14298 has quit [(Killed (cherryh.freenode.net (Nickname regained by services)))]
katyucha_ is now known as katyucha
katyucha_ has joined #nixos
<LnL> eacameron: cool! might be nice to include in the repo if you want to create a pr
xeviox has quit [(Ping timeout: 255 seconds)]
<LnL> pmade: you could use fetchgit and nix-env --profile to manage your configuration and you'd get rollbacks for free :D
<pmade> Pretty interesting. Would that allow me to also keep configuration.nix in the profile?
<eacameron> LnL: Sure, if you like it, it makes more sense tightly coupled with your repo anyway.
<LnL> pmade: yes, use a nix expression to download a repository with your configuration.nix and manage it with nix-env
<LnL> and just update your NIX_PATH or symlink /etc/nixos to that profile
<pmade> LnL: very interesting.
<pmade> Thanks. Makes a lot of sense.
<LnL> guess I have a new project for the weekend :)
Wizek_ has joined #nixos
JagaJaga has joined #nixos
arjen-jonathan has quit [(Ping timeout: 240 seconds)]
<pmade> LnL: Thanks. I guess I have some code to read now ;)
mudri has joined #nixos
<manveru> gchristensen: how's the vbox supposed to work?
<gchristensen> manveru: just create it in your network.nix just like you were using nixops to deploy to it
<gchristensen> it should start vbox, do all the building in that vbox, even for the hetzner
nh2 has joined #nixos
<manveru> do you have an example? i don't understand :(
<gchristensen> which part?
<manveru> i can't even `nix-env -i nixops`
<gchristensen> wait, what?
<LnL> gchristensen: oh like that, I was wondering how nixops would magically find the virtualbox machine
<nh2> when I use the remote build feature (NIX_BUILD_HOOK + NIX_REMOTE_SYSTEMS), the remote system doesn't build in parallel (but the local one does if I don't set the build hook) -- any idea why or what I could do about it?
<gchristensen> LnL: :)
<manveru> gchristensen: it fails on pyjwt
<manveru> `E AttributeError: 'module' object has no attribute '_RSAobj'`
<gchristensen> well that is broken
derjohn_mob has joined #nixos
<copumpkin> garbas: it made it to @nixos_org, but the format doesn't make it clear what it is. The tweet just says #03 - Title
arjen-jonathan has joined #nixos
<garbas> ikwildrpepper: ^^^ we have some problems with weekly -> twitter automation
<garbas> copumpkin: until then here is my tweet -> https://twitter.com/garbas/status/834453400901341184
<philipp[m]> So, nobody here has got a nginx running?
<copumpkin> garbas: thanks!
<garbas> copumpkin: actually, it looks fine here
<simpson> philipp[m]: I have nginx running, but that's probably not helpful to you.
<copumpkin> garbas: yeah all I'm saying is that the tweet says very little about what it is
<garbas> copumpkin: ah right ... it should say NixOS weekly somewhere
<copumpkin> yeah
<copumpkin> more likely to get eyeballs if people know what it is
<copumpkin> or you can adopt a more clickbaity title :D
<gchristensen> garbas: "Sometimes we froget" -> "Sometimes we forget
<garbas> ikwildrpepper: could we squeeze somewhere "NixOS Weekly" to make it more clear what is the source
<copumpkin> "you won't believe what's happening in #nixos this week"
<copumpkin> "10 things you'd never guess the #nixos contributors are adding this week"
<gchristensen> haha
<philipp[m]> simpson: sorry, forgot to mention the oc.
<copumpkin> philipp[m]: https://en.wikipedia.org/wiki/The_O.C. ?
<gchristensen> garbas: this is a beautiful summary
<simpson> garbas: I liked that blog post about reproducible papers.
<garbas> gchristensen: tnx. i'll fix error later this evening (before i send the emails out)
ibrahims has quit [(Ping timeout: 268 seconds)]
<garbas> simpson: yeah, that could be a real niche for nix. science needs nix :)
<srhb> copumpkin: Combine them all! You won't believe how NixOS changed this week with this secret trick that will change your life.
<copumpkin> srhb: "Doctors hate it!"
<srhb> :D
<philipp[m]> copumpkin: OwnCloud ;)
<copumpkin> aha, makes a little more sense
<copumpkin> gchristensen, garbas: perhaps froget is the french spelling
<copumpkin> italian: formaggio -> french: fromage
<gchristensen> hehe
<NixOS_GitHub> [nixpkgs] zraexy opened pull request #23084: lynx: 2.8.8rel.2 -> 2.8.9dev.11 (master...lynx) https://git.io/vDhQ1
<philipp[m]> Ah, the Answer is: Don't change anything. Owncloud will work after you wait a few minutes. It's a weird piece of software.
ryanartecona has quit [(Quit: ryanartecona)]
cpennington has quit [(Ping timeout: 260 seconds)]
nh2 has quit [(Ping timeout: 260 seconds)]
xadi has quit [(Quit: Leaving.)]
justbeingglad has joined #nixos
<copumpkin> anyone have feedback on this? https://github.com/NixOS/nix/pull/1246
reinzelmann has quit [(Quit: Leaving)]
Sonarpulse has quit [(Ping timeout: 260 seconds)]
phreedom has joined #nixos
<ikwildrpepper> garbas: froget -> forget (in #03)
cpennington has joined #nixos
copumpkin is now known as ikwilclubmate
<ikwilclubmate> ikwildrpepper: o/
* gchristensen is now known as ikwilpolarseltzer
<ikwildrpepper> garbas: updated the integration to prefix with NixOS Weekly:
<NixOS_GitHub> [nixpkgs] badi opened pull request #23085: super-user-spark: update, switch to haskellPackages LTS 8.x GHC 8.0.2 (master...super-user-spark) https://git.io/vDhdh
<garbas> ikwildrpepper: +1, will fix the typo later this evening (before i send out email)
* ikwildrpepper high fives with ikwilclubmate
kampfschlaefer has joined #nixos
<NixOS_GitHub> [nixpkgs] phi-gamma closed pull request #22812: afio: init at 2.5.1 (master...afio) https://git.io/vDXtY
<ikwildrpepper> garbas: excellent work on NixOS weekly btw
<zraexy> garbas: I -> If (under Editor's corner)
<gchristensen> yes, most excellent
ikwilclubmate is now known as copumpkin
nh2 has joined #nixos
<nh2> in my own packages, how do I check whether enableParallelBuilding is set in the nix language?
<nh2> I see the example in the generic builder, but that one evaluates it in bash, not in nix
<nh2> so it can just use $enableParallelBuilding and have it evaluate to "" when it's not set
<nh2> but how can I do the same in nix language? Something like `optionalString` but dealing with the fact when it's not set at all
bennofs1 has joined #nixos
bennofs has quit [(Ping timeout: 255 seconds)]
<eacameron> Anyone else having an issue building xdebug for PHP? It's failing for me with a version of nixpkgs from, yesterday or so.
<eacameron> I wonder if it's been broken since the upgrade to 7.1
<zraexy> garbas: days -> day (Also under Editor's corner)
<zraexy> garbas: I would personally rephrase it as: "this newsletter is coming out 2 days late"
avn_ has quit [(Ping timeout: 255 seconds)]
AllanEspinosa has joined #nixos
ndowens08 has joined #nixos
<ndowens08> Mic92: Hey you here?
Itkovian has joined #nixos
<Mic92> ndowens08: yes
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #23087: compress-man-pages: skip compressed man pages (staging...compress-man-pages) https://git.io/vDhAn
<ndowens08> hey on the sway module, can we create a new category for wayland services; since eventually I THINK will become more of a thing?
<Mic92> ndowens08: yes. that sounds reasonable and was also proposed in the other pull request.
<nwspk> I just compiled LibreOffice for 5 hours and had the strangest Gentoo-feel
<nwspk> Is there a reason for not distributing binary packets?
<ndowens08> Mic92: ah ok, so maybe modules/services/wayland-compositor ?
<Mic92> nwspk: we do!
<Mic92> I never compiled libreoffice
<nwspk> Mic92: oh… where do I find it?
<nwspk> I just installed the nixos.libreoffice-fresh packet and it downloaded the source
<Mic92> nwspk: what version of nixos do you use
justbeingglad has quit [(Quit: Leaving.)]
<nwspk> Mic92: 16.09.1694.019dcc3 (Flounder)
justbeingglad has joined #nixos
<nwspk> Mic92: downloaded and installed today
grantwu has left #nixos ["WeeChat 1.5"]
<nwspk> so sorry for being a stupid newbe :>
<gchristensen> nwspk: it is fine! :) I think `fresh` isn't compiled by our build farm for stable, right now, which is why you needed to compile it.
<gchristensen> I think the `still` variant is, though? and soon, the `fresh` will be
<nwspk> the declaration of the other packet seemed analog in my eyes
justbeingglad has left #nixos []
<nwspk> both seem to download the source and have to compile it
<gchristensen> sorry?
<Mic92> nwspk: one option. Starting with wayland are compositors really bound to wayland?
<Mic92> oh wrong person
<Mic92> ndowens08: one option. Starting with wayland are compositors really bound to wayland?
<nwspk> Mic92: no problem; however, if I get your question right, you can see compositors for wayland as wms for x
<ndowens08> Mic92: i decided that services/wayland/compositor might be better; i believe weston and can't remember the other is called compositors
<Mic92> yeah but I don't need a wayland process to start a compositor
<Mic92> unlike the xserver
<Mic92> but for taxonomy reason, this structure makes sense
<ndowens08> yeah i dont know much about it all, besides it is to replace xorg at one point it seems
<Mic92> nwspk: if you need to compile libreoffice from source something went wrong.
<ndowens08> would it be better to call sway like wayland/window-managers or keep wayland/compositor as the new stucture?
alx741 has joined #nixos
AllanEspinosa has quit [(Ping timeout: 260 seconds)]
<ndowens08> reaseaching what is considered a compositor atm
<ndowens08> "Wayland is a protocol for a compositor to talk to its clients, as well as a library implementing this protocol."
<nwspk> Mic92: can you tell me "where" something went wrong? a friend of mine did also switched to NixOS and also had to compile it
<ndowens08> weston is considered a compositor
<ndowens08> so window manager wouldnt be a compositor
<Mic92> nwspk: usually the nix check first if a binary package exists and in case of absence it compile it from source
<ndowens08> i think of wayland/weston as the backend that composites
<Mic92> I am currently on unstable so let me check the build channel if hydra has failed to build libreoffice
<ndowens08> so to me makes more sense to have services/wayland/window-managers
<ndowens08> and users might understand it better; instead of wondering what a compositor is?
<ndowens08> yeah most sites call sway a wayland window manager
<ndowens08> instead of a compositor
MP2E has joined #nixos
ibrahims has joined #nixos
<nwspk> Mic92: so I had to build it by myself because it was canceled?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
hamishmack has quit [(Quit: hamishmack)]
<Mic92> nwspk: to be honest, I don't know, when channels get updated, when they were canceled they shouldn't be updated.
bennofs1 has quit [(Ping timeout: 255 seconds)]
<Mic92> gchristensen: do you have more insights how one can check what the build state of a package in a published channel is?
ibrahims has quit [(Ping timeout: 260 seconds)]
<nwspk> Mic92: okay‥ I'm going to continue reading and now I've got my packet anyway. Thank you (:
bennofs1 has joined #nixos
<dtz> hey, thought I'd try out unstable in prep for 17.03..... now I'm seeing that many of the manpages on my system are double-compressed: http://ix.io/nHV . Is this my fault / is this a known issue / should I file an issue?
Itkovian has joined #nixos
<Mic92> nwspk: this is indeed not the average case. usually everything is pre-build
<Mic92> dtz: I have a open pull request to fix this
<dtz> and to be clear, double-compressed makes them not work, man says "warning: /path/to/double-compressed-manpage.gz.gz: ignoring bogus filename"
<dtz> haha excellent, I searched but somehow didn't find it. Thanks for the response and for fixing it! :)
<Mic92> dtz: corresponding issue: https://github.com/NixOS/nixpkgs/issues/21777
<dtz> perfect, tyvm
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #14274: r8168: init at 8.041.01 (master...r8168_driver) https://git.io/vVTm3
<ndowens08> Mic92: https://gist.github.com/anonymous/cfebacf292cb03fb7fb90d9e08900742 added the new dir and also wonder if you think this indentation will pass; it is what VIM did to indent
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vDhjv
<NixOS_GitHub> nixpkgs/master b4e9bcf Philipp Gesang: afio: init at 2.5.1...
<NixOS_GitHub> nixpkgs/master f764ccc Joachim F: Merge pull request #22812 from phi-gamma/afio...
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #22812: afio: init at 2.5.1 (master...afio) https://git.io/vDXtY
<NixOS_GitHub> [nixpkgs] jgeerds closed pull request #22937: gnome-shell, gnome-tweak-tool: Don't propagate python (master...gnome) https://git.io/vD7Bh
ambro718 has joined #nixos
<Mic92> ndowens08: I would put the opening double quotes on the same line as the equal sign and some other small stuff, but in a gist this is hard to comment.
<ndowens08> Mic92: just wanted opinion; seems like having indention issues for some reason :)
ilja_kuklic has joined #nixos
simendsjo has quit [(Remote host closed the connection)]
<Mic92> ndowens08: indention in general looks ok.
nh2 has quit [(Remote host closed the connection)]
ibrahims has joined #nixos
arjen-jonathan has quit [(Ping timeout: 240 seconds)]
HappyEnte has left #nixos []
<LnL> ndowens08: are you using the builtin nix support or something else?
<ndowens08> LnL: i am
ibrahims has quit [(Ping timeout: 268 seconds)]
AllanEspinosa has joined #nixos
<LnL> this might be a bit more reliable https://github.com/LnL7/vim-nix
fhoffmeyer has quit [(Ping timeout: 260 seconds)]
<ndowens08> IIRC that is the one i am using
georges-duperon has quit [(Ping timeout: 255 seconds)]
<LnL> ah, in that case open issues if you notice that it indents somethin incorrectly
<ndowens08> Mic92: updated swaymod PR :)
<ndowens08> LnL: all the others issues was b/c i was trying to use Emacs, but VIM does better for me in the indentation area
<LnL> yeah, I don't really understand it, I'm pretty sure it's a lot easier to do in emacs then vimscript
<LnL> these are still not merged in? :o https://github.com/NixOS/nix/pulls?utf8=✓&q=is%3Apr%20is%3Aopen%20emacs
ibrahims has joined #nixos
<ndowens08> wow those are old
<LnL> or are emacs people just using something else?
<Mic92> ndowens08: mhm, I think a systemd service or a login manager is required. The current module will do nothing: https://wiki.archlinux.org/index.php/Sway#Using_a_display_manager
<Mic92> LnL: probably they use elpa
<ndowens08> Mic92: hmm idk, i believe i folled another module for a wayland window manager; will look at it again in a bit
<ndowens08> s/folled/followed
<Mic92> ndowens08: which one?
<ndowens08> hmm give me a sec
<Mic92> maybe I was not aware of a different one
ryanartecona has joined #nixos
<Mic92> ndowens08: I guess this would be started within a xorg server then?
<ndowens08> I know that pkg uses wayland
<Mic92> also GDM already run as a wayland services
<Mic92> can you check if it would uses xwayland in this case
<ndowens08> hmm chrome and firefox use xwayland
ilja_kuklic has quit [(Remote host closed the connection)]
bennofs1 has quit [(Ping timeout: 255 seconds)]
Sonarpulse has joined #nixos
<ndowens08> hmm wonder how arch builds it
<ndowens08> arch doesnt use xwayland
endformationage has quit [(Quit: WeeChat 1.6)]
<ndowens08> wait
<ndowens08> nvm xorg-server-xwayland
<ndowens08> which would need to be added to sway nix instead of module if it isnt already
<ndowens08> yeah the sway package doesnt even include xwayland
mudri has quit [(Ping timeout: 240 seconds)]
<ndowens08> which is where it would have to be added in
ibrahims has quit [(Ping timeout: 240 seconds)]
mudri has joined #nixos
hamishmack has joined #nixos
AllanEspinosa has quit [(Ping timeout: 260 seconds)]
danharaj has quit [(Ping timeout: 240 seconds)]
hiratara has quit [(Ping timeout: 240 seconds)]
AllanEspinosa has joined #nixos
georges-duperon has joined #nixos
indi_ has joined #nixos
hiratara has joined #nixos
takle has quit [(Remote host closed the connection)]
cpennington has quit [(Remote host closed the connection)]
<Mic92> ndowens08: it looks like every compositor has a .desktop file in /usr/share/wayland-sessions/ so it can be started by GDM.
ibrahims has joined #nixos
<Mic92> or other login manager
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<ndowens08> Mic92: yea lightdm gave me a choice of sway when i tried it
RchrdB has joined #nixos
Itkovian has joined #nixos
davidak has quit [(Quit: Leaving.)]
ibrahims has quit [(Ping timeout: 268 seconds)]
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vDjYv
<NixOS_GitHub> nixpkgs/master 4509487 Vladimír Čunát: nixos polkit: fixup setuid wrapper of pkexec...
danharaj has joined #nixos
FRidh has quit [(Remote host closed the connection)]
stepcut has quit [(Remote host closed the connection)]
takle has joined #nixos
stepcut has joined #nixos
Shou has joined #nixos
stepcut has quit [(Client Quit)]
ibrahims has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
fhoffmeyer has joined #nixos
ibrahims has quit [(Ping timeout: 240 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23089: VIM: module (master...vim-mod) https://git.io/vDj3g
<ndowens08> Should i see if the sway-wm maintainer wants to add xwayland as optional dependency so some applications work in sway or do it myself?
<sphalerite> how can I get debugging symbols for a program? Specifically in this case st
ibrahims has joined #nixos
xadi has joined #nixos
takle has joined #nixos
hiratara has quit [(Remote host closed the connection)]
<sphalerite> Actually I need them for libXft as well
hiratara has joined #nixos
ibrahims has quit [(Ping timeout: 260 seconds)]
AllanEspinosa has quit [(Ping timeout: 240 seconds)]
<ndowens08> sphalerite: maybe nix-build, might be a option to not strip them
xadi has quit [(Quit: Leaving.)]
xadi has joined #nixos
<Mic92> sphalerite: in a package you can set `dontStrip = true`
<sphalerite> hm
<Mic92> sphalerite: there is also some on going work to provide a split package for debug symbols: https://github.com/NixOS/nixpkgs/issues/18530
<sphalerite> can I do that without modiying the package?
<sphalerite> ongoing work isn't very useful to me if it's not working right now, my goal is to debug st crashing :p
thc202 has quit [(Ping timeout: 240 seconds)]
<Mic92> at the moment you can only rebuild the package with debug symbols, for example in an packageOverride
ndowens08 has quit [(Quit: WeeChat 1.7)]
griff_ has joined #nixos
<sphalerite> I want both st with debugging symbols and libXft with debugging symbols. How can I do that? I know I could use overrideAttrs st {dontStrip = true;}, or st.override {libXft = overrideAttrs libXft {dontStrip = true;};} but how can I combine them?
ibrahims has joined #nixos
ndowens08 has joined #nixos
<ndowens08> LnL: you're right, forgot there is multiple vims :), maybe vimNox would be good
jgertm has quit [(Ping timeout: 255 seconds)]
ibrahims has quit [(Ping timeout: 240 seconds)]
<LnL> yeah, there's also vim_configurable that allows you to override a bunch of stuff like your vimrc and plugins
<ndowens08> LnL: problem is, that nix-env -i vimnox doesnt come up, so I wonder if this module will install it w/o error
<LnL> the behaviour of nix-env is a little different then other things
<ndowens08> LnL: good :)
<LnL> nix-env -i foo, will search through all the packages for one with a name that matches
<ndowens08> yea tried that
Wizek has quit [(Quit: Leaving)]
Wizek_ is now known as Wizek
<sphalerite> Mic92: does that libXft change actually work correctly though? Because with .override it's an argument to the expression function, and gets passwd into buildInputs. I don't see how your expression would result in the modified Xft going into buildInputs
<LnL> if you want similar behaviour to other things, that use attributes you can do something like this nix-env -f '<nixpkgs>' -iA foo
<ndowens08> but it is listed as nixos.vimNox so maybe it will work anyway
wizeman has quit [(Quit: Connection closed for inactivity)]
<LnL> using attribute paths is not only faster because it doesn't have to search through all the names, it also works for nested attributes and packages with special names (like vimNox)
<LnL> ndowens08: nix-instantiate --eval '<nixpkgs>' -A vimNox.name # "vim_configurable-..."
<LnL> that's the reason nix-env -i can't find vimNox by name
<Mic92> sphalerite: every package is a function (if you take a look at st/default.nix) and libxft is an argument of that function
<Mic92> sphalerite: wait a sec
avn is now known as avn_nb
<sphalerite> Mic92: yes I realise that, but with overrideDerivation you're not overriding the arguments to the function, you're overriding attributes of the set passed to mkDerivation
ibrahims has joined #nixos
<Mic92> sphalerite: yes, maybe you have to override buildInputs instead or chain an override call after that
<sphalerite> ooooh yeah I could chain an override call, perfect
<sphalerite> thanks
indi_ has quit [(Remote host closed the connection)]
nckx has quit [(Ping timeout: 240 seconds)]
nckx has joined #nixos
indi_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
bfrog has quit [(Ping timeout: 240 seconds)]
indi_ has joined #nixos
ibrahims has quit [(Ping timeout: 260 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
JagaJaga has quit [(Ping timeout: 260 seconds)]
JagaJaga has joined #nixos
<ndowens08> LnL: hmm looks there is already a VIM module that isnt listed in the nixos options
<ndowens08> so mine isn't needed; darn thought i found something else to add to NIX
<LnL> are you on 16.09, might have been added afterwards
<ndowens08> nah i am in unstable
<ndowens08> s/in/on
[0x4A6F] has quit [(Quit: [0x4A6F])]
<ndowens08> just looked the repo trying to decide which dir it would belong in and then i found it
schoppenhauer has quit [(Quit: Adé)]
<LnL> looks like the current module doesn't have a package option either, you could add it if you want
<ndowens08> and overwrite it?
ibrahims has joined #nixos
schoppenhauer has joined #nixos
<LnL> just update it, add the package option and use cfg.package instead of pkgs.vim
bfrog has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/vDjlR
<NixOS_GitHub> nixpkgs/master 7803a69 Peter Simons: smartmontools: update drivedb.h to latest SVN version 4391
AllanEspinosa has joined #nixos
ibrahims has quit [(Ping timeout: 260 seconds)]
dingen has joined #nixos
dingen is now known as dreamer
dreamer has quit [(Changing host)]
dreamer has joined #nixos
dreamer has left #nixos []
ambro718 has quit [(Ping timeout: 260 seconds)]
ibrahims has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #23091: lynx: 2.8.8rel.2 -> 2.8.9dev.11 (master...u/lynx) https://git.io/vDj4p
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 2 new commits to master: https://git.io/vDj4j
<NixOS_GitHub> nixpkgs/master a3bf71b Peter Hoeg: lynx: 2.8.8rel.2 -> 2.8.9dev.11
<NixOS_GitHub> nixpkgs/master 354243c Peter Hoeg: Merge pull request #23091 from peterhoeg/u/lynx...
ibrahims has quit [(Ping timeout: 260 seconds)]
georges-duperon has quit [(Ping timeout: 255 seconds)]
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vDjBW
<NixOS_GitHub> nixpkgs/master df4c0ae Jörg Thalheim: shellcheck: reduce closure size...
georges-duperon has joined #nixos
<NixOS_GitHub> [nixpkgs] tlotze opened pull request #23092: cmus: enable opus support (re #23051) (master...re23051-cmus-opus) https://git.io/vDjBM
Sonarpulse has quit [(Ping timeout: 260 seconds)]
xadi has quit [(Quit: Leaving.)]
ibrahims has joined #nixos
<NixOS_GitHub> [nixpkgs] veprbl opened pull request #23094: pythonPackages: add pyhepmc, graphviz; bump rootpy (master...for_upstream) https://git.io/vDjRi
ertes has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/vDjRN
<NixOS_GitHub> nixpkgs/master 49641e0 Dan Peebles: make-disk-image.nix: support additional filesystem contents...
ibrahims has quit [(Ping timeout: 268 seconds)]
<NixOS_GitHub> [nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/vDj0v
<NixOS_GitHub> nixpkgs/master 15c05ad Dan Peebles: google-compute-image.nix: fix evaluation failure
qknight_ has quit [(Remote host closed the connection)]
qknight has quit [(Remote host closed the connection)]
Rizy has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #23095: lynx: 2.8.8rel.2 -> 2.8.9dev.11 (release-16.09...u/lynx_stable) https://git.io/vDj0b