nekroze has quit [(Quit: Lost terminal)]
ennui has quit [(Ping timeout: 245 seconds)]
mizu_no_oto has joined #nixos
jsgrant- has joined #nixos
magnetophon has quit [(Ping timeout: 245 seconds)]
t7 has quit [(Quit: ChatZilla 0.9.93 [Firefox 50.1.0/20161209093710])]
mkoenig has quit [(Ping timeout: 264 seconds)]
kampfschlaefer has quit [(Ping timeout: 256 seconds)]
<grantwu> How do I set my login shell to something installed via Nix?
deepfire has joined #nixos
mudri has quit [(Quit: WeeChat 1.6)]
sdothum has quit [(Read error: Connection reset by peer)]
<Yaniel> grantwu: the user definition has an option called shell
sdothum has joined #nixos
athan_ has joined #nixos
<Yaniel> i.e. users.extraUsers.yaniel.shell = pkgs.zsh;
athan has quit [(Read error: Connection reset by peer)]
athan_ is now known as athan
magnetophon has joined #nixos
<grantwu> I have Nix installed on Ubuntu :/
<Yaniel> then you can use chsh and pass it the full path to the executable I think
<Yaniel> though you might run into trouble with the env in that case
<Yaniel> or not, since it's all in your ~/.nix-profile
<grantwu> It doesn't like the symlink
<Dezgeg> I guess you can put a shell script which has just 'exec /home/foo/.nix-profile/bin/zsh "$@"' somewhere and use that as the shell
<Yaniel> I wonder how bad an idea it would be to exec your preferred shell in .bash_profile
RchrdB has joined #nixos
erasmas has quit [(Quit: leaving)]
<maurer> just make sure not to put it in your bashrc
<maurer> or you will be very sad
<Dezgeg> but I do have to wonder why it wouldn't accept a symlink as on NixOS it's e.g. /run/current-system/sw/bin/bash which definitely is a symlink... but maybe nobody has tried chsh on nixos
<maurer> (since non-interactive scripts will load bashrc)
<grantwu> I can use the thing that the symlink points to but that would be bad right
<grantwu> If the shell updates or
<Dezgeg> yes, it would be bad
<grantwu> Yeah, if it gets garbage collected or something
<Nadrieril> chsh only accepts the shells defined in /etc/shells
<Nadrieril> So you can't use a shell installed via nix that way
<Nadrieril> In NixOS you need something like programs.zsh.enable = true for zsh to be usable as a shell
<maurer> grantwu: You could add /home/grantwu/.nix-profile/bin/zsh to /etc/shells
mexisme2 has quit [(Read error: Connection reset by peer)]
thc202 has quit [(Ping timeout: 264 seconds)]
mexisme has joined #nixos
<grantwu> maurer: okay I'll try that
Wizek_ has joined #nixos
jsiva has joined #nixos
<jsiva> Hello all... I'm new to nix and using it in Ubuntu to create docker images. I created a mongodb docker image and when I'm trying to run that image, I'm getting an error that looks like this /nix/store/nm0r7crsx9wwcywav9fv4bp37r0jrp53-mongodb-3.2.9/bin/mongod: error while loading shared libraries: libz.so.1: cannot open shared object file: Permission denied
<jsiva> I'm running it as mongodb user. It works fine if I run as root (default)
markus1199 has joined #nixos
markus1189 has quit [(Ping timeout: 252 seconds)]
Lowl3v3l has quit [(Ping timeout: 240 seconds)]
Lowl3v3l has joined #nixos
<puffnfresh> jsiva: strange!
Rotaerk has joined #nixos
<jsiva> puffnfresh: any idea what could cause this?
altphi has joined #nixos
sellout- has quit [(Quit: Leaving.)]
Nadri has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel closed pull request #21977: kde5: fix error message in "Add Printer" dialog (master...kde-printing) https://git.io/vM1P0
Nadrieril has quit [(Ping timeout: 240 seconds)]
stepcut has joined #nixos
<dtz> jsiva: I haven't played with the docker-gen stuff, but can you share your expression or something that demonstrates the problem? (presumably you're doing something like the 'nginx' example only with mongodb?)
altphi has quit [(Quit: altphi)]
RchrdB has quit [(Ping timeout: 255 seconds)]
altphi has joined #nixos
<jsiva> dtz: Not sure which nginx example you're talking about. Here's the nix expression: https://gist.github.com/emptyslot/5b4a70c0dc37a8b22ea0554dee76f14b
ilja_kuklic has quit [(Ping timeout: 255 seconds)]
athan has quit [(Remote host closed the connection)]
<dtz> jsiva: https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/docker/examples.nix#L42 is what I was referring to, but like I said I haven't actually tried that stuff yet so ... O:)
sdothum has quit [(Read error: Connection reset by peer)]
sdothum has joined #nixos
alx741 has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
ryantrinkle has joined #nixos
<dtz> jsiva: how are you running it with the mongodb user? I added 'User = "mongodb";' to the config in your example and it.. seems to work?
stepcut has quit [(Remote host closed the connection)]
<dtz> my system nixpkgs that I'm building against is 16.09, FWIW, and I'm running on NixOS not on ubuntu, so there are ample things that could be different between our setups :)
<dtz> (also the system mongodb package is 3.2.9 for me, so doesn't seem necessary to override to build your own, maybe)
<dtz> I wasn't sure "User=" would work, but without it mongodb complains about being executed as root...
<dtz> maybe system docker on ubuntu runs things differently somehow? But don't know enough about docker/ubuntu to suggest anything, hopefully it's just something like my dockerTools from 16.09 has a bugfix that yours doesn't ^.^
jsgrant- has quit [(Read error: Connection reset by peer)]
jsgrant- has joined #nixos
<dtz> if nix is installed single-user then your store might have different permissions that don't play nice when building docker layers?
<dtz> (also I can't believe this works, haha, this is great, glad I tried your example :D)
<jsiva> dtz: nix is installed as single-user. But, would this really matter when building docker containers? Does the permission of /nix in host transfer over to the docker image?
<dtz> no idea! Couldn't say, sorry if that's a wrong thought just brainstorming why it works for me and not for you :).
<jsiva> let me try using 'User = "mongodb"' in my config
<jsiva> I wish I were in your position now :)
altphi has quit [(Quit: altphi)]
glines has quit [(Ping timeout: 255 seconds)]
acarrico has quit [(Ping timeout: 240 seconds)]
altphi has joined #nixos
<gchristensen> some weeks the security roundup is more exhausting than others https://github.com/NixOS/nixpkgs/issues/21967
pie__ has quit [(Ping timeout: 240 seconds)]
deepfire has quit [(Ping timeout: 258 seconds)]
altphi has quit [(Ping timeout: 258 seconds)]
acarrico has joined #nixos
georges-duperon has quit [(Ping timeout: 252 seconds)]
met48 has quit [(Quit: Bye)]
Fare has joined #nixos
derjohn_mobi has quit [(Ping timeout: 276 seconds)]
athan has joined #nixos
wkennington has joined #nixos
Wizek__ has joined #nixos
Rotaerk_ has joined #nixos
magnetophon has quit [(Ping timeout: 260 seconds)]
indi__ has joined #nixos
bdimcheff_ has joined #nixos
pdobrogost_ has joined #nixos
gridaphobe_ has joined #nixos
stig__ has joined #nixos
Kingsqueee has joined #nixos
johnsona` has joined #nixos
johnsona` is now known as johnsonav`
rrrr has joined #nixos
BlessJah_ has joined #nixos
echo_oddly has joined #nixos
johnsonav has quit [(Disconnected by services)]
avn_ has joined #nixos
petar_ has joined #nixos
johnsonav` is now known as johnsonav
armijn_ has joined #nixos
paroneay` has joined #nixos
MightyJoe has joined #nixos
hiratara_ has joined #nixos
systmkor_ has joined #nixos
Aexoden_ has joined #nixos
derjohn_mobi has joined #nixos
dredozub- has joined #nixos
Piece_Maker has joined #nixos
rmarko has joined #nixos
rmarko has quit [(Changing host)]
rmarko has joined #nixos
spion has joined #nixos
eacamero_ has quit [(Remote host closed the connection)]
hiratara_ is now known as hiratara
Piece_Maker is now known as Acou_Bass
bdimcheff_ is now known as bdimcheff
stig__ is now known as stig
pdobrogost_ is now known as pdobrogost
ertes has joined #nixos
gridaphobe_ is now known as gridaphobe
<Fare> updating my nixpkgs, I get a weird error trying to nixos-rebuild switch: attempt to call something which is not a function but a set, at /root/nixpkgs-channels/lib/trivial.nix
<Fare> :54:67
eacameron has joined #nixos
paroneay` is now known as paroneayea
magnetophon has joined #nixos
<Fare> trying to update nix with the curl command as per https://nixos.org/wiki/How_to_update_when_Nix_is_too_old_to_evaluate_Nixpkgs I get: Installation failed: invalid package contents
eacameron has quit [(Ping timeout: 240 seconds)]
<Fare> is that a funky chicken and egg upgrade problem???
obadz has joined #nixos
jmiven has joined #nixos
joncfoo has joined #nixos
cantstanya has joined #nixos
toogley has joined #nixos
SkeThuVe has joined #nixos
orbekk has joined #nixos
amir has joined #nixos
Leo` has joined #nixos
andi- has joined #nixos
proteusguy has joined #nixos
edwtjo has joined #nixos
edwtjo has joined #nixos
mbrgm has quit [(Ping timeout: 264 seconds)]
ryantrinkle has joined #nixos
mbrgm has joined #nixos
stepcut has joined #nixos
qnm has joined #nixos
eacameron has joined #nixos
sellout- has joined #nixos
frankpf has joined #nixos
RchrdB has joined #nixos
abcrawf has joined #nixos
willeh has joined #nixos
eacameron has quit [(Ping timeout: 248 seconds)]
eacameron has joined #nixos
sheenobu has joined #nixos
sheenobu has quit [(Changing host)]
sheenobu has joined #nixos
hexagoxel has quit [(Ping timeout: 276 seconds)]
<NixOS_GitHub> [nixpkgs] erictapen opened pull request #21981: python27Packages.influxdb: 0.1.12 -> 4.0.0 (master...python27Packages.influxdb-update) https://git.io/vMMwr
eacameron has quit [(Ping timeout: 255 seconds)]
ertesx has joined #nixos
hexagoxel has joined #nixos
ertes has quit [(Ping timeout: 252 seconds)]
ertesx is now known as ertes
<NixOS_GitHub> [nixpkgs] ronmeredith opened pull request #21982: Add yubioath-desktop application and required pyscard module to suppo… (master...master) https://git.io/vMMwy
<NixOS_GitHub> [nixpkgs] ronmeredith closed pull request #21982: Add yubioath-desktop application and required pyscard module to suppo… (master...master) https://git.io/vMMwy
k0001 has quit [(Quit: Connection closed for inactivity)]
<NixOS_GitHub> [nixpkgs] jonmeredith opened pull request #21983: Add yubioath-desktop application and required pyscard module (master...master) https://git.io/vMMrJ
erictapen has quit [(Ping timeout: 258 seconds)]
glines has joined #nixos
Nycatelos has quit [(Ping timeout: 240 seconds)]
Nycatelos has joined #nixos
rmarko is now known as srk
mizu_no_oto has joined #nixos
<Fare> well, I can't easily install nixos on nixos, apparently, but if I do it from within my ubuntu chroot, I could do a nixos-ception
glines has quit [(Ping timeout: 258 seconds)]
matthewbauer has joined #nixos
mguentner has quit [(Quit: WeeChat 1.6)]
mguentner has joined #nixos
<mog> im trying to install nixos on a linode box. it is failing on the install here
<mog> aa_DJ.UTF-8...cannot create temporary file: /tmp/nix-build-glibc-locales-2.24.drv-0/nix/store/0703xnwi4iz8idi7jq5qa60b4q1ia5qp-glibc-2.24/lib/locale/locale-a
<mog> does anyone know how to get around this locale issue
<Fare> why can't create? out of hd space?
<mog> no
<Fare> filename too long?
<Fare> trying to do VMception?
<mog> my ramdisk is only 30% used and the actual drive has 20 gigs free
<mog> i think its related to that
<Fare> writing scripts is hard, and then you die
jsgrant- has quit [(Read error: Connection reset by peer)]
jsgrant- has joined #nixos
goodwill has quit [(Quit: ...)]
jsgrant- has quit [(Read error: Connection reset by peer)]
bret has joined #nixos
systemfault has joined #nixos
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
mguentner2 has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
mguentner has quit [(Ping timeout: 240 seconds)]
alx741_ has joined #nixos
alx741 has quit [(Ping timeout: 240 seconds)]
AllanEspinosa has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
endformationage has quit [(Quit: WeeChat 1.5)]
mizu_no_oto has joined #nixos
bfrog has quit [(Quit: WeeChat 1.6)]
matthewbauer has quit [(Remote host closed the connection)]
matthewbauer has joined #nixos
eacameron has quit [(Ping timeout: 255 seconds)]
eacameron has joined #nixos
panostimos has joined #nixos
eacamero_ has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
eacamero_ has quit [(Ping timeout: 264 seconds)]
RchrdB has quit [(Ping timeout: 255 seconds)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
sheenobu has quit [(Quit: Leaving)]
glines has joined #nixos
leothrix has quit [(Quit: ZNC 1.6.4 - http://znc.in)]
glines has quit [(Ping timeout: 245 seconds)]
<NixOS_GitHub> [nixpkgs] vbgl pushed 2 new commits to master: https://git.io/vMM12
<NixOS_GitHub> nixpkgs/master 75cea1d Vincent Laporte: ocamlPackages.fpath: init at 0.7.1...
<NixOS_GitHub> nixpkgs/master d1c3cc6 Vincent Laporte: jabref: 3.6 -> 3.8.1
MP2E has joined #nixos
MP2E has quit [(Client Quit)]
MP2E has joined #nixos
MP2E has quit [(Client Quit)]
leothrix has joined #nixos
MP2E has joined #nixos
bgamari has quit [(Ping timeout: 248 seconds)]
zagy has joined #nixos
andi- has quit [(Ping timeout: 245 seconds)]
moet has joined #nixos
moet has quit [(Client Quit)]
zagy1 has joined #nixos
kier has quit [(Ping timeout: 248 seconds)]
zagy2 has joined #nixos
zagy has quit [(Ping timeout: 255 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
zagy1 has quit [(Ping timeout: 255 seconds)]
Fare has quit [(Ping timeout: 240 seconds)]
zraexy has joined #nixos
ryantrinkle has quit [(Ping timeout: 256 seconds)]
MercurialAlchemi has joined #nixos
zraexy has left #nixos []
proteusguy has quit [(Remote host closed the connection)]
proteusguy has joined #nixos
matthewbauer has quit [(Ping timeout: 264 seconds)]
ryantrinkle has joined #nixos
proteusguy has quit [(Ping timeout: 264 seconds)]
phanimahesh has joined #nixos
reinzelmann has joined #nixos
zml has quit [(Ping timeout: 256 seconds)]
deepfire has joined #nixos
systemfault has quit [(Quit: Bye!)]
MP2E has quit [(Quit: bbl)]
phanimahesh has quit [(Ping timeout: 248 seconds)]
zml has joined #nixos
proteusguy has joined #nixos
Shados has quit [(Quit: No Ping reply in 180 seconds.)]
georges-duperon has joined #nixos
Shados has joined #nixos
jgertm has joined #nixos
deepfire has quit [(Ping timeout: 252 seconds)]
phanimahesh has joined #nixos
deepfire has joined #nixos
jmiven has quit [(Read error: Connection reset by peer)]
jmiven has joined #nixos
georges-duperon has quit [(Ping timeout: 252 seconds)]
justbeingglad has joined #nixos
justbeingglad has left #nixos []
deepfire has quit [(Ping timeout: 240 seconds)]
matthewbauer has joined #nixos
deepfire has joined #nixos
<NixOS_GitHub> [nixpkgs] ericsagnes opened pull request #21985: styx-themes.agency: fix version typo (master...pkg-fix/styx-themes.agency) https://git.io/vMMQi
moet has joined #nixos
matthewbauer has quit [(Ping timeout: 248 seconds)]
<moet> hmm. so i'm having this problem where reinstalling my buildEnv (which is just a basic list of packages) is trying to recompile all of the dependencies of haskell stack
<moet> instead of just fetching the binary
sellout- has quit [(Ping timeout: 260 seconds)]
ckauhaus has joined #nixos
<moet> and it fails on the first thing it tries to build (actually, after building it) .. it fails in aeson's test suite
rmeis has joined #nixos
eacameron has joined #nixos
<srhb> Paste the buildEnv definition?
eacameron has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] vcunat pushed 3 new commits to release-16.09: https://git.io/vMM5B
<NixOS_GitHub> nixpkgs/release-16.09 c22274c Vladimír Čunát: libtasn1: 4.8 -> 4.10...
<NixOS_GitHub> nixpkgs/release-16.09 d7a254a Franz Pletz: gnutls35: 3.5.5 -> 3.5.8...
<NixOS_GitHub> nixpkgs/release-16.09 89c567c Vladimír Čunát: libtiff: apply security patches from Debian...
<srhb> moet: And this is on stable?
Itkovian has joined #nixos
eacameron has joined #nixos
wkennington has quit [(Quit: Leaving)]
indi__ has quit [(Remote host closed the connection)]
<hyper_ch> hi, upon boot up or shutdown, ntpd has always like a 90sec timeout for some reason
indi_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
<srhb> hyper_ch: On unstable?
<moet> srhb: `sudo nix-channel --list` -> `nixos https://nixos.org/channels/nixos-16.09` and i did a `sudo nixos-rebuild switch --upgrade` today
<hyper_ch> srhb: yes
indi_ has joined #nixos
<srhb> moet: And you have no user channels?
<moet> not that i know of
<srhb> moet: (meaning nix-channel --list gives you nothing without sudo)
deepfire has quit [(Ping timeout: 252 seconds)]
<moet> srhb: correct
<srhb> moet: Alright, I'll give it a go.
<srhb> moet: Fails on lushtags. :-P
<moet> srhb: i'll happily kick lushtags out, if that's all it takes! i haven't even got that set up in my vim yet lol
<srhb> moet: So what you're doing is nix-env -iA myenv?
<moet> srhb: `nix-env -riA nixos.myenv`
<srhb> moet: Oh, right.
<srhb> moet: wfm if I remove all the vim things.
eacameron has quit [(Ping timeout: 256 seconds)]
fritschy has joined #nixos
kier has joined #nixos
<srhb> moet: ie. i don't see the aeson failure at all.
<srhb> hyper_ch: I experience that too.
eacameron has joined #nixos
indi_ has quit [(Ping timeout: 264 seconds)]
<moet> srhb: does it attempt to compile aeson?
<moet> srhb: do you even remove `vim` ?
<moet> srhb: i removed all the vim lines, including `vim` and the first thing my system does is try to compile aeson for stack-1.3.2
ckauhaus has quit [(Read error: Connection reset by peer)]
jgertm has quit [(Ping timeout: 276 seconds)]
ntc has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
<srhb> moet: Paste the log and what does nixos-version say
<srhb> moet: I did remove vim, since I figured it has no bearing on aeson anyway.
eacameron has quit [(Ping timeout: 240 seconds)]
<moet> 16.09.1512.6b28bd0 (Flounder)
feepo has joined #nixos
<srhb> hyper_ch: Wonder if it's this: https://github.com/NixOS/nixpkgs/issues/21357
<srhb> moet: Strange, I'm on the same commit. Something else must be going on with your haskell packages.
<srhb> Have you made other overrides?
<moet> srhb: i had other overrides in the past, for local development
<moet> but none now
<srhb> Oh, I guess I already have aeson installed
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vMMd8
<NixOS_GitHub> nixpkgs/staging f4f8852 Vladimír Čunát: treewide: switch more packages to older gperf...
<srhb> Didn't think of that.
<moet> srhb: haha, how do i get there :P
<srhb> moet: Does this attempt to build aeson as well? nix-shell -p "pkgs.haskell.packages.ghc801.ghcWithPackages (pkgs: with pkgs; [ aeson ])"
Itkovian has quit [(Ping timeout: 248 seconds)]
<moet> srhb: no, it drops into the shell
<moet> after some downloads
<moet> now instantly, since the downloads are in the store i guess
<srhb> moet: Which version of aeson does it fetch?
Itkovian has joined #nixos
<srhb> moet: But stack tried to get a different version of it...
<moet> yep
<srhb> moet: does that happen with nix-shell -p stack as well?
<moet> yes, stack goes for aeson-1.0.2.1
<srhb> moet: Hum...
ntc has joined #nixos
<moet> blurg
matthewbauer has joined #nixos
<NixOS_GitHub> [nixpkgs] lsix opened pull request #21986: screen: 4.4.0 -> 4.5.0 (master...update_screen) https://git.io/vMMFr
jensens has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vMMFi
<NixOS_GitHub> nixpkgs/master b635355 Justin Humm: python27Packages.influxdb: 0.1.12 -> 4.0.0...
<NixOS_GitHub> nixpkgs/master b502bba Jörg Thalheim: Merge pull request #21981 from erictapen/python27Packages.influxdb-update...
<moet> srhb: is there a way to use the livecd to just re-init my system from the configuration.nix and the ~/nixpkgs/config.nix ?
<moet> preferrably without having to save/restore my home directory.. :P
matthewbauer has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #21978: youtube-dl: 2017.01.14 -> 2017.01.18 (master...youtube-dl) https://git.io/vM1DM
angerman has joined #nixos
nschoe has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #21962: bundleEnv: Used gemdir for most applications now (master...gemdir) https://git.io/vMPCE
armijn_ is now known as armijn
<moet> srhb: thanks for your help. i'm going to call it a night, unless you think there's more to debugging this
<hyper_ch> srhb: maybe... I think I'll try timesyncd then
ckauhaus has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #21986: screen: 4.4.0 -> 4.5.0 (master...update_screen) https://git.io/vMMFr
alx741 has joined #nixos
Itkovian has quit [(Read error: Connection reset by peer)]
<moet> night all
moet has quit [(Quit: brain)]
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/vMMNR
<NixOS_GitHub> nixpkgs/master 42c1f44 Vladimír Čunát: intel-gpu-tools: finish removing the duplicate
<NixOS_GitHub> nixpkgs/master 2938025 Vladimír Čunát: Merge #21979: remove duplicate xorg.intelgputools...
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #21979: remove xorg.intelgputools in favor of intel-gpu-tools (master...remove-duplicate-intel-gpu-tools) https://git.io/vM17Q
roconnor has quit [(Ping timeout: 245 seconds)]
MoreTea has joined #nixos
alx741_ has quit [(Ping timeout: 276 seconds)]
ckauhaus has quit [(Ping timeout: 240 seconds)]
<hyper_ch> with timesyncd - can you also specify which servers to query like you can with ntp?
moet has joined #nixos
<moet> can i just install the old version of stack?
rly has joined #nixos
derjohn_mobi has quit [(Remote host closed the connection)]
ericsagnes has quit [(Ping timeout: 240 seconds)]
fritschy has quit [(Remote host closed the connection)]
fritschy has joined #nixos
teknico has joined #nixos
goibhniu has joined #nixos
mudri has joined #nixos
rmeis_ has joined #nixos
moet has quit [(Quit: leaving)]
MinceR has quit [(Ping timeout: 258 seconds)]
chimay has joined #nixos
realfake has quit [(Ping timeout: 258 seconds)]
rmeis has quit [(Ping timeout: 240 seconds)]
<sphalerite> hyp
<sphalerite> hyper_ch: use the same config.services.ntp.servers option. See https://github.com/NixOS/nixpkgs/blob/release-16.09/nixos/modules/system/boot/timesyncd.nix#L30
mudri has quit [(Ping timeout: 258 seconds)]
<manveru> anyone know how to give an executable capabilities, without setuid?
mudri has joined #nixos
<manveru> i'd like to be able to run openconnect without sudo
MinceR has joined #nixos
<hyper_ch> sphalerite: thx, that seems to work: https://paste.simplylinux.ch/view/fb9ac2d1
<manveru> atm i get "RTNETLINK answers: Operation not permitted" and "Cannot open "/proc/sys/net/ipv4/route/flush": Permission denied"
realfake has joined #nixos
<sphalerite> manveru: I don't think nixpkgs supports it at the moment, but it would definitely be useful
deepfire has joined #nixos
<sphalerite> hyper_ch: should be services.ntp.servers = [...] I think, I don't know why that's working for you... Are you sure it's working?
<manveru> even with setuid, it doesn't work :|
<manveru> i guess it calls other executables
Itkovian has joined #nixos
pie__ has joined #nixos
<hyper_ch> sphalerite: didn't complain on nixos-rebuild boot :)
ckauhaus has joined #nixos
<hyper_ch> sphalerite: didn't complain == works (IMHO)
<sphalerite> hyper_ch: well, if it didn't complain but is still using the servers it was previously using...
<hyper_ch> no idea
<hyper_ch> how to find out?
<sphalerite> boot and look at /etc/systemd/timesyncd.conf is my best guess
<hyper_ch> can't reboot
<sphalerite> why not? Maybe nixos-rebuild switch and look at the config then? Or look for the system environment it built and dig /etc out of there
civodul has joined #nixos
Wizek_ has quit [(Ping timeout: 276 seconds)]
Wizek__ has quit [(Ping timeout: 256 seconds)]
rmeis_ has quit [(Ping timeout: 256 seconds)]
<lassulus> manveru: why don't you want to use sudo? you can configure sudoers to not ask for a password for this specific executable
<manveru> hmm, good point :)
<lassulus> manveru: here is an example config (lass is my username) http://ix.io/1Qt3
matthewbauer has joined #nixos
Kingsqueee has quit [(Read error: Connection reset by peer)]
Kingsqueee has joined #nixos
georges-duperon has joined #nixos
derjohn_mob has joined #nixos
<ronny> kdiff3 is a bit broken, anyone aware how to make it have its icons?
matthewbauer has quit [(Ping timeout: 240 seconds)]
<seanparsons> Does my memory deceive me or is there something that prevents automake from being installed globally?
<ikwildrpepper> seanparsons: you might need to set ACLOCAL_PATH to let it find libraries you want to use
<ikwildrpepper> I prefer to use nix-shell for development, which sets all this automatically
<seanparsons> It's seemingly getting excluded from my globally installed packages even though I've added it.
<seanparsons> But this rings a bell somewhere in the depths of my brain.
Wizek__ has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #21973: hy: init at 0.11.1 (master...init/hy) https://git.io/vMXMH
<manveru> lassulus: thanks, that works fine
<manveru> i was just tired of entering my password 4 times just to connect to a VPN
<manveru> since i also need to modify the DNS before and after connecting, i need to do a rebuild each time :P
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 8 new commits to master: https://git.io/vMDeB
<NixOS_GitHub> nixpkgs/master 04e4790 Lancelot SIX: pythonPackages.case: init at 1.5.2
<NixOS_GitHub> nixpkgs/master ece1154 Lancelot SIX: pythonPackages.vine: init at 1.1.3
<NixOS_GitHub> nixpkgs/master a272ca2 Lancelot SIX: pythonPackages.amqp: 1.4.9 -> 2.1.4
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vMDei
<NixOS_GitHub> nixpkgs/master d934097 Jon Meredith: Add yubioath-desktop application and required pyscard module to support it
<NixOS_GitHub> nixpkgs/master 7f2769f Michael Raskin: Merge pull request #21983 from jonmeredith/master...
jgertm has joined #nixos
thc202 has joined #nixos
ilja_kuklic has joined #nixos
bin7me has joined #nixos
moet has joined #nixos
<moet> srhb: i just uninstalled my user env, went to single user mode with `systemctl rescue` and did a `nix-collect-garbage -d` followed by a `nixos-rebuild switch --repair` .. that deleted most of the store.. i've just gotten back on my user and attempted to install stack, and it's bringing in that new version of aeson again..
<moet> no idea how to fix this
<moet> i'll just let it build and go to sleep.. any ideas are appreciated
<pie__> so, am i the only person for who nix-shell messes up PS1 and completion?
<moet> `Dependency aeson -any: using aeson-1.0.2.1
<moet> i guess something doesn't specify a version range, so i get the latest one..
<moet> thing is, it doesn't fetch a binary.. just builds and builds forever
<moet> then fails tests.
ericsagnes has joined #nixos
matthewbauer has joined #nixos
ennui has joined #nixos
matthewbauer has quit [(Ping timeout: 252 seconds)]
<NixOS_GitHub> [nixpkgs] ivan-tkatchev opened pull request #21987: libkrb5: fix issue #16161. (master...pullrequest2) https://git.io/vMDk8
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vMDkP
<NixOS_GitHub> nixpkgs/master 64b7f09 Vladimír Čunát: knot-dns: 2.3.3 -> 2.4.0
JagaJaga has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vMDIe
<NixOS_GitHub> nixpkgs/master 03700da Michael Raskin: ikiwiki: 3.20160905 -> 3.20170111
eacameron has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to release-16.09: https://git.io/vMDIk
<NixOS_GitHub> nixpkgs/release-16.09 55516d8 Michael Raskin: ikiwiki: 3.20160905 -> 3.20170111...
<sphalerite> pie__: does it work if you rename your bashrc so it doesn't get loaded?
eacameron has quit [(Ping timeout: 258 seconds)]
eacameron has joined #nixos
elasticdog has quit [(Ping timeout: 246 seconds)]
eacameron has quit [(Ping timeout: 255 seconds)]
<ocharles_> fuck. sorry for probably just spamming everyone. I accidentally forked a repo into the nixos organisation T_T
<ikwildrpepper> whoops
<ikwildrpepper> ocharles_: something interesting? :)
<ocharles_> it's a good project, but probably not important for NixOS :}
erictapen has joined #nixos
ilja_kuklic has quit [(Ping timeout: 240 seconds)]
plumps has joined #nixos
plumps has quit [(Client Quit)]
plumps has joined #nixos
elasticdog has joined #nixos
plumps has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
plumps has joined #nixos
erictapen has quit [(Ping timeout: 248 seconds)]
k2s has joined #nixos
feepo has quit [(Quit: Connection closed for inactivity)]
Wizek__ has quit [(Read error: Connection reset by peer)]
matthewbauer has joined #nixos
k2s has quit [(Remote host closed the connection)]
k2s has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
matthewbauer has quit [(Ping timeout: 252 seconds)]
<LnL> what's the proper way to create a tarball of a closure inside a drv?
<LnL> I want something like nix-store -qR <drv> | tar czf build.tar.gz -T -
feepo has joined #nixos
fritschy has quit [(Remote host closed the connection)]
plumps has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
fritschy has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 15 new commits to master: https://git.io/vMDsW
<NixOS_GitHub> nixpkgs/master 1f6ca0f Jörg Thalheim: pythonPackages.bcrypt: 3.1.0 -> 3.1.2
<NixOS_GitHub> nixpkgs/master 14a65c5 Jörg Thalheim: pythonPackages.ldap: 2.4.19 -> 2.4.22
<NixOS_GitHub> nixpkgs/master c6c5ed1 Jörg Thalheim: pythonPackages.requests_oauthlib: 0.4.1 -> 0.7.0
k2s has quit [(Ping timeout: 255 seconds)]
iyzsong has joined #nixos
phanimahesh has quit [(Ping timeout: 252 seconds)]
<musicmatze> Hi
<musicmatze> I'm trying to build a nova image on a debian instance with nix, but it fails with
<musicmatze> Could not access KVM kernel module: Permission denied
<musicmatze> failed to initialize KVM: Permission denied
<musicmatze> can someone help me?
<musicmatze> I'm not sure what that means ... running the nix-build command with sudo does not work :-/
<hyper_ch> why does rsync keep aborting due to a problem with ssh's MAC
johnsonav has quit [(Ping timeout: 240 seconds)]
matthewbauer has joined #nixos
matthewbauer has quit [(Ping timeout: 240 seconds)]
<LnL> musicmatze: might only work on nixos, you can try to install kvm and then nix-build it
phanimahesh has joined #nixos
<musicmatze> LnL: that might be the problem.... I'll try. Unfortunately I need an nixos image to boot in openstack... but for building it I need a nixos instance and I do not have one spare left to build an image (which I guess is a huge task and I don't want to do it on my notebook)
<LnL> can't you start with the default iso?
<musicmatze> nope, because openstack does not recognize ISOs...
<musicmatze> at least not the openstack of my university ... it only takes qemu images -.-
<LnL> you can convert an an iso to a qemu image with the qemu-utils
<musicmatze> hmmh.. taht might be an idea!
<eqyiel[m]> I wish there was a progress argument for nixops deploy
ertesx has joined #nixos
<eqyiel[m]> I always end up monitoring the closure upload with nethogs or something
<musicmatze> I want to try to setup a hydra on my studi-cloud (I have space for two machines with 8GB RAM and 8 cores each ... might be an idea, right?)
<LnL> musicmatze: nix-shell -p qemu -> qemu-img convert -O qcow2 nixos.iso nixos.qcow2
<LnL> if I remember correctly
ertes has quit [(Ping timeout: 240 seconds)]
ertesx is now known as ertes
<musicmatze> LnL: NICE! thanks a lot! I hope that works for my studi-cloud
<musicmatze> as far as I can remember, the last time I tried it, nixos failed to find the HDDs
<LnL> and I'm working on making it easy to build a subset of nixpkgs with hydra :)
<musicmatze> LnL: that'd be awesome... this way I could build only the packages for my machine :-)
<musicmatze> does not work :-(
<musicmatze> scratch that ...
<musicmatze> don't scratch that. 'No bootable device'
<musicmatze> is it possible to run hydra on a debian machine?
<musicmatze> :-)
<LnL> probably but it would be a pain to setup
<musicmatze> hmh
eacameron has joined #nixos
mguentner2 is now known as mguentner
<musicmatze> I wonder why there is no hydra package for debian yet :-)
eacameron has quit [(Ping timeout: 240 seconds)]
ericsagnes has quit [(Ping timeout: 276 seconds)]
athan has quit [(Remote host closed the connection)]
<gchristensen> we can hardly keep _our_ hydra package working, musicmatze
<LnL> there has not been an official release of hydra yet AFAIK
Unode has quit [(Quit: WeeChat 1.6)]
cfricke has joined #nixos
<LnL> but on nixos you can get the latest master working with some tweaks
<gchristensen> also, good morning #NixOS
erictapen has joined #nixos
<musicmatze[m]> gchristensen: sure, I don't want it for production but for playing around
<musicmatze[m]> Another option would be to use nix itself to build my local packages on remote machines... But I cannot remember whether I need a remote nixos for this or whether a Debian+nix would suffice...
<LnL> gchristensen: https://prs.nix.gsc.io/eval/104?compare=master didn't rebuild the latest changes for some reason
<gchristensen> debian+nix should be fine
<musicmatze[m]> gchristensen: then I should try this...
<gchristensen> LnL: pr-21895 didn't rebuild? or master didn't rebuild?
<LnL> that xcbuild failure was fixed in the pr
eacameron has joined #nixos
<LnL> but I think the update added the jobset, so I'm not sure what happend there
eacameron has quit [(Ping timeout: 245 seconds)]
plumps has joined #nixos
plumps has quit [(Client Quit)]
chimay has quit [(Quit: WeeChat 1.6)]
plumps has joined #nixos
sdothum has joined #nixos
plumps has quit [(Client Quit)]
mkoenig has joined #nixos
pi3r has joined #nixos
matthewbauer has joined #nixos
rmeis has joined #nixos
eacameron has joined #nixos
mkoenig has quit [(Ping timeout: 240 seconds)]
mkoenig has joined #nixos
matthewbauer has quit [(Ping timeout: 258 seconds)]
eacameron has quit [(Ping timeout: 252 seconds)]
eacameron has joined #nixos
phanimah1sh has joined #nixos
eacameron has quit [(Read error: Connection reset by peer)]
dramforever has joined #nixos
eacameron has joined #nixos
phanimahesh has quit [(Ping timeout: 256 seconds)]
rmeis_ has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
phanimah1sh has quit [(Ping timeout: 240 seconds)]
proteusguy has quit [(Remote host closed the connection)]
eacameron has joined #nixos
<grantwu> maurer: Worked, btw
rmeis has quit [(Ping timeout: 258 seconds)]
<grantwu> What's the current best way to get LaTeX through Nix?
<gchristensen> "NASA astronauts train in a modified gulf stream 2 jet, which in order to simulate how un-aerodynamic the shuttle is, flys with the landing gear down, and its engines in reverse"
<gchristensen> oops, sorry
<gchristensen> grantwu: are you on nixos?
<LnL> interesting ;)
<philipp[m]> gchristensen: I think we should add a rule: OT posts are OK as long as they are about Spaaaaace!
eacameron has quit [(Ping timeout: 252 seconds)]
eacameron has joined #nixos
plumps has joined #nixos
<pippijn> gchristensen: nice
Fare has joined #nixos
phanimahesh has joined #nixos
eacameron has quit [(Ping timeout: 255 seconds)]
mkoenig_ has joined #nixos
<gchristensen> I grew up 30 minutes away from Cape Canaveral and watched the launches from by back porch
justbeingglad has joined #nixos
mudri has joined #nixos
cfricke has quit [(Quit: WeeChat 1.6)]
mkoenig has quit [(Ping timeout: 248 seconds)]
justbeingglad has left #nixos []
Kingsqueee has quit [(Quit: https://i.imgur.com/qicT3GK.gif)]
<grantwu> gchristensen: Nope
<grantwu> Nix on Ubuntu
<gchristensen> man I thought there was a texliveFull but I don't find it
<grantwu> Yeah, the TexLive HOWTO page on the wiki is somewhat unclear
<grantwu> There's supposedly a "completely reworked infrastructure available under pkgs.texlive" but the link to the basic user documentation 404s
<gchristensen> might help
<gchristensen> back soon
<grantwu> Hrm.
<grantwu> Package search web page says "nix-env -iA nixos.texlive.combined.scheme-basic"
<grantwu> Is that only for NixOS?
<lassulus> I guess it should also work for standalone nix
<lassulus> but the prefix would be nixpkgs. then
<lassulus> afair
phanimahesh has quit [(Ping timeout: 240 seconds)]
<grantwu> Hrm... I see that -A installs an attribute... what is the difference between an attribute and a derivation?
<LnL> gchristensen: nix-env -f '<nixpkgs>' -iA texlive.combined.scheme-basic
<LnL> grantwu: ^
<lassulus> -A installs by attribute, so you can specify the attribute path to the package, without -A you install the same package but you have to provide it's name
<LnL> it's based on the channel name, so on non nixos it would be nix-env -iA nixpkgs.foo
<LnL> but using -f '<nixpkgs>' works everywhere :)
<grantwu> Sorry what is an attribute again :/ I see it mentioned a lot in the manual but not really defined
eacameron has joined #nixos
<lassulus> an attribute is just a part of an attribute-set which is like an object in JS or an dict in pythin
<lassulus> python*
<LnL> garbas: it's like the key of a dict eg. nix-instantiate -E '{ foo = 42; }' -A foo
<LnL> oh my
<LnL> grantwu: ^
panostimos has quit [(Ping timeout: 240 seconds)]
<oleks> Is there a dedicated IRC channel for Nix-related discussions?
<gchristensen> this is it, oleks!
<LnL> grantwu: that's the same as nix-instantiate -E '{ foo = 42; }.foo'
<grantwu> ...I guess I should probably learn the Nix language.
<LnL> oh I forgot --eval
<gchristensen> grantwu: it isn't so complicated for most things
<gchristensen> and you don't need to learn about fixed point combinators for at least a year
<LnL> grantwu: I've heard good things about https://medium.com/@MrJamesFisher/nix-by-example-a0063a1a4c55#.9iumhdgd8
<oleks> gchristensen: alright
<oleks> Where would I look up the documentation / implementation of, say, the cabal.mkDerivation function?
eacameron has quit [(Ping timeout: 248 seconds)]
<LnL> you don't have to wait that long to learn about fixpoints, it's really cool :D
<philipp[m]> gchristensen: Cool talk. Now I want to play KSP again :-D
<LnL> oleks: are you referring to the stdenv or haskell mkDerivation?
<oleks> LnL: haskell, I guess
<LnL> oleks: look at the haskell section in the manual http://nixos.org/nixpkgs/manual/#users-guide-to-the-haskell-infrastructure
matthewbauer has joined #nixos
iyzsong has quit [(Ping timeout: 240 seconds)]
ronny has quit [(Ping timeout: 240 seconds)]
<oleks> LnL: thanks!
<oleks> would it be silly to try and use nix as the sole package manager, bypassing cabal? I mean, provided I am willing to write the nix-expressions necessary to get whatever I need for this or that Haskell project?
<LnL> sure, look at cabal2nix it can do most of the work for you :)
rmeis_ has quit [(Ping timeout: 240 seconds)]
dramforever has quit [(Remote host closed the connection)]
matthewbauer has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] wizeman opened pull request #21988: RaspberryPi boot loader: fix booting Raspberry Pi 3 (master...u/fix-raspi-3) https://git.io/vMD0d
ronny has joined #nixos
feepo has quit [(Quit: Connection closed for inactivity)]
<oleks> LnL: yeah, I just found cabal2nix a bit too magical, but that's just a question of time :-)
glines has joined #nixos
<LnL> just give it a cabal file or hackage url and it will give you a nix expressions
<LnL> what you do with it is up to you :)
matthewbauer has joined #nixos
phanimahesh has joined #nixos
matthewb` has joined #nixos
matthewbauer has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
iyzsong has joined #nixos
matthewb` has quit [(Ping timeout: 264 seconds)]
eacameron has quit [(Ping timeout: 260 seconds)]
vith has joined #nixos
eacamero_ has joined #nixos
rmeis has joined #nixos
eacamero_ has quit [(Ping timeout: 258 seconds)]
eacameron has joined #nixos
<vith> boot.extraModprobeConfig = ''\n options hid_apple fnmode=2\n ''; doesn't seem to work for me (\n are real newlines in my config). if i echo the parameter into the correct file under /sys i get the effect i need, but i can't get it to be set at boot. looks like https://github.com/NixOS/nixpkgs/issues/20906 is the same issue. does anyone have an apple-ish keyboard they did manage to get this working with on boot?
<gchristensen> vith: what computer exactly do you have?
<vith> it's a lenovo ThinkServer TS440 and a Matias Quiet Pro keyboard
<gchristensen> huh, and it is apple-ish?
<vith> yeah, it pretends to be an apple keyboard for some reason. i had this working properly before on ubuntu like this https://help.ubuntu.com/community/AppleKeyboard#Ubuntu_9.04_to_12.04_LTS_.28Precise_Pangolin.29
<vith> with a /etc/modprobe.d/hid_apple.conf i mean
eacameron has quit [(Ping timeout: 240 seconds)]
MoreTea has quit [(Ping timeout: 252 seconds)]
cpennington has joined #nixos
rmeis has quit [(Ping timeout: 240 seconds)]
mkoenig_ has quit [(Ping timeout: 248 seconds)]
mkoenig has joined #nixos
<oleks> LnL: I didn't expect nix-build to build all these Haskell packages from scratch xD
<vith> unrelated; i can't get any results for gitit at https://nixos.org/nixos/options.html despite https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/misc/gitit.nix existing. is there something wrong?
<LnL> what version of ghc are you using?
<oleks> right, locally I have ghc 8.0.1, whereas there I just went with ghc 7.10.2, as in the link you sent earlier
MoreTea has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #21990: utillinux: undo seccomp sandbox and improve purity (staging...utillinux) https://git.io/vMDV5
<gchristensen> vith: huh, it was removed for some reason: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/module-list.nix#L258
iyzsong has quit [(Quit: ZNC 1.6.3 - http://znc.in)]
glines has quit [(Ping timeout: 276 seconds)]
mkoenig_ has joined #nixos
mkoenig has quit [(Ping timeout: 276 seconds)]
<vith> oh :(
<vith> thanks
derjohn_mob has quit [(Ping timeout: 240 seconds)]
<oleks> LnL: ghc801 was much better given my global setup
<LnL> yeah, only packages for the default version of ghc are built by hydra
<oleks> oh, ok, wouldn't it make sense if one could just write ghc then?
<NixOS_GitHub> [nixpkgs] layus opened pull request #21991: pythonPackages.pcsclite: refactor (master...fixup-pcsclite) https://git.io/vMDrr
<LnL> oleks: haskellPackages points to the default set
thc202 has quit [(Ping timeout: 240 seconds)]
exi has quit [(Remote host closed the connection)]
mkoenig_ has quit [(Ping timeout: 260 seconds)]
ckauhaus has quit [(Quit: Leaving.)]
mkoenig has joined #nixos
thc202 has joined #nixos
panostimos has joined #nixos
derjohn_mob has joined #nixos
mkoenig has quit [(Ping timeout: 258 seconds)]
mkoenig has joined #nixos
ennui has quit [(Ping timeout: 252 seconds)]
MoreTea has quit [(Remote host closed the connection)]
mkoenig has quit [(Ping timeout: 256 seconds)]
mkoenig has joined #nixos
altphi has joined #nixos
bgamari has joined #nixos
MoreTea has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
ckauhaus has joined #nixos
phorse has joined #nixos
rmeis has joined #nixos
sellout- has joined #nixos
BlessJah_ is now known as BlessJah
seppellll has joined #nixos
sellout- has quit [(Client Quit)]
rmeis has quit [(Ping timeout: 260 seconds)]
<LnL> does anybody know how to get all the propagatedBuildInputs of an output inside a drv?
MercurialAlchemi has quit [(Ping timeout: 240 seconds)]
erasmas has joined #nixos
fritschy has quit [(Remote host closed the connection)]
danielrf has quit [(Quit: WeeChat 1.6)]
mudri has joined #nixos
proteusguy has joined #nixos
ckauhaus has quit [(Read error: Connection reset by peer)]
<gchristensen> niksnut, ikwildrpepper: can the evaluator / queue runner run on a machine different from the web frontend?
<gchristensen> for hydra obviously
danharaj has joined #nixos
ckauhaus has joined #nixos
derjohn_mob has quit [(Ping timeout: 252 seconds)]
zagy has joined #nixos
reinzelmann has quit [(Ping timeout: 256 seconds)]
<niksnut> gchristensen: it will probably mostly work
<niksnut> but there are a couple of places that assume a shared store
<niksnut> e.g. restarting a build might check whether the .drv is not garbage-collected
<gchristensen> oh I see
<gchristensen> ok, I think I'm seeing the same issue from the ML about RAM and CPU -- the queue runner is using about 17GB of RAM and 700-800% CPU, which is making the web frontend perform very poorly
plumps has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
zagy2 has quit [(Ping timeout: 255 seconds)]
zagy1 has joined #nixos
<LnL> won't it help to put postgres on another machine so the io on hydra doesn't affect it?
zagy has quit [(Ping timeout: 255 seconds)]
rly has quit [(Ping timeout: 252 seconds)]
<gchristensen> I don't seem to have io issues, the iowait is 0
eacameron has joined #nixos
proteusguy has quit [(Ping timeout: 260 seconds)]
derjohn_mob has joined #nixos
<LnL> oh, do the build machines upload straight to s3?
rly has joined #nixos
phanimah1sh has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 2 new commits to master: https://git.io/vMD9H
<NixOS_GitHub> nixpkgs/master 24038e6 Robin Gloster: mysql-workbench: rename from mysqlWorkbench, add alias...
<NixOS_GitHub> nixpkgs/master fa79441 Robin Gloster: mysql-workbench: 6.3.7 -> 6.3.8...
<gchristensen> I think it goes builder -> hydra -> s3 but not sure, it definitely doesn't hit the disk
<niksnut> that's right
phanimahesh has quit [(Ping timeout: 260 seconds)]
<niksnut> that's a lot of CPU usage though
<niksnut> could be xz compression though
ryantrinkle has quit [(Ping timeout: 276 seconds)]
<musicmatze> I fail to teach nix-build to do distributed builds...
<gchristensen> hmmm could be, all the CPU usage is in user, and the network is seeing about 50Mps
<musicmatze> I set all the env variables (NIX_BUILD_HOOK, NIX_REMOTE_SYSTEMS and NIX_CURRENT_LOAD) but it keeps tellin me error: unable to start any build; either increase ‘--max-jobs’ or enable distributed builds
reinzelmann has joined #nixos
<LnL> musicmatze: are you using the daemon
ckauhaus has quit [(Read error: Connection reset by peer)]
<musicmatze> LnL: what do you mean?
<LnL> are you using the nix-daemon or a single user install
<musicmatze> I'm on nixos, the debian machines I try to use to build the package where installed via the curl|bash command listed on nixos.org/nix/download.html
<LnL> musicmatze: did you configure it with nix.distributedBuilds in your configuration?
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vMD7I
<NixOS_GitHub> nixpkgs/master 9cb6727 Robin Gloster: treewide: fix evaluation...
<musicmatze> LnL: nope, because I do not want to build my system from it but only builds triggered with nix-build on the commandline ... for development
<LnL> I don't think you can configure it dynamically when using the nix-daemon
proteusguy has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vMD7n
<NixOS_GitHub> nixpkgs/master d9418bf Robin Gloster: eduke32: fix build
<musicmatze> :-(
<LnL> unless the daemon looks at the env variables for trusted users, niksnut?
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to release-16.09: https://git.io/vMD79
<NixOS_GitHub> nixpkgs/release-16.09 cff9154 c74d: agrep: init at 3.41.5...
danharaj has quit [(Ping timeout: 258 seconds)]
teknico has left #nixos []
jsiva has quit [(Ping timeout: 260 seconds)]
<globin> musicmatze: sudo NIX_REMOTE= nix-build ... to not use the daemon
<musicmatze> globin: why do I need sudo?
<globin> either sudo or you need to be in trusted users
<globin> (AFAIK)
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vMDbH
<NixOS_GitHub> nixpkgs/master 9e60e43 Robin Gloster: dvdisaster: fix broken make discovery
xadi has quit [(Ping timeout: 256 seconds)]
sellout- has joined #nixos
<LnL> a trusted user won't have access to write to the store/db right?
<gchristensen> right
<LnL> I thought that was only used for --option flags that are potentially insecure
<musicmatze> but when I try to execute the command without sudo, it tells me that "Nix database directory ‘/nix/var/nix/db’ is not writable: Permission denied"
<globin> musicmatze: that's what the daemon running as root normally does
<musicmatze> ah, okay
<globin> since you're avoiding it you need to be root
<globin> and right, trusted users is something different
roconnor has joined #nixos
<musicmatze> just to be on the right page: Executing the command with sudo won't kill my system in some way? I'm simply bypassing the local nix-daemon, but everything else is fine?
<musicmatze> I'm just playing and I do not want to make my system unstable ..
<musicmatze> globin: so putting myself into the trusted users on my machine won't help?
<LnL> it would be pretty useful to have --option remote-systems /tmp/foo
bin7me has quit [(Remote host closed the connection)]
<gchristensen> hmm
Itkovian has quit [(Ping timeout: 258 seconds)]
<globin> musicmatze: I'd let niksnut or shlevy confirm that, but AFAIK should be safe
<gchristensen> one second
<musicmatze> globin: k, thanks!
<gchristensen> nevermind me :)
<Fare> Is there a known issue with nixpkgs unstable? I get a weird error trying to nixos-rebuild switch: attempt to call something which is not a function but a set, at /root/nixpkgs-channels/lib/trivial.nix
<MoreTea> are you importing nixpkgs yourself somewhere?
<MoreTea> I usually get that error when i do a `with import <nixpkgs>;` instead of `with (import <nixpkgs> {});`
johnsonav has joined #nixos
<manveru> MoreTea: you need `with import <nixpkgs> {};`
<manveru> that {} is important :)
ryantrinkle has joined #nixos
<niksnut> trusted-users just determines which users have special privileges when using the daemon
<niksnut> it doesn't give them direct write access to the store/db
<musicmatze> so it is not an option for me right now, am I right?
<LnL> I thought so, but it would be nice if the daemon used the NIX_ env variables from trusted users
alx741_ has joined #nixos
digitalmentat has joined #nixos
<digitalmentat> domenkozar, are you still looking for a Nix / Haskell dev?
erictapen has quit [(Ping timeout: 245 seconds)]
zagy1 has quit [(Quit: Leaving.)]
<simpson> digitalmentat: It might have been about Hercules.
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vMDpu
<NixOS_GitHub> nixpkgs/master a6ebca4 Robin Gloster: iproute: update fan patches
<digitalmentat> simpson, what is that?
<NixOS_GitHub> [nix] edolstra closed pull request #1183: Nix hangs on network errors when downloading files (master...master) https://git.io/vM08P
alx741 has quit [(Ping timeout: 264 seconds)]
<LnL> I think it's just contracting work
<digitalmentat> I'm asking because I have a friend who is an excellent Haskell developer and has pretty solid experience with NixOS and Hydra at this point
<globin> niksnut: are you aware that images/isos built on hydra don't get pushed to the binary cache?
<maurer> Anyone know if git-new-workdir is available in nixpkgs somewhere?
<maurer> Searching the .nix files doesn't find a mention of it, but in other distros it's frequently lumped in with other extra git utilities
<Phlogistique> maurer: in recent git, git new-workdir has been replaced with git-workdir
<Fare> MoreTea, no, I'm not importing nixpkgs myself. But I have a few with pkgs; statements
<Phlogistique> maurer: ahem, git worktree
<maurer> Phlogistique: On nixos git, git: 'workdir' is not a git command. See 'git --help'.
<maurer> oh
<maurer> worktree
<maurer> OK, thanks, I'll read up, was just familiar with the older tool
<maurer> thanks
<musicmatze> gchristensen: awesome, gonna read that later, thanks for sharing!
<globin> maurer: from my history `git worktree add ../nixpkgs-gcc6 gcc-6`
bfrog has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
<niksnut> globin: everything built on hydra gets pushed to the cache
deepfire has quit [(Ping timeout: 252 seconds)]
trqx_ has joined #nixos
<globin> niksnut: ah the .narinfo is there, but the link on the build page is broken
rmrfroot has joined #nixos
Itkovian has joined #nixos
zagy has joined #nixos
trqx_ has quit [(Quit: WeeChat 1.6)]
alx741_ has quit [(Quit: alx741_)]
alx741 has joined #nixos
Wizek has joined #nixos
trqx_ has joined #nixos
moet has quit [(Quit: leaving)]
<rmrfroot> i was wondering if a quarterly NixOS dev report would of interest to people
<gchristensen> you betcha
<gchristensen> we've got github.com/nixos/nixos-weekly but ... :|
<gchristensen> it is hard :)
<rmrfroot> yeah, i can imagine weekly being hard!
<gchristensen> cc garbas
seppellll has quit [(Ping timeout: 276 seconds)]
deepfire has joined #nixos
<contrapumpkin> niksnut: on the topic of images, did you catch my question yesterday about who runs the ami generation script? is that automated or do you just run it periodically after a release?
<gchristensen> contrapumpkin: pretty sure it is by hand
<contrapumpkin> okay
<globin> niksnut: I found the issue.. needed to specify store_mode additionally to store_uri
<globin> niksnut: the C++ perl uses store_uri, but perl still relies on the old config options
<contrapumpkin> niksnut: I was thinking it might be cool to make it more nix-centric; that is, instead of having the shell script call nix-build repeatedly, have a nix expression that builds all the images and then the shell just iterates over the output and uploads it blindly. Seems like it'd result in less shell and more nix that's easy to reason about (and can be built in hydra, etc.)
<niksnut> globin: yeah, all downloads from hydra.nixos.org are broken
<niksnut> contrapumpkin: I run it manually
<alphor> where is out defined here? http://nixos.org/nix/manual/#sec-build-script it's not in the nix-expr in the section before.
<niksnut> I would actually like NixOps to support AMI generation as a resource type
<gchristensen> contrapumpkin: it only builds the image once and then copies it around
<globin> niksnut: yeah, our hydra had that issue, too
alx741_ has joined #nixos
<niksnut> that would make it easier to keep track of AMIs
<contrapumpkin> gchristensen: there are a few different images though; the HVM-flavored one with partitions, and the PV-flavored one without, etc.
<gchristensen> true
<niksnut> and for people to generate their own AMIs
<contrapumpkin> niksnut: true, although it still seems like there's a pure nix component of generating the image files, then a nixops component of putting them into AWS
<contrapumpkin> and the former part we can do today (I can sketch out what I mean at some point, since I generate a lot of AMIs :P)
<niksnut> well, the image generation *is* pure
<contrapumpkin> yeah that's what I mean
Itkovian has quit [(Read error: Connection reset by peer)]
<contrapumpkin> but I mean taking it a step further to specify the different flavors of images we want to generate in pure nix as well
<contrapumpkin> rather than a shell script that splices in ec2.hvm = true into a command-line parameter
danharaj has joined #nixos
<contrapumpkin> so we'd just evaluate images.ec2-hvm and call a standard AMI uploader on it
<contrapumpkin> or something like that
<contrapumpkin> this will probably be easier if I sketch it out in code :)
alx741 has quit [(Ping timeout: 256 seconds)]
digitalmentat has quit [(Quit: Leaving)]
fresheyeball has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
deepfire has quit [(Ping timeout: 240 seconds)]
<niksnut> well, if NixOps had AMIs as a resource type, I would do something like:
<grantwu> How do I debug nix-env -e not working?
<niksnut> lib.listToAttrs (lib.concatMap (isHVM: map (isEBS: lib.nameValuePair "eu-west-1-${if isHVM then "hvm" else "pv"}-${if isEBS then "ebs" else "s3"}" { image = makeDiskImage { config = ... }; }) [true false]) [true false])
<niksnut> resources.amis = ^
<grantwu> I did nix-env -iA nixpkgs.arduino and I want to undo it
<garbas> gchristensen: rmrfroot: coming this monday. i took me some time to get things in order personally. now i have more time to spend.
<niksnut> and then generate some more resources to copy eu-west-1 AMIs
<rmrfroot> garbas: cool :)
<niksnut> e.g. resources.amis."us-east-1-..." = { copyFrom = resources.amis."eu-west-1..."; }
<contrapumpkin> niksnut: yeah :) I was basically just proposing to put the lib.concatMap (isHVM: ...) expression into its own nix file in the meantime, and to just pull attributes out of it in the script today. Or to flip the direction a bit and to generate simple single-use wrapper scripts that are hardcoded to upload a particular type of image, since the ami script is a bit large and unwieldy today
<contrapumpkin> niksnut: also, at some point we might want to abandon the PV and non-EBS images, since AWS seems to be phasing them out
jgertm has quit [(Ping timeout: 256 seconds)]
<rmrfroot> grantwu: what argument are you using in "nix-env -e"?
<contrapumpkin> anyway, mostly just idle thinking, I mostly care about the image generation itself
<grantwu> the same argument I used for install
<rmrfroot> grantwu: try "nix-env -e arduino"
<grantwu> Okay
<contrapumpkin> niksnut: I have at various points wanted that makeDiskImage _function_ you refer to in your expression above though. I've always found it kind of weird that the image generation is config spliced into the module system rather than a function that takes a config
<grantwu> What does -e stand for anyways?
<contrapumpkin> eliminate? :P
<niksnut> grantwu: erase probably, it comes from rpm
<contrapumpkin> --eradicate
* contrapumpkin shuts up
<rmrfroot> grantwu: according to the man pages "-e" and "--uninstall" are the same.
<rmrfroot> so no idea why it's called "-e" :P
trqx_ has quit [(Quit: WeeChat 1.6)]
deepfire has joined #nixos
<contrapumpkin> niksnut: any idea why images are done via config mixins today rather than a function?
<NixOS_GitHub> [nix] edolstra pushed 5 new commits to master: https://git.io/vMykK
<NixOS_GitHub> nix/master 167d12b Shea Levy: build-remote: Implement in C++
<NixOS_GitHub> nix/master bff3ad7 Shea Levy: build-remote: replace strtoull with stoull to take advantage of C++ error handling
<NixOS_GitHub> nix/master d771c28 Shea Levy: build-remote: Use std::set for feature sets
danielrf has joined #nixos
<niksnut> contrapumpkin: because that's the standard idiom in the NixOS module system
<niksnut> same for the system.toplevel, ISO images, etc.
<niksnut> of course, you can wrap that in a function
<contrapumpkin> yeah, it just seems a bit unwieldy for images and "build products" based off of full system builds
pi3r has quit [(Ping timeout: 248 seconds)]
<niksnut> but that seemed unnecessary
<contrapumpkin> I ran into some annoyances when I wanted to parametrize the amazonImage with something like "extra store paths"
<contrapumpkin> I added a module option for it but it's kind of a roundabout way to do it
<niksnut> that sounds like system.extraDependencies
<contrapumpkin> oh, perhaps!
<rmrfroot> grantwu: were you able to uninstall arduino?
<grantwu> I'll try that later - currently in Windows for class
goibhniu has quit [(Ping timeout: 245 seconds)]
<rmrfroot> grantwu: alright, just a short heads up: when you use "nix-env -iA nixpkgs.arduino" you are installing the package from it's *attribute-path*. when you use "nix-env -e" it expects the package name, and not the attribute path. that's why it didn't work for you.
<sphalerite> I'm using builtins.filterSource to remove the .git directory from a git repo that I'm putting a nix expression in, but the project inserts the git hash into its version string. Is it possible to give the build access to the git hash without pulling in the project's entire history?
<MoreTea> @sphalerite, either remove that line from the build script, or use leaveDotGit/deepClone (see https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/fetchgit/default.nix#L14-L18)
deepfire has quit [(Ping timeout: 240 seconds)]
fadenb has quit [(Quit: WeeChat 1.6)]
fadenb has joined #nixos
nschoe has quit [(Quit: Program. Terminated.)]
MoreTea has quit [(Ping timeout: 256 seconds)]
derjohn_mob has quit [(Ping timeout: 248 seconds)]
<sphalerite> MoreTea: I want to have the git rev in the version line; the default.nix is within the repo, so I just use src = builtins.filterSource (p: t: p != ".git") ./.; what I'm trying to achieve is a smaller source closure while still getting the git rev in the version string
<sphalerite> Getting the version string at all isn't an issue, it's getting it without pulling a huge and very stateful directory into the source derivation
<Biappi> the time has come! i finally "need" a linux vm, i'd like to try to use nixos instead of a barebones debian
<contrapumpkin> Biappi: \o/
alx741 has joined #nixos
<contrapumpkin> what's the magic incantation I pass to nix-hash to make it behave like a fixed-output derivation?
alx741_ has quit [(Ping timeout: 240 seconds)]
tvon has joined #nixos
<contrapumpkin> ah forgot to use +x
mudri has quit [(Ping timeout: 245 seconds)]
endformationage has joined #nixos
[0x4A6F] has joined #nixos
<Baughn> How would I add an envvar to the system environment in a nixos module?
[0x4A6F]1 has joined #nixos
contrapumpkin has quit [(Quit: Page closed)]
MP2E has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vMyYw
<NixOS_GitHub> nixpkgs/master 87a5de0 Peter Simons: LTS Haskell 7.16
<NixOS_GitHub> nixpkgs/master db4bcbe Peter Simons: hackage-packages.nix: automatic Haskell package set update...
[0x4A6F] has quit [(Ping timeout: 255 seconds)]
[0x4A6F]1 is now known as [0x4A6F]
<Fare> rpm -e == --erase
<Fare> nix-env copied the rpm shorthand.
<Fare> is nixos unstable working for y'all?
<Baughn> Mostly.
wirrbel has joined #nixos
<Baughn> Occasional bugs, but that's to be expected.
plumps has joined #nixos
<Ralith> my display manager wouldn't start last time I tried it, but that was a few months ago
t7 has joined #nixos
acarrico has quit [(Ping timeout: 276 seconds)]
ennui has joined #nixos
mudri has joined #nixos
<Fare> oh, trivial.nix already does the inheritance things.
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vMyOu
<NixOS_GitHub> nixpkgs/master 1708d4d Jörg Thalheim: python27Packages.xmpppy: fix ssl socket api
<NixOS_GitHub> nixpkgs/master 6762884 Jörg Thalheim: python27Packages.jabberbot: init at 0.16
rly has quit [(Ping timeout: 264 seconds)]
<wirrbel> I am currently taking a look at nixops
<wirrbel> taking the example for deploying to virtualbox vm here: https://nixos.org/nixops/manual/#idm140737319345872
<wirrbel> it seems that the machine has valgrind installed, although its not specifically installed (only mentioned in the documentroot)
<wirrbel> I would have expected a more minimal system
athan has joined #nixos
slyfox has quit [(Read error: Connection reset by peer)]
slyfox has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz deleted black@2016-09-01 at bde2351: https://git.io/vMy31
<NixOS_GitHub> [nixpkgs] fpletz deleted black@2016-08-31 at 78e9bc7: https://git.io/vMy3S
<NixOS_GitHub> [nixpkgs] fpletz deleted black@2016-06-02 at 88745d6: https://git.io/vMy3Q
<gchristensen> oh nice fpletz
zraexy has joined #nixos
<fpletz> probably pushed by mistake
<fpletz> they were popping at a git describe and totally confused me :)
zraexy has quit [(Client Quit)]
<NixOS_GitHub> [nixpkgs] Baughn opened pull request #21992: ipfs: Set IPFS_PATH globally when daemon is enabled (master...ipfs-env) https://git.io/vMys3
deepfire has joined #nixos
[0x4A6F] has quit [(Remote host closed the connection)]
[0x4A6F] has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vMyGa
<NixOS_GitHub> nixpkgs/staging 5326cb7 Vladimír Čunát: webkit: security 2.14.2 -> 2.14.3...
zugzug has joined #nixos
zugzug has quit [(Changing host)]
zugzug has joined #nixos
vaibhavsagar has joined #nixos
<vaibhavsagar> hi, I'm having trouble including a non-Hackage Haskell project in another project, can anyone tell me where I'm going wrong?
jensens has quit [(Ping timeout: 256 seconds)]
mudri has quit [(Ping timeout: 240 seconds)]
<jophish_> vaibhavsagar: it would be good to see your nix code. Just a second, I'll post an example of me doing this
<jophish_> there are loads of custom packages being used here
<jophish_> hmm, actually there are not any :|
<jophish_> they are all hackage overrides :)
<jophish_> oh no, look at opaleye-gen
<jophish_> that gets the source from github, and puts it into the haskell package set
<schoppenhauer> hm. I am trying to run a binary package, and I get a list of libraries it tries to load via ldd. however, it does not find the packages when I install them via nix-shell --pure -p ...; what do I have to do to make them find them?
<schoppenhauer> I would have guessed that nix-shell automatically sets the library paths
<schoppenhauer> but apparently I missunderstund something
danielrf has quit [(Remote host closed the connection)]
<gchristensen> schoppenhauer: you need to patchelf the binary
deepfire has quit [(Ping timeout: 245 seconds)]
<schoppenhauer> gchristensen: but the binary does not have absolute paths
<gchristensen> schoppenhauer: the binary is probably only looking in /usr/lib /usr/local/lib etc.
benwbooth has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<schoppenhauer> so I thought it would search according to some library path
<schoppenhauer> gchristensen: but ldd finds some of the libraries I installed.
<schoppenhauer> gchristensen: so it apparently doesn't
<schoppenhauer> gchristensen: also: how can I find out, inside a nix-shell, the library path of some package?
simendsjo has joined #nixos
<schoppenhauer> gchristensen: I am not creating a shell via nix-instantiate yet (because I need to find out what this binary actually does first)
<gchristensen> I don't know how to do that
<vaibhavsagar> thanks jophish_!
c0bw3b has joined #nixos
<vaibhavsagar> I thought it would be as easy as editing my release.nix file like so: https://github.com/Gabriel439/haskell-nix/blob/master/project1/README.md#changing-versions
<schoppenhauer> hm probably pkg-config
danielrf has joined #nixos
pi3r has joined #nixos
tvon has quit [(Quit: System is sleeping...)]
tvon has joined #nixos
benwbooth has joined #nixos
LUuM has joined #nixos
magnetophon has quit [(Ping timeout: 276 seconds)]
acarrico has joined #nixos
justbeingglad has joined #nixos
zagy has quit [(Quit: Leaving.)]
LUuM has quit [(Quit: Leaving)]
<endformationage> schoppenhauer: I found this to be helpful: https://sandervanderburg.blogspot.com/2015/10/deploying-prebuilt-binary-software-with.html
vaibhavsagar has quit [(Ping timeout: 248 seconds)]
<NixOS_GitHub> [nixpkgs] bjornfor pushed 2 new commits to master: https://git.io/vMy4L
<NixOS_GitHub> nixpkgs/master c200623 Bjørn Forsman: Fix evaluation (xmpppy: use correct 'licenses' attr)...
<NixOS_GitHub> nixpkgs/master 1b5d5e3 Bjørn Forsman: nmap-graphical: rename from nmap_graphical...
<schoppenhauer> ok
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
mudri has joined #nixos
[0x4A6F] has joined #nixos
deepfire has joined #nixos
pie__ has quit [(Ping timeout: 240 seconds)]
<schoppenhauer> hm. do you have any idea where to find libstdc++.so.6 ?
<schoppenhauer> or in which package?
petar_ is now known as petar
<schoppenhauer> I found /nix/store/gs36amglhgii6i9nb7wrlps2lnvcq4f6-gcc-5.4.0-lib/lib/libstdc++.so.6
feepo has joined #nixos
justbeingglad has left #nixos []
<schoppenhauer> Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != NULL' failed! ← any ideas what to do about that?
ilja_kuklic has joined #nixos
<musicmatze> I just checked nixpkgs into IPFS (as of commit 1b5d5e3913f3b1b736aebb06f99c57968370cb62) -> QmX2kDtGchPbdnoofRyUavwb9HtjMXSLo4YgMXT2CmVsa8
<musicmatze> if someone wants to play :-)
<musicmatze> going to pin it on a second machine, to be able to have a even faster distribution :-)
zagy has joined #nixos
jsgrant- has joined #nixos
jsgrant- has quit [(Remote host closed the connection)]
alx741 has quit [(Quit: alx741)]
k0001 has joined #nixos
alx741 has joined #nixos
gciolli has joined #nixos
<gchristensen> a few people I've talked to think NixOS doesn't have X11 support
mbrgm has quit [(Quit: ZNC 1.6.3 - http://znc.in)]
<Yaniel> I guess that's because the ideology behind nix is still too novel for them
derjohn_mob has joined #nixos
<lassulus> musicmatze: does nix with ipfs already work?
<musicmatze> lassulus: not that I'm aware of.
<musicmatze> we had a link to a blog post earlier today.
<musicmatze> I just imported the nixpkgs repository into IPFS
<lassulus> I saw the pull request in the nix repo
<musicmatze> lassulus: It was posted by gchristensen, here it is: https://sourcediver.org/blog/2017/01/18/distributing-nixos-with-ipfs-part-1/
<musicmatze> yep. I'm so super excited about this, I hope it will happen within the next few months (early prototype) ... I would allocate all my cloud-ressources at my university I can get to host nix packages! :-)
<mguentner> lassulus, musicmatze: the PR is already out of date
<musicmatze> mguentner: what do you mean?
<schoppenhauer> in an interactive nix-shell, how do I find out the install path of a package?
mkoenig_ has joined #nixos
<musicmatze> schoppenhauer: you mean in a "nix-shell -p <somepkg>"?
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
<schoppenhauer> musicmatze: yes
<musicmatze> schoppenhauer: type `which <pkgname>` .. ?
<mguentner> musicmatze: I want to write a binary cache class for IPFS so that '/ipns/example.com/HASH' will work as a path
<musicmatze> mguentner: okay. But why is that other PR outdated?
<schoppenhauer> musicmatze: which only finds the paths of commands
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
<musicmatze> schoppenhauer: yes, but you could strip the /bin/<binary> part, right?
<musicmatze> or am I getting something wrong here?
mkoenig has quit [(Ping timeout: 240 seconds)]
<mguentner> musicmatze: it's not out of date, it just doesn't reflect the current state of development ;)
<schoppenhauer> musicmatze: there *is* no binary to call, it is a library
<musicmatze> ah,... sure. :-/ then I do not know
<musicmatze> mguentner: okay... so that means the state I know is old ... which is good! :-)
<mguentner> musicmatze: I am waiting for IPFS 0.4.5 (should be out next week)
<musicmatze> sounds awesome
<musicmatze> is there a github repo I can star/follow?
<musicmatze> :-)
sdothum has joined #nixos
<mguentner> musicmatze: I will push the relevant bits soon, will highlight you once it's done
zagy has quit [(Quit: Leaving.)]
<schoppenhauer> my main problem currently is to find the path of libstdc++6.so.1
<musicmatze> mguentner: thanks! Nice! I hope I can try it out then
<schoppenhauer> libstdc++.so.6 I mean
<schoppenhauer> and there are lots of such files cluttered everywhere around
mexisme2 has joined #nixos
<schoppenhauer> hm. maybe I should consult the mailinglist
mexisme has quit [(Ping timeout: 264 seconds)]
athan has quit [(Remote host closed the connection)]
kampfschlaefer has joined #nixos
athan has joined #nixos
AllanEspinosa has joined #nixos
glines has joined #nixos
athan has quit [(Remote host closed the connection)]
reinzelmann has joined #nixos
derjohn_mob has quit [(Read error: Connection reset by peer)]
deepfire has quit [(Ping timeout: 258 seconds)]
civodul has joined #nixos
pi3r has quit [(Ping timeout: 240 seconds)]
deepfire has joined #nixos
wirrbel has quit [(Ping timeout: 255 seconds)]
LUuM has joined #nixos
phanimahesh has joined #nixos
<copumpkin> niksnut: any thoughts on shlevy's question on https://github.com/NixOS/nix/issues/520? I'd love for that to get some love, as I think it could resolve a lot of open awkwardness in nix
<gchristensen> copumpkin: would we blacklist this from nixos/nixpkgs?
jensens has joined #nixos
<copumpkin> not necessarily, depending on how we do it
<copumpkin> but in part, definitely
<pareidolia> This does not work (from the documentation) : nix-env -f "<nixpkgs>" -qaP -A beamPackages
<pareidolia> What should I do instead?
phanimah1sh has quit [(Ping timeout: 255 seconds)]
<gchristensen> aye, like I can see it making sense in use for the updater.nix scripts garbas is working on, but having it used in any sort of package declarations would be maddening
<copumpkin> well, the point would be for it to be very obvious when it happens
<copumpkin> but yes, you'd be able to block it
<copumpkin> it'd basically be another category at the top of a build
<copumpkin> in addition to things being fetched and built
<gchristensen> I don't mean blocking, I mean by policy saying we can't use this in packages
<copumpkin> but I see channels/fetchTarball being a special case of this
<copumpkin> I know
<copumpkin> but what I mean is that if we do do updater.nix machinery, the nondeterministic derivation would produce "lock files", which we could then force the inclusion of into nixpkgs
<gchristensen> neat
<copumpkin> anyway, this is all hypothetical, but I think it could be a nice approach to the auto-updating packages
<copumpkin> and fairly principled
<copumpkin> I can sketch out what I think it would look like
<copumpkin> I should probably flesh it out :) not sure that ticket really covers the full idea
glines has quit [(Ping timeout: 248 seconds)]
<copumpkin> anyway, mostly just want to make sure niksnut is on the same page at the highest level, and then we can flesh out details
<copumpkin> the usual "this is potentially a big thing, and I don't want to do a bunch of work and have you hate it"
bennofs has joined #nixos
<pareidolia> Some help please
<simpson> pareidolia: One second, trying out a possibly-simpler command.
<simpson> pareidolia: So, I guess that there must be something broken, 'cause I get: error: anonymous function at /nix/store/wr6ykxik44g72y5pid0p9074bb8q3k2l-nixos-17.03pre98008.59dbcef/nixos/pkgs/development/beam-modules/hex-packages.nix:1550:9 called without required argument ‘redix_0_3_6’, at /nix/store/wr6ykxik44g72y5pid0p9074bb8q3k2l-nixos-17.03pre98008.59dbcef/nixos/lib/customisation.nix:56:12
<pareidolia> Same here
<simpson> But maybe this only affects one particular package?
<pareidolia> It works for lispPackages
<simpson> I mean that there's probably only a couple broken BEAM packages, but trying to evaluate the full package set is all-or-nothing.
c0bw3b has left #nixos []
lezed1 has joined #nixos
Itkovian has joined #nixos
GiGa|Laptop has joined #nixos
<GiGa|Laptop> Hello all
<GiGa|Laptop> Since installing the nvidia driver I don't get a graphical environment on boot
<GiGa|Laptop> just trying to find some logs at the moment
<GiGa|Laptop> but any advice?
bennofs has quit [(Quit: WeeChat 1.6)]
<simpson> I'd stick to nouveau, but I haven't messed with graphics in a long time.
<GiGa|Laptop> nouveau 0000:01:00.0: DRM: Pointer to TMDS table invalid
<simpson> Hm. That does not sound good.
<GiGa|Laptop> I'll be honest I don't understand what it's saying
pi3r has joined #nixos
<GiGa|Laptop> simpson, so you'd suggest making this: services.xserver.videoDrivers = [ "nvidia" ];
<simpson> TMDS is a thing on the GPU that helps send signals to digital monitors. DRM in this context is Direct Rendering Manager, the part of the kernel that manages GPUs.
<GiGa|Laptop> this: services.xserver.videoDrivers = [ "nouveau" ];
<GiGa|Laptop> oh, that doesn't sound very good
<GiGa|Laptop> nouveau 0000:01:00.0: DRM: Pointer to flat panel table invalid
<simpson> Yes, I would seriously consider trying it. If nothing else, it's more likely to get you a graphical 2D environment.
<GiGa|Laptop> OK, one sec
<GiGa|Laptop> I'll likely need to reboot too
<simpson> Those might be warnings; if you don't have a flat panel (probably laptop screen adapter), then it's just saying that the GPU doesn't have it.
<GiGa|Laptop> This is indeed a laptop
<simpson> Welp. Who knows.
<GiGa|Laptop> right, back in a mo, just rebooting
deepfire has quit [(Ping timeout: 248 seconds)]
GiGa|Laptop has quit [(Remote host closed the connection)]
wirrbel has joined #nixos
GiGa|Laptop has joined #nixos
<GiGa|Laptop> simpson, ok, if I set the config to "nouveau" rather than "nvidia" I get the same behaviour
<simpson> GiGa|Laptop: Hm. I'm sorry, but this is about the limits of what I know about nVidia and Linux. :c
<GiGa|Laptop> no worries,
<GiGa|Laptop> I think this entire OS build is a bit weird, something must have gone wrong
<GiGa|Laptop> when I start steam it runs "lspci" which never finishes. Something very strange is happening
<Ralith> if lspci hangs your hardware is probably buggy
mbrgm has joined #nixos
<gchristensen> or your kernel module is in a bad state
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<lezed1> I have a quick question about network interfaces. I have two ethernet interfaces on a machine, and I can't figure out how to set the interface names for each one (I'm not sure the names are predictable right now).
<lezed1> Is there a way to configure each one (one static, one with a set MAC)?
GiGa|Laptop has quit [(Ping timeout: 240 seconds)]
reinzelmann has quit [(Quit: Leaving)]
Unode has joined #nixos
GiGa|Laptop has joined #nixos
GiGa|Laptop has quit [(Remote host closed the connection)]
ckauhaus has joined #nixos
simendsjo has quit [(Quit: ERC (IRC client for Emacs 24.5.2))]
LUuM has quit [(Quit: Leaving)]
maurer has quit [(Remote host closed the connection)]
maurer has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vMyXd
<NixOS_GitHub> nixpkgs/master 003ae42 Graham Christensen: packet: init at 20161215-2b8f07a...
goibhniu has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vMy1V
<NixOS_GitHub> nixpkgs/master 10cfe94 Matthew Justin Bauer: xcbuild: 0ab861ab -> 0.1.1 (#21895)...
<gchristensen> thanks, globin, for fixing the license there
derjohn_mob has joined #nixos
[0x4A6F] has joined #nixos
goibhniu has quit [(Ping timeout: 245 seconds)]
Itkovian has joined #nixos
[0x4A6F]1 has joined #nixos
gciolli has quit [(Remote host closed the connection)]
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
[0x4A6F]1 is now known as [0x4A6F]
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
rmrfroot has quit [(Remote host closed the connection)]
sdothum has joined #nixos
johnsonav has quit [(Ping timeout: 255 seconds)]
ckauhaus has quit [(Quit: Leaving.)]
Wizek has quit [(Ping timeout: 256 seconds)]
[0x4A6F]1 has joined #nixos
[0x4A6F] has quit [(Ping timeout: 245 seconds)]
[0x4A6F]1 is now known as [0x4A6F]
glines has joined #nixos
danielrf has quit [(Read error: Connection reset by peer)]
reinzelmann has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #19139: php: build embedded, uwsgi: enable php plugin (master...uwsgi-php) https://git.io/vPth9
reinzelmann has quit [(Client Quit)]
<globin> gchristensen: no worries :)
hiratara has joined #nixos
alx741 has quit [(Ping timeout: 252 seconds)]
<gchristensen> globin: re my don't-merge patch fix, it can be merged ... I was testing https://prs.nix.gsc.io/project/nixos and waiting for it to finish, but it has
alx741 has joined #nixos
<globin> gchristensen: ok thanks :)
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vMy9D
<NixOS_GitHub> nixpkgs/master a927abb Graham Christensen: qt55.qtbase: fix patch sha with fetchpatch instead of fetchurl
wirrbel has quit [(Ping timeout: 255 seconds)]
exi has joined #nixos
cpennington has quit [(Remote host closed the connection)]
tvon has quit [(Ping timeout: 240 seconds)]
<grantwu> Is there a quiet switch for nix-env?
MichaelRaskin has joined #nixos
[0x4A6F] has quit [(Quit: [0x4A6F])]
danielrf has joined #nixos
AllanEspinosa has quit [(Ping timeout: 252 seconds)]
deepfire has joined #nixos
<maurer> grantwu: I'm not aware of one. Can you give me the context where you think you want nix-env to be silent?
tvon has joined #nixos
<grantwu> Well, for example, I just did nix-env -i meld
<grantwu> And I got ~500 lines of output
lezed1 has quit [(Remote host closed the connection)]
<grantwu> Should I be getting the curl status dispaly for every download?
<dtz> does "-Q" help with that?
<Ralith> grantwu: `man nix-build` shows -Q
<Ralith> most nix commands also accept nix-build options
<maurer> -Q will only suppress build output, which is why I was asking for more information
<maurer> the status messages etc. from nix-env will still show up aiui
<maurer> but this will remove the compile logs you were talking about
lezed1 has joined #nixos
alx741 has quit [(Ping timeout: 276 seconds)]
lezed1 has quit [(Remote host closed the connection)]
lezed1 has joined #nixos
hiratara has quit [(Quit: ZNC - http://znc.in)]
hiratara has joined #nixos
<LnL> can somebody restart http://hydra.nixos.org/build/46503854
alx741 has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vMybC
<NixOS_GitHub> nixpkgs/master f4bff9d Robin Gloster: freepv: 0.3.0_beta1 -> 0.3.0, fix build
mudri has quit [(Ping timeout: 258 seconds)]
rahul_ has joined #nixos
c74d has quit [(Ping timeout: 240 seconds)]
JagaJaga has quit [(Ping timeout: 264 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
rahul_ has left #nixos []
rahul has joined #nixos
mudri has joined #nixos
hiawatha has quit [(Quit: WeeChat 1.0.1)]
wirrbel has joined #nixos
zraexy has joined #nixos
altphi has quit [(Quit: altphi)]
panostimos has quit [(Ping timeout: 255 seconds)]
Itkovian has joined #nixos
civodul has quit [(Remote host closed the connection)]
wirrbel has quit [(Ping timeout: 240 seconds)]
ericsagnes has joined #nixos
danielrf has quit [(Ping timeout: 240 seconds)]
pi3r has quit [(Quit: Nettalk6 - www.ntalk.de)]
zagy has joined #nixos
Kingsquee has joined #nixos
zagy has quit [(Ping timeout: 256 seconds)]
seanz has joined #nixos
<ericbmerritt_> I did a nix-copy-closure to get some package onto a secondary nix box. How do I make those packages part of the users environmen. `nix-env -i` doesn't find them (as I would expect)
ilja_kuklic has quit [(Ping timeout: 252 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
xadi has joined #nixos
Itkovian has joined #nixos
<NixOS_GitHub> [nixops] Nadrieril opened pull request #587: libvirt: Allow control over boot image configuration (master...libvirt-boot-config) https://git.io/vMyjD
xadi has quit [(Client Quit)]
Lowl3v3l has quit [(Ping timeout: 258 seconds)]
deepfire has quit [(Ping timeout: 255 seconds)]
lezed1 has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vMSeC
<NixOS_GitHub> nixpkgs/master 0f86750 Robin Gloster: mpir: add patch to account for sed update
jason has joined #nixos
jason is now known as Guest24974
<Guest24974> I am trying to build opencv with cuda on nixos. And I keep getting impure path `/lib64/libz.so' used in link
zraexy has quit [(Quit: Leaving.)]
Fare has quit [(Quit: Leaving)]
<Guest24974> https://hastebin.com/mipixicune.bash this is my default.nix
Itkovian_ has joined #nixos
Itkovian has quit [(Ping timeout: 248 seconds)]
<Unode> Is there a rar/unrar package in nix? I seem to be having a hard time figuring out what package contains it, if any.
<Ralith> Unode: set allowUnfree = true
<LnL> unrar, but it's unfree
Itkovian_ has quit [(Client Quit)]
<Unode> Hum... I have nixpkgs.config.allowUnfree = true on my configuration.nix, but nix-env still refuses.
cgdub has joined #nixos
<LnL> nix-env only looks at ~/.nixpkgs/config.nix
lezed1 has joined #nixos
<Ralith> nix-env uses your ~/.nixpkgs/config.nix
<Ralith> (yes, this is dumb)
<Unode> oh I should have red the warning better. I didn't know about this distinction. Thanks for the clarification
endformationage has quit [(Quit: WeeChat 1.5)]
indi_ has joined #nixos
<Unode> on another note, I'm still having weird kerning issues with some fonts. I also toggle options on configuration.nix but they don't seem to have an effect, specially in browsers such as chromium.
lezed1 has quit [(Ping timeout: 245 seconds)]
<Unode> The wiki page on fonts reports as outdated. Is there some other up-to-date source that could be of use?
ennui has quit [(Ping timeout: 255 seconds)]
rjsalts has quit [(Quit: Coyote finally caught me)]
estewei has quit [(Quit: Quit)]
rjsalts has joined #nixos
athan has joined #nixos
<Ralith> are you sure it's kerning, and not just a matter of not having very good fonts installed?
mbrgm has quit [(Quit: ZNC 1.6.3 - http://znc.in)]
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vMSfa
<NixOS_GitHub> nixpkgs/master 0387e10 Robin Gloster: gmuc: 0.7.2 -> 0.10.1
* Ralith has approximately `fonts.fonts = [pkgs.dejavu_fonts pkgs.noto-fonts pkgs.noto-fonts-emoji]`
mbrgm has joined #nixos
lezed1 has joined #nixos
ertesx has joined #nixos
ertes has quit [(Ping timeout: 240 seconds)]
ertesx is now known as ertes
Kingsquee has quit [(Ping timeout: 260 seconds)]
feepo has quit [(Quit: Connection closed for inactivity)]
<NixOS_GitHub> [nixpkgs] jwiegley pushed 1 new commit to master: https://git.io/vMSUv
<NixOS_GitHub> nixpkgs/master 35aebd4 John Wiegley: haskellPackages.servant_09_1_1,servant-client_0_9_1_1: update http-api-data reference
lezed1 has quit [(Ping timeout: 255 seconds)]
seanz has quit [(Quit: Leaving.)]
lezed1 has joined #nixos