Kingsqueee has joined #nixos
<Ralith> oh
Guest21099 has quit [(Ping timeout: 252 seconds)]
<c74d> I'm pretty sure it didn't do that when I used Mutt, although the official Gmail/Inbox clients do
Kingsquee has quit [(Ping timeout: 245 seconds)]
erasmas has quit [(Quit: leaving)]
<gchristensen> it adds this to my message: https://gist.github.com/grahamc/d910d73ba746af0334899c1bda3fd0a7
<c74d> oh, that; apologies
<gchristensen> it is okay :)
Shou has joined #nixos
seanz has quit [(Quit: Leaving.)]
SovereignBleak has quit [(Ping timeout: 240 seconds)]
monad_cat has quit [(Ping timeout: 240 seconds)]
nz has quit [(Read error: Connection reset by peer)]
modafinil has quit [(Read error: Connection reset by peer)]
andrewrk has quit [(Ping timeout: 240 seconds)]
ktosiek has quit [(Quit: No Ping reply in 180 seconds.)]
k0001 has quit [(Read error: Connection reset by peer)]
statusfailed has quit [(Ping timeout: 248 seconds)]
Vorpal has quit [(Ping timeout: 240 seconds)]
s1lvester has quit [(Ping timeout: 240 seconds)]
kyren has quit [(Ping timeout: 240 seconds)]
statusbot has quit [(Ping timeout: 240 seconds)]
ok2` has joined #nixos
bara1 has quit [(Ping timeout: 240 seconds)]
ikwildrpepper has quit [(Ping timeout: 240 seconds)]
ktosiek has joined #nixos
anderslundstedt has quit [(Ping timeout: 240 seconds)]
oida has quit [(Ping timeout: 240 seconds)]
zml has quit [(Ping timeout: 240 seconds)]
mood has quit [(Ping timeout: 240 seconds)]
Nycatelos has quit [(Ping timeout: 240 seconds)]
statusfailed has joined #nixos
anderslundstedt has joined #nixos
ok2 has quit [(Ping timeout: 240 seconds)]
modafinil has joined #nixos
k0001 has joined #nixos
nz has joined #nixos
ikwildrpepper has joined #nixos
kyren has joined #nixos
mood has joined #nixos
Nyx has joined #nixos
andrewrk has joined #nixos
Nyx is now known as Guest47665
s1lvester has joined #nixos
Guest47665 has quit [(Remote host closed the connection)]
monad_cat has joined #nixos
Nycatelos has joined #nixos
zml has joined #nixos
pingveno has joined #nixos
oida has joined #nixos
bara1 has joined #nixos
SovereignBleak has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 5 new commits to master: https://git.io/vMRMY
<NixOS_GitHub> nixpkgs/master cae067f Matthew Bauer: transmission: add enableSystemd flag...
<NixOS_GitHub> nixpkgs/master 30eed55 Matthew Bauer: transmission: add enableCli flag
<NixOS_GitHub> nixpkgs/master 976aed8 Matthew Bauer: transmission: add enableDaemon flag
Vorpal has joined #nixos
Vorpal has quit [(Changing host)]
Vorpal has joined #nixos
Twey has quit [(Ping timeout: 240 seconds)]
Twey has joined #nixos
t7 has quit [(Quit: ChatZilla 0.9.93 [Firefox 49.0/20160928160550])]
alunduil has joined #nixos
<pikajude> anyone here know how to add inputs to a jobset in hydra?
<pikajude> ahh, found it
<pikajude> manually added two inputs using curl and then they showed up
<alunduil> I'm finally (yes I know I'm late to this party) getting around to updating to 16.09 but am running into an error when doing the switch --upgrade:
<alunduil> download of ‘https://cache.nixos.org/nar/1f3q870pjk5wp77ggbgrlwp6s0klhr27z1ys76hf5cw68in5dvq9.nar.xz’ failed: No such file or directory
<alunduil> Looks like it might be this: could not download ‘/nix/store/xkmvslxmwhl1y1jhd968ppx7hlcrw32c-strace-4.13’ from any binary cache
<alunduil> Anyone have pointers or ideas? I'm slightly tempted to simply drop strace from the configuration but that doesn't seem necessary.
pstn has quit [(Ping timeout: 240 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
k2s has quit [(Ping timeout: 240 seconds)]
markus1199 has joined #nixos
Wizek has quit [(Ping timeout: 245 seconds)]
Wizek_ has quit [(Ping timeout: 252 seconds)]
markus1189 has quit [(Ping timeout: 252 seconds)]
Guest21099 has joined #nixos
acowley_away is now known as acowley
Shou has quit [(Ping timeout: 248 seconds)]
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #21462: Fontconfig for Android Studio (master...android-studio) https://git.io/vMTCB
<NixOS_GitHub> [nixpkgs] grahamc pushed 5 new commits to master: https://github.com/NixOS/nixpkgs/compare/e5906592950b...acc889f5ed82
<NixOS_GitHub> nixpkgs/master 4e513cb Hoang Xuan Phu: android-studio: no need for jdk anymore...
<NixOS_GitHub> nixpkgs/master 1f67c17 Hoang Xuan Phu: android-studio: rearrange dependencies
<NixOS_GitHub> nixpkgs/master d849f00 Hoang Xuan Phu: android-studio: reindent wrapProgram parameters
acarrico has joined #nixos
alx741_ has joined #nixos
alx741 has quit [(Ping timeout: 258 seconds)]
stepcut has joined #nixos
eacamero_ has joined #nixos
mguentner has quit [(Ping timeout: 248 seconds)]
mudri has quit [(Quit: WeeChat 1.6)]
eacameron has quit [(Ping timeout: 258 seconds)]
eacamero_ has quit [(Ping timeout: 248 seconds)]
mguentner has joined #nixos
alunduil has quit [(Quit: leaving)]
systemfault has quit [(Quit: Bye!)]
ilja_kuklic has quit [(Ping timeout: 258 seconds)]
matthewbauer has quit [(Ping timeout: 240 seconds)]
systemfault has joined #nixos
ragge has joined #nixos
<Rotaerk> could anyone help with this error? https://ptpb.pw/n2WN
<Rotaerk> trying to build a haskell project, and i'm overriding gtk2hs-buildtools to be a different version
<Rotaerk> if I don't override, it builds fine; if I do, it can't find gtk2hs-buildtools when building ...
mguentner has quit [(Ping timeout: 240 seconds)]
Wizek has joined #nixos
Wizek_ has joined #nixos
matthewbauer has joined #nixos
mguentner has joined #nixos
<Rotaerk> I'm not sure if it's even triggering the build of gtk2hs-buildtools
athan has joined #nixos
eacameron has joined #nixos
Willi_Butz has joined #nixos
mguentner has quit [(Ping timeout: 258 seconds)]
mguentner has joined #nixos
Guest21099 has quit [(Ping timeout: 255 seconds)]
<NixOS_GitHub> [nixpkgs] acowley opened pull request #21794: atlas: change platforms to unix (master...atlas-platforms) https://git.io/vMRdH
<Rotaerk> peti, might you have any idea?
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #21794: atlas: change platforms to unix (master...atlas-platforms) https://git.io/vMRdH
<NixOS_GitHub> [nixpkgs] grahamc pushed 2 new commits to master: https://github.com/NixOS/nixpkgs/compare/acc889f5ed82...6a9f261a5151
<NixOS_GitHub> nixpkgs/master 084a76e Anthony Cowley: atlas: change platforms to unix...
<NixOS_GitHub> nixpkgs/master 6a9f261 Graham Christensen: Merge pull request #21794 from acowley/atlas-platforms...
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
Lowl3v3l has joined #nixos
zeus_ has quit [(Ping timeout: 260 seconds)]
athan has quit [(Read error: Connection reset by peer)]
<gchristensen> hrm github bot is a bit lazy sometimes apparently
athan has joined #nixos
glines has quit [(Ping timeout: 245 seconds)]
glines has joined #nixos
systemfault has quit [(Quit: Bye!)]
matthewbauer has quit [(Remote host closed the connection)]
matthewbauer has joined #nixos
derjohn_mob has quit [(Ping timeout: 240 seconds)]
acowley is now known as acowley_away
<Rotaerk> hmm, actually, an approach to debugging this occurred to me...
<Rotaerk> I'll make my override assign it to gtk2hs-buildtools' and then return the full hackagePackages set, then look at the store results for both to compare...
alx741_ has quit [(Quit: alx741_)]
alx741 has joined #nixos
lambdame has joined #nixos
<lambdame> I have some issues setting the correct PATH inside a jenkins instance
<lambdame> the default one is not able to find obvious executables, e.g. 'which'
<gchristensen> which isn't isntalled by default
<lambdame> this is what I get
derjohn_mob has joined #nixos
<lambdame> from a shell I get a different $PATH extension, not sure what's the problem
<gchristensen> yeah looks right
<gchristensen> have you configured https://nixos.org/nixos/options.html#services.jenkins.pack?
PragCyphr has joined #nixos
<gchristensen> https://nixos.org/nixos/options.html#services.jenkins.packages *
<NixOS_GitHub> [nixpkgs] jonafato opened pull request #21795: geary: 0.11.2 -> 0.11.3 (master...geary-0.11.3) https://git.io/vMRAt
<lambdame> gchristensen: no, sorry :( new to nixos
<lambdame> installing on my bot today =)
<lambdame> gchristensen: let me take a look
<gchristensen> sure
<lambdame> I assume I need to change /etc/nixos/configuration.nix and re-run nixos-rebuild switch right?
<lambdame> gchristensen: thanks BTW
PragCyph1 has quit [(Ping timeout: 256 seconds)]
<gchristensen> exactly
<gchristensen> you're welcome
<lambdame> pretty cool
<gchristensen> I sure think so :)
<lambdame> NixOS is completely different from everything else I tried so far
alx741 has quit [(Quit: alx741)]
<gchristensen> yup. do you find it refreshing yet? ;)
alx741 has joined #nixos
mbrgm has quit [(Ping timeout: 240 seconds)]
mbrgm has joined #nixos
mkoenig has quit [(Ping timeout: 252 seconds)]
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #21795: geary: 0.11.2 -> 0.11.3 (master...geary-0.11.3) https://git.io/vMRAt
mkoenig has joined #nixos
georges-duperon has quit [(Ping timeout: 252 seconds)]
<lambdame> ugh
<lambdame> collision between ‘/nix/store/jingja4gf0iyh4pbnwl104b5fas3njbs-llvm-3.8.1/lib/LLVMgold.so’ and ‘/nix/store/7jvkd78alp6697pwha5wmxgawp3q9c0l-clang-3.7.1/lib/LLVMgold.so’; use ‘nix-env --set-flag priority NUMBER PKGNAME’ to change the priority of one of the conflicting packages
<gchristensen> lambdame: in a few hours, #nixos will be a bit more active with people :) I've got to go to bed.
Guest91536 is now known as josePhoenix
josePhoenix is now known as Guest24049
<Ralith> lambdame: why are you trying to place llvm 3.8.1 and clang 3.7.1 in the same environment?
taylorl has joined #nixos
taylorl has quit [(Client Quit)]
<lambdame> Ralith: because there's no clang 3.8.1
shanemikel has joined #nixos
nekroze has joined #nixos
<Ralith> lambdame: isn't there?
athan has quit [(Remote host closed the connection)]
<nekroze> I am having issues with nixops not being able to ssh if I specify `users.users.root.openssh.authorizedKeys.keyFiles` but then i can ssh in with the key that I specify. I can't figure out how to get it to accept both.
<Ralith> lambdame: see also nixos.clang_38
ublubu has quit [(Ping timeout: 248 seconds)]
hexagoxel has quit [(Ping timeout: 258 seconds)]
hexagoxel has joined #nixos
justanotheruser has joined #nixos
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
ublubu has joined #nixos
mizu_no_oto has joined #nixos
<lambdame> uh, I think I hit this https://github.com/NixOS/nixpkgs/issues/18839
<lambdame> collision between ‘/nix/store/dci0fxi2i302agir9b1n8lq532q978q7-binutils-2.27/bin/addr2line’ and ‘/nix/store/4kkdfxqghb7ax6hfsmkfhz97zfwhwcp4-binutils-2.27-dev/bin/addr2line’; use ‘nix-env --set-flag priority NUMBER PKGNAME’ to change the priority of one of the conflicting packages
<lambdame> a package conflicting with itself.
<nekroze> Does anyone know why nixops would no longer be able to ssh into a machine when "users.users.root.openssh.authorizedKeys.keyFiles" is set?
<clever> things like binutils and gcc aremt meant to be installed on nixos
<clever> lambdame: your supposed to just use "nix-shell -p gcc"
Lowl3v3l has quit [(Remote host closed the connection)]
shanemikel has joined #nixos
zeus_ has joined #nixos
<lambdame> clever: thanks!
k0001 has quit [(Quit: Connection closed for inactivity)]
danharaj has quit [(Ping timeout: 240 seconds)]
Kingsqueee has quit [(Excess Flood)]
<lambdame> is there a way to add all packages to the path here ? https://nixos.org/nixos/options.html#jenkins
<lambdame> services.jenkins.packages
<lambdame> so that I don't have to specify them one by one
Kingsqueee has joined #nixos
<lambdame> wondering if [ * ] works
<nekroze> lambdame: even if it did that would imply all packages in nixpkgs. If you mean all system packages set it to "= config.environment.systemPackages"
ryanartecona has joined #nixos
<lambdame> uh
<lambdame> error: The value of the environment variable ‘PATH’ in systemd service ‘jenkins.service’ is too long.
<lambdame> nekroze: that didn't do it
<nekroze> lambdame: lol, uh maybe instead of setting it via the jenkins option which seems to use environment variables you might want to specify "systemd.services.jenkins.path" which takes a list of nixpkgs... not sure if it does the same thing under the hood though
SovereignBleak has quit [(Quit: Connection closed for inactivity)]
roconnor_ has joined #nixos
<nekroze> lambdame: never mind, that does do the same thing
<nekroze> lambdame: is it nixos or systemd that is complaining that the path is too long?
<lambdame> maybe systemd
<lambdame> actually, it's systemd
<lambdame> is there a way to avoid specifying the set of packages entirely?
<nekroze> lambdame: good, greater chance someone else has hit the issue and you may find a solution online
<lambdame> (not fluent with NixOS so that may not make sense)
<nekroze> lambdame: the only other method I could think of is if you add to the PATH environment variable for the systemd unit /run/current-system/...blahblah (or whatever the path is where system binaries are made available) and then it should have access to all programs installed globally. but it would also have access to some more evil programs you probably would't like jenkins using
mguentner has quit [(Quit: WeeChat 1.6)]
<nekroze> does anyone know what is required to setup console/serial access to a libvirt vm created with nixops? I can get a login prompt but it won't let me actually log in
mguentner has joined #nixos
NeQuissimus has quit [(Ping timeout: 258 seconds)]
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
mkoenig has quit [(Read error: Connection reset by peer)]
eacameron has quit [(Ping timeout: 240 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
mkoenig has joined #nixos
ryanartecona has joined #nixos
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
uralbash has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
proteusguy has quit [(Remote host closed the connection)]
alx741_ has joined #nixos
proteusguy has joined #nixos
alx741 has quit [(Ping timeout: 240 seconds)]
proteusguy has quit [(Ping timeout: 240 seconds)]
<nekroze> Does anyone know why nixops would no longer be able to ssh into a machine when "users.users.root.openssh.authorizedKeys.keyFiles" is set to say ~/.ssh/id_rsa.pub?
athan has joined #nixos
eacameron has joined #nixos
mkoenig has quit [(Read error: Connection reset by peer)]
mkoenig has joined #nixos
endformationage has quit [(Quit: WeeChat 1.6)]
<Rotaerk> it would be nice if the configuration in pkgs/development/haskell-modules/configuration-common.nix were done in such a way that you could use pieces of it ad-hoc
<Rotaerk> e.g. if I'm overriding the packages by pulling the derivation from somewhere else, I may still want to configure it in the same way as is done in nixpkgs
<Rotaerk> but I have to copy-paste it, essentially, the way it is
<Rotaerk> though I suppose that might have limited usefulness... the configuration may only be appropriate for *that* version of the package
NeQuissimus has joined #nixos
siarheit_ has joined #nixos
leothrix has quit [(Ping timeout: 258 seconds)]
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to staging: https://git.io/vM0Uh
<NixOS_GitHub> nixpkgs/staging cc40fad Franz Pletz: gnutls: 3.4.16 -> 3.4.17
sdothum has joined #nixos
mkoenig has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to staging: https://git.io/vM0TY
<NixOS_GitHub> nixpkgs/staging 0e963d2 Franz Pletz: gnutls33: 3.3.25 -> 3.3.26...
<NixOS_GitHub> nixpkgs/staging 7165b38 Franz Pletz: libtasn1: 4.8 -> 4.9
<NixOS_GitHub> nixpkgs/staging 85ac790 Franz Pletz: gnutls35: 3.5.5 -> 3.5.8...
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vM0T3
<NixOS_GitHub> nixpkgs/master f159279 Franz Pletz: mopidy: 2.0.1 -> 2.1.0
nekroze has quit [(Quit: Leaving)]
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vM0TE
<NixOS_GitHub> nixpkgs/master 3ecfab8 Franz Pletz: libgit2_0_21: remove, unused and probably vulnerable
<NixOS_GitHub> nixpkgs/master c03bc57 Franz Pletz: libgit2: 0.24.3 -> 0.24.6...
mkoenig has joined #nixos
Wizek_ has quit [(Ping timeout: 245 seconds)]
Wizek has quit [(Ping timeout: 245 seconds)]
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #21792: zsh-autosuggestions: init at 0.3.3 (master...zsh-autosuggestions) https://git.io/vMR2Q
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/f88e2fb5f170591e7e5c6f63470a5a187935a553
<NixOS_GitHub> nixpkgs/master f88e2fb Yacine Hmito: zsh-autosuggestions: init at 0.3.3 (#21792)...
Kingsquee has joined #nixos
Kingsqueee has quit [(Read error: Connection reset by peer)]
justanotheruser is now known as OfficialLeibniz
phreedom has quit [(Remote host closed the connection)]
proteusguy has joined #nixos
michas has joined #nixos
mk-fg has quit [(Ping timeout: 256 seconds)]
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
mk-fg has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
michas has quit [(Ping timeout: 240 seconds)]
phanimahesh has joined #nixos
newhoggy2 has quit [()]
MercurialAlchemi has joined #nixos
michas has joined #nixos
catch22_ has joined #nixos
reinzelmann has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
ryanartecona has joined #nixos
ckauhaus has joined #nixos
xeviox has joined #nixos
ckauhaus has quit [(Client Quit)]
<unlmtd[m]> is anyone familiar with libinput ant trackpoint? on arch middle button enables scrolling by default. I tried libinput.scrollButton = 3 but no result
bennofs has joined #nixos
shanemikel has quit [(Quit: Textual IRC Client: www.textualapp.com)]
<unlmtd[m]> I guess I should try '2'
bennofs has quit [(Ping timeout: 258 seconds)]
mrkgnao has joined #nixos
<unlmtd[m]> I went back to hardware.trackpoint.emulateWheel
<unlmtd[m]> but Im unsure if that uses the libinput driver
<unlmtd[m]> maybe someone can clarify
<mrkgnao> I'm back with my Haskell woes
mkoenig has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/6c9e41333d24a6962f9f904614eab664d2a0a5ab
<NixOS_GitHub> nixpkgs/master 6c9e413 Robert Helgesson: libsecret: add dev output...
<NixOS_GitHub> [nixpkgs] rycee closed pull request #21779: libsecret: add dev output (master...libsecret/multiple-outputs) https://git.io/vMBsh
michas has quit [(Ping timeout: 255 seconds)]
mkoenig has joined #nixos
rly has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #21788: apparmor: support for lxc profiles (master...apparmor) https://git.io/vMRla
<07EAAD2GJ> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vM0m7
<07EAAD2GJ> nixpkgs/master 30a554a Jörg Thalheim: apparmor: support for lxc profiles
<07EAAD2GJ> nixpkgs/master 9c8517a Jörg Thalheim: Merge pull request #21788 from Mic92/apparmor...
jgertm has joined #nixos
rly has quit [(Remote host closed the connection)]
Itkovian has joined #nixos
eacameron has quit [(Remote host closed the connection)]
ryanartecona has quit [(Quit: ryanartecona)]
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/vM0Y8
<NixOS_GitHub> nixpkgs/master 0b2127e Tadas Barzdzius: python-gyp: fix darwin build without xcode or CLT
<NixOS_GitHub> nixpkgs/master 51beb93 Daiderd Jordan: Merge pull request #21274 from LnL7/darwin-gyp...
pi3r has joined #nixos
jarlg has joined #nixos
alx741 has joined #nixos
qknight_ has joined #nixos
qknight_ has quit [(Client Quit)]
wkennington has quit [(Quit: Leaving)]
jgertm has quit [(Ping timeout: 252 seconds)]
alx741_ has quit [(Ping timeout: 252 seconds)]
<jarlg> I'm wondering, when I do `nixos-rebuild switch` shouldn't my redshift service be reinitialized?
derjohn_mob has quit [(Ping timeout: 256 seconds)]
<simpson> jarlg: Your databases shouldn't lose data. I don't know much about Redshift.
johann__ has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 9 new commits to master: https://github.com/NixOS/nixpkgs/compare/51beb935c309...d0bfac0edf0b
<NixOS_GitHub> nixpkgs/master 3c36c85 Bart Brouns: lv2-git: init at 2016-10-23
<NixOS_GitHub> nixpkgs/master 60e06fb Bart Brouns: lv2: 1.12.0 -> 1.14.0
<NixOS_GitHub> nixpkgs/master deb6b8f Bart Brouns: lilv: 0.20.0 -> 0.24.0
<jarlg> simpson: How do I communicate with the running service, usually? I was thinking through systemctl, but it seems not.
<simpson> jarlg: I know nothing about Redshift, sorry.
<jarlg> simpson: Alright, no worries. Thanks anyways! :)
saintromuald has quit [(Ping timeout: 248 seconds)]
ckauhaus has joined #nixos
FRidh has joined #nixos
mrkgnao has quit [(Ping timeout: 240 seconds)]
mkoenig has quit [(Ping timeout: 245 seconds)]
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vM03t
<NixOS_GitHub> nixpkgs/master aa2ce20 Frederik Rietdijk: ingen: fix evaluation
mkoenig has joined #nixos
hotfuzz has joined #nixos
pie_ has quit [(Quit: Leaving)]
Avaq has joined #nixos
pie_ has joined #nixos
ambro718 has joined #nixos
athan has quit [(Read error: Connection reset by peer)]
goibhniu has joined #nixos
teknico has joined #nixos
mkoenig has quit [(Ping timeout: 260 seconds)]
mkoenig has joined #nixos
ambro718 has quit [(Ping timeout: 252 seconds)]
jgrasser has quit [(Remote host closed the connection)]
ckauhaus has quit [(Read error: Connection reset by peer)]
jgrasser has joined #nixos
thc202 has joined #nixos
mkoenig has quit [(Ping timeout: 240 seconds)]
lsix has joined #nixos
feepo has joined #nixos
catch22_ has quit [(Quit: Leaving)]
<xeviox> is it possible to add "external" (e. g. github) files to a user account configured in the system configuration?
roconnor_ has quit [(Read error: Connection reset by peer)]
ixxie has joined #nixos
jgeerds has joined #nixos
jgertm has joined #nixos
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
hiberno has quit [(Quit: WeeChat 1.0.1)]
lsix has quit [(Quit: Konversation terminated!)]
glines has quit [(Ping timeout: 240 seconds)]
lsix has joined #nixos
derjohn_mob has joined #nixos
ThatDocsLady has joined #nixos
matthewbauer has quit [(Ping timeout: 240 seconds)]
alx741_ has joined #nixos
alx741 has quit [(Ping timeout: 252 seconds)]
ckauhaus has joined #nixos
dgn has quit [(Ping timeout: 245 seconds)]
phanimahesh has quit [(Ping timeout: 258 seconds)]
phanimah1sh has joined #nixos
<NixOS_GitHub> [nixpkgs] lsix opened pull request #21798: auctex: 11.89 -> 11.90 (master...auctex) https://github.com/NixOS/nixpkgs/pull/21798
__Sander__ has joined #nixos
ckauhaus1 has joined #nixos
ckauhaus1 has quit [(Client Quit)]
sdothum has joined #nixos
johann__ has quit [(Quit: Leaving.)]
civodul has joined #nixos
<NixOS_GitHub> [nixpkgs] lsix pushed 1 new commit to release-16.09: https://git.io/vM0Wj
<NixOS_GitHub> nixpkgs/release-16.09 a15ab34 Lancelot SIX: pythonPackages.django_1_10: 1.10.4 -> 1.10.5...
jensens has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to master: https://github.com/NixOS/nixpkgs/compare/aa2ce20c5939...0aa493167156
<NixOS_GitHub> nixpkgs/master cb07316 Franz Pletz: docker: 1.12.5 -> 1.12.6...
<NixOS_GitHub> nixpkgs/master 4df30fc Franz Pletz: containerd: 0.2.3 -> 0.2.5
<NixOS_GitHub> nixpkgs/master 0aa4931 Franz Pletz: runc: 2016-06-15 -> 1.0.0-rc2
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #21798: auctex: 11.89 -> 11.90 (master...auctex) https://git.io/vM0Wc
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://github.com/NixOS/nixpkgs/compare/0aa493167156...5746eec9fd8b
<NixOS_GitHub> nixpkgs/master abb28a4 Lancelot SIX: auctex: 11.89 -> 11.90...
<NixOS_GitHub> nixpkgs/master 5746eec Michael Raskin: Merge pull request #21798 from lsix/auctex...
fritschy has joined #nixos
mrkgnao has joined #nixos
WilliButz has quit [(Ping timeout: 272 seconds)]
<NixOS_GitHub> [nixpkgs] exi opened pull request #21799: cargo: Do not make install in cargo (master...cargo-with-cargo) https://github.com/NixOS/nixpkgs/pull/21799
<NixOS_GitHub> [nixpkgs] fpletz pushed 7 new commits to release-16.09: https://github.com/NixOS/nixpkgs/compare/a15ab3410f91...199cb714f59c
<NixOS_GitHub> nixpkgs/release-16.09 0670b90 Franz Pletz: libgit2_0_21: remove, unused and probably vulnerable...
<NixOS_GitHub> nixpkgs/release-16.09 8e68070 Franz Pletz: libgit2: 0.24.3 -> 0.24.6...
<NixOS_GitHub> nixpkgs/release-16.09 eec4304 Franz Pletz: linux: 4.4.40 -> 4.4.41...
<NixOS_GitHub> [nix] ivan-tkatchev opened pull request #1183: Nix hangs on network errors when downloading files (master...master) https://github.com/NixOS/nix/pull/1183
<ixxie> Does anybody know exactly how nix evaluates NixOS modules? There is some kind of recursion there but I would like to understand it better
justbeingglad has joined #nixos
justbeingglad has left #nixos []
jarlg has quit [(Quit: WeeChat 1.5)]
Kingsquee has quit [(Ping timeout: 252 seconds)]
WilliButz has joined #nixos
<NixOS_GitHub> [nixpkgs] exi opened pull request #21800: update rustBeta and rustNightly (master...update-rust) https://github.com/NixOS/nixpkgs/pull/21800
nslqqq has quit [(Quit: Leaving.)]
ugjka has quit [(Quit: ByE ByE)]
ilja_kuklic has joined #nixos
nslqqq has joined #nixos
<LnL> ixxie: the evaluation of modules is basically a fixpoint of all configuration combined
<NixOS_GitHub> [nixpkgs] exi opened pull request #21801: add alacritty (master...alacritty) https://git.io/vM0Bi
<ixxie> LnL: what do you mean by fixpoint? Also, in which order are they combine?
<mrkgnao> in order of "demand"
<LnL> the order doesn't matter for a fixpoint
<LnL> each module is a function that takes the entire output configuration as an argument and generates part of the config
Shou has joined #nixos
<LnL> things get evaluated depending on what parts the module tries to access in order to determine it's config
<ixxie> so it recurses until the output equals the input
<ixxie> hence fixpoint (in the dynamical systems sense?)
ugjka has joined #nixos
<LnL> yes, but because nix is lazy the implementation is actually pretty simple
<ixxie> so if I have configuration.nix and another-module.nix - would it matter which I import to which?
Kingsquee has joined #nixos
<LnL> it has to be imported by evalModules somehow, so it either has to be in the list of nixos modules or configuration.nix
mudri has joined #nixos
<LnL> but if another-module.nix imports your configuration and you tell nixos-rebuild to use that instead it will also work
<LnL> (if that makes any sense)
<ixxie> yeah it does
JagaJaga has joined #nixos
pie_ has quit [(Ping timeout: 248 seconds)]
ilja_kuklic has quit [(Ping timeout: 256 seconds)]
hiberno has joined #nixos
phanimah1sh has quit [(Read error: Connection reset by peer)]
bfrog has quit [(Read error: Connection reset by peer)]
herzen has quit [(Ping timeout: 256 seconds)]
michas has joined #nixos
bfrog has joined #nixos
phanimahesh has joined #nixos
<NixOS_GitHub> [nixpkgs] qknight closed pull request #21800: update rustBeta and rustNightly (master...update-rust) https://git.io/vM0Bl
<NixOS_GitHub> [nixpkgs] qknight pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/2b17620d59af1cd85ef352e7b1ab5d7df5e36796
<NixOS_GitHub> nixpkgs/master 2b17620 Reno Reckling: update rustBeta and rustNightly (#21800)...
<NixOS_GitHub> [nixpkgs] yurrriq opened pull request #21802: latex2html: init at 2016 (master...add/pkgs/tools/misc/latex2html) https://github.com/NixOS/nixpkgs/pull/21802
<ixxie> I want to map (x: "./modules/"+x) [ "stuff.nix" "things.nix" ] but I need the output as a path because imports cannot resolve the . from a string; any ideas?
roconnor_ has joined #nixos
pem_ has joined #nixos
<pem_> Hi everyone! I need to add the PPD for a printer to my system, but the nixpkgs repositories seems to have only examples of tricky proprietary drivers. How does the simple case (PPD) work?
roconnor_ has quit [(Ping timeout: 258 seconds)]
roconnor__ has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/260d97ca25819690ce87bc5af48ab6a4ae0e2e68
<NixOS_GitHub> nixpkgs/master 260d97c Franz Pletz: runc: add patches to fix CVE-2016-9962
mk-fg has quit [(Ping timeout: 255 seconds)]
pem_ has left #nixos []
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to release-16.09: https://github.com/NixOS/nixpkgs/commit/6435585d298142f229a2d81c5e3b626bb5a3786d
<NixOS_GitHub> nixpkgs/release-16.09 6435585 Franz Pletz: runc: add patches to fix CVE-2016-9962...
JagaJaga has quit [(Ping timeout: 248 seconds)]
proteusguy has quit [(Ping timeout: 240 seconds)]
ixxie has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] globin closed pull request #21799: cargo: Do not make install in cargo (master...cargo-with-cargo) https://git.io/vM0lx
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/8e2a4e09486965001f938f3a37f6a9aaeb875ec6
<NixOS_GitHub> nixpkgs/master 8e2a4e0 Reno Reckling: cargo: do not make install in cargo (#21799)...
mk-fg has joined #nixos
feepo has quit [(Quit: Connection closed for inactivity)]
alx741 has joined #nixos
alx741_ has quit [(Ping timeout: 252 seconds)]
ertesx has joined #nixos
<gchristensen> not so bad: 23 issues some of them we've already covered for sure
systemfault has joined #nixos
ertes has quit [(Ping timeout: 252 seconds)]
ertesx is now known as ertes
ugjka is now known as UgJkA
michaelpj has joined #nixos
johann__ has joined #nixos
pi3r has quit [(Ping timeout: 240 seconds)]
Wizek has joined #nixos
Wizek_ has joined #nixos
Lowl3v3l has joined #nixos
johann__ has quit [(Read error: No route to host)]
<gchristensen> haha what a cute project name: M.U.S.C.L.E.: Movement for the Use of Smart Cards in a Linux Environment
pi3r has joined #nixos
Seichi has joined #nixos
<NixOS_GitHub> [nixpkgs] exi opened pull request #21804: rust: make rust beta and nightly be build by hydra (master...include-rust-beta-nightly) https://git.io/vM06t
eacameron has joined #nixos
<gchristensen> exi: hrmm how does that make hydra build them?
<LnL> do we want to build those?
<LnL> gchristensen: recurseIntoAttrs makes hydra look in the attribute set
<LnL> it only looks at toplevel drvs by default
<gchristensen> ahh
<gchristensen> cool
johann__ has joined #nixos
mudri has quit [(Ping timeout: 252 seconds)]
mudri has joined #nixos
Kingsquee has quit [(Quit: https://i.imgur.com/qicT3GK.gif)]
<LnL> talking about rust, cargo now works properly on darwin :)
<gchristensen> nice!
<LnL> tried to use xcode before so it didn't work on hydra
<gchristensen> ahh
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-16.09: https://github.com/NixOS/nixpkgs/commit/cd27f9d492a8551bd86bf461ee26394211dd35df
<NixOS_GitHub> nixpkgs/release-16.09 cd27f9d Vladimír Čunát: flac: 1.3.1 -> 1.3.2 (security update)...
uralbash has quit [(Quit: Leaving.)]
abcrawf has quit [(Remote host closed the connection)]
<exi> LnL: if we have beta/nightly in nixpkgs, why not build them?
<exi> doing it for every user takes >3 hours
lsix has quit [(Ping timeout: 240 seconds)]
<exi> i would be even more in favor of just dropping beta and nightly alltogether in favor of just using something like rustBetaBin and rustNightlyBin
abcrawf has joined #nixos
<exi> keeping our own builds of this seems like a waste of time if we look at how fast rust is moving
<exi> it would be way easier just downloading a few binaries and update the hash
<exi> no need to deal with build issues
<gchristensen> hmmm I disagree, I think an important function of having nightly and beta is finding build problems before they get to stable
<exi> gchristensen: what would be the benefit of this instead of dealing with those once it hits stable?
<gchristensen> well we find and fix the problem before it hits stable so when it does hit stable, we can much more quickly get it out
<exi> do we care enough about build issues once ever couple of months to do 6 hours test builds every 3 days?
<exi> having rust stable 3 days after its official release would still be less painfull
lsix has joined #nixos
<exi> the way it is now, noone is updating beta/nightly because it takes so much time
<exi> rustNightly for example was broken for some time, i just discovered it by accident
<gchristensen> I think you exaggerate how often beta / nightly break. but also, we do package rustNightlyBin, so you could just use that
<exi> gchristensen: it breaking is not my concern, verifying that the bumped version works takes a lot of time
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/760edeb2b67a220d521f145a8baa15d240ba91b2
<NixOS_GitHub> nixpkgs/master 760edeb Michael Raskin: xfractint: init at 20.04p14
<exi> and since it is nightly, we could bump it daily
<exi> it's just a heady load on the maintainers to verify the build for close to little gain
<exi> close to no gain*
<gchristensen> I'm confused I think
<gchristensen> why did you fix it if you didn't want to, while we have rustNightlyBin?
<gchristensen> I definitely appreciate that you did fix it, but usually people only do that if they want to
<exi> oh yeah... yak shaving. i wanted to add alacritty, which depends on rust Nightly, using rustNightlyBin as a dependency for another package seemed wrong, so i fixed everything to make it work "the proper way"
<gchristensen> I see
<gchristensen> well if nobody is wanting to maintain rustNightly then we should likely, indeed, mark it as broken and eventually remove it
<gchristensen> it is better to not depend on "*Bin" packages in nixpkgs but (and I have no authority here) perhaps an exception could be made
mrkgnao has quit [(Ping timeout: 240 seconds)]
Seichi has quit [(Quit: Konversation terminated!)]
Seichi has joined #nixos
<exi> gchristensen: my suspicion is that noone is willing to maintain beta/nightly because of the work involved. Doing the same for *Bin releases would be way easier.
eacameron has quit [(Remote host closed the connection)]
<exi> but i could be wrong of course
<exi> or maybe just because noone needs them
<gchristensen> part of what you find out when it is marked as broken :)
<exi> gchristensen: give me some time. since i talked to the rust devs yesterday, i suspect there might be a way to semi-automatically keep beta/nightly updated
herzen has joined #nixos
<exi> maybe i'll just set something up on my server to ping me and have a one-button to pull request process to keep it up to date
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/905349b8a594e099ffc9403d37b61aec032b0145
<NixOS_GitHub> nixpkgs/master 905349b Michael Raskin: libvncserver: 0.9.9 -> 0.9.11
<exi> might be an interesting side project
<gchristensen> please do :)
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to release-16.09: https://github.com/NixOS/nixpkgs/commit/1237b443f18640016bdd102728ecd3709f308ab4
<NixOS_GitHub> nixpkgs/release-16.09 1237b44 Michael Raskin: libvncserver: 0.9.9 -> 0.9.11...
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/09f3481be42f081ba5cd5f2bf1a96ff835ea03bf
<NixOS_GitHub> nixpkgs/master 09f3481 Michael Raskin: libvncserver: build with libpng
* gchristensen grumbles about openjpeg2
<pi3r> \channel #cirb
mrkgnao has joined #nixos
uralbash has joined #nixos
<gchristensen> if anyone has a few hours to spend today and would like to help NixOS -- I have what should be a self contained project not too too hard to accomplish
<mrkgnao> gchristensen: what is it?
* mrkgnao goes off and checks if the alacritty PR is in yet
<gchristensen> opensuse has several patches for openjpeg, which, for whatever reason, don't apply cleanly to ours: https://github.com/NixOS/nixpkgs/issues/21803#issuecomment-271865667 this check-list has links to each discussion and each discussion has an "attachment" to fix the issue
<gchristensen> mrkgnao: ^
<LnL> gchristensen: I'm curious, but probably won't have time myself
<gchristensen> that is okay
<gchristensen> note if someone makes progress on a single one, that'll be a very nice contribution :)
<LnL> I'll see if there's some low hanging fruit in the roundup
Shou has quit [(Ping timeout: 256 seconds)]
<ben> is there a way to say nix-env -u --leq, except this one package, leave that alone?
<ben> or alternatively nix-env -u --leq but don't build anything locally?
<gchristensen> could be, LnL I haven't looked at all at icoutils or libtiff
<exi> mrkgnao: no it's not but you can still checkout my branch and build it :D
<exi> will just take you 3 hours because it compiles rust beta and rust nightly as a dependency :)
eacameron has joined #nixos
<LnL> exi: I have a pr that should halve that time, depending on your machine
<exi> LnL: link?
ixxie has joined #nixos
<LnL> you might have to add the changes for the other variants, not sure
eacameron has quit [(Ping timeout: 252 seconds)]
<exi> LnL: they should work with it as is
<exi> what does deterministic in that context mean? do we expect bit-perfect results each time?
<LnL> yes that's what we where talking about, but the current build isn't deterministic either so we don't loose anything.
<gchristensen> FYI, package maintainers :)
<LnL> gchristensen: YES, please :)
* gchristensen notes how nix solves this so cleanly
<LnL> if... we have enough information
<exi> yeah... i remember at least one case where upstream release .tar hashes changed because the maintainers "just included something that does not warrant a version bum"
<exi> bump*
<exi> but still, nix is great!
<gchristensen> this is definitely a problem with maven, right LnL?
<gchristensen> exi: yeah, that does suck. I still prefer the noisy failure though :)
<exi> gchristensen: yes, indeed
<LnL> yeah, I like the fact that builds when getting unexpected sources
<LnL> gchristensen: no idea about maven
<gchristensen> exi: also with the way nix works if youhave a copy of the intended / correct hash version you can easily import it in to the store and get on with your task at hand
<LnL> exi: I forgot about lowPrio, I'm fine with it then
Shou has joined #nixos
<exi> LnL: ?
<LnL> for rust
<exi> LnL: could you please write a whole sentence? I'm at work and cannot quite figure out what context you are referring to^^
<gchristensen> funny how that happens sometimes :)
<LnL> exi: I'm also at work :) I was referring to the rustBeta pr you just linked
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/a00f1c99b8f1522acee6923a3e5b5055101b6b3c
<NixOS_GitHub> nixpkgs/master a00f1c9 Michael Raskin: icoutils: 0.31.0 -> 0.31.1
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to release-16.09: https://github.com/NixOS/nixpkgs/commit/3f42b78269fc4299c8f53bd9994ace37a0c34039
<NixOS_GitHub> nixpkgs/release-16.09 3f42b78 Michael Raskin: icoutils: 0.31.0 -> 0.31.1...
<exi> LnL: the one that lets them build, or the one that updates the version?
<LnL> oh, you have two? :p
<LnL> the one that makes them build on hydra
<exi> ah, thanks
<exi> at what point in the day should i feel bad? once i spend 50% of my time working in nix instead of doing the work i'm supposed to do? :D
polyrod has quit [(Ping timeout: 252 seconds)]
cpennington has joined #nixos
<gchristensen> remember work pays the bills to support your time working on nix! :)
<exi> gchristensen: i really hope next year i can switch to a 4-day work and dedicate 1day/week to open source work
<exi> work week*
Seichi has quit [(Quit: Konversation terminated!)]
Seichi has joined #nixos
<gchristensen> another way is to get your company to use nix and then contribute upstream :)
<exi> gchristensen: i would celebrate that day, but it will never come
<gchristensen> aye :)
eacameron has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
Shou has quit [(Ping timeout: 240 seconds)]
phanimah1sh has joined #nixos
<LnL> yeah same, but in the meantime I hang out here instead of staring at my terminal while integration tests are running
<NixOS_GitHub> [nixpkgs] exi opened pull request #21805: ding: 1.8 -> 1.8.1 (master...update-ding) https://github.com/NixOS/nixpkgs/pull/21805
<exi> LnL: i should invest time in making our stuff slower so i can procrastinate with a cleaner concience
<gchristensen> wow
<LnL> lol
phanimahesh has quit [(Ping timeout: 245 seconds)]
edvorg has joined #nixos
<exi> gchristensen: ding is an example where the maintainer bumped the version and removed the old tar.gz without the tar hash changing :D
<exi> that's one way to do it wrong
<gchristensen> hrmm exi when I download it, the hash did change: 0chjqs3z9zs1w3l7b5lsaj682rgnkf9kibcbzhggqqcn1pbvl5sq
<exi> what, i just build it
<exi> weird 1 sec
<gchristensen> oh you know what
<gchristensen> so if you already have it by hash, if you update the URL it'll find it locally by that hash
<exi> ...
<gchristensen> so if you change the URL you need to make the sha256 bogus and then build
<exi> any way to remove just one hash from my store?
<gchristensen> this is because what does a URL mean if the content is the same?
<exi> i don't want to lose my 3h rust build :(
<gchristensen> will ding break that for you?
<gchristensen> like, is ding a dep to rust?
<exi> no, not at all
<gchristensen> then don't worry, just don't cancel the build and it'll be ok
<exi> it... more complicated
<gchristensen> LnL: I wish (gosh I wish) somehow the "name" attribute could go in to the calculation of the hash :(
<gchristensen> LnL: this is a horrible UX issue
<exi> but i think my brain is just broken
<gchristensen> exi: uh oh :( what happened?
ioden has joined #nixos
xadi has quit [(Ping timeout: 258 seconds)]
<LnL> what are you talking about?
<exi> gchristensen: nothing, brain fart, i'll just garbage collect and check out ding
<gchristensen> ok
<exi> the rust on my machine is broken anyway because it submitted the changes in 3 PRs that did not build on each other
<gchristensen> LnL: https://github.com/NixOS/nixpkgs/pull/21805/files changing the name here doesn't force a rebuild because fetchurl has already fetched the sha
<exi> after merging all of them, my build rule hashed have changed because i started my build from on branch
<exi> so it's fucked for me anyway :)
aszlig_ is now known as aszlig
<gchristensen> sad :(
<LnL> gchristensen: what does that have to do with fetchurl?
<LnL> changing of adding attributes to mkDerivation should cause a rebuild
<gchristensen> yes
<gchristensen> but
<gchristensen> src = fetchurl { url = "http://ftp.tu-chemnitz.de/pub/Local/urz/ding/${name}.tar.gz"; sha256 = "00z97ndwmzsgig9q6y98y8nbxy76pyi9qyj5qfpbbck24gakpz5l"; }; ... if you change the `name` and have already built the package, you'll already have a thing with the sha256 00z97ndwmzsgig9q6y98y8nbxy76pyi9qyj5qfpbbck24gakpz5l and then fetchurl won't bother downloading again
<gchristensen> so you'll build 1.8.0 with the name 1.8.1
<LnL> aaah yes
<LnL> the url isn't important (which makes sense)
<gchristensen> and I wish for a way to this to not happen
<gchristensen> right
<gchristensen> but if somehow we could add something to the hash calculation to trigger a change
georges-duperon has joined #nixos
<LnL> I fixed something similar a few week ago where a darwin package used the same sha as a completely different src
<LnL> it would be preferable for travis to check things like this instead of trying to build the world
<LnL> IMHO
<exi> gchristensen: updated the PR with the correct hash...
cpennington has quit [(Ping timeout: 240 seconds)]
<gchristensen> :evil-thinkey-face: if we convert the name to a number and change the creation date to that number ... I wonder if nix considers the date when calculating hash, and I don't know because everything is set to Dec 31 1969
<gchristensen> thanks, exi
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #21805: ding: 1.8 -> 1.8.1 (master...update-ding) https://git.io/vM097
<exi> i would so love some usage metrics of nixos packages
<gchristensen> we don't collect them
<LnL> gchristensen: travis could just run nix-build -A hello.src --check for example
<gchristensen> LnL: that would be a useful thing to do
<exi> but we can have access logs about what got downloaded from the hydra cache
<exi> and that would include the hashes
<exi> and give some idea on what got downloaded by the users
leothrix has joined #nixos
<exi> can we export anonymous access logs from S3? that would be a fund thing to analyze
<ixxie> anybody know how I could do map (x: "./modules/"+x) [ "thing.nix
<ixxie> anybody know how I could do map (x: "./modules/"+x) [ "thing.nix" "stuff.nix" ] for paths
<ixxie> *
<gchristensen> ixxie: I think you can do (x: ./modules/ + x)
<exi> gchristensen: does that also do the map?
<gchristensen> no I'm just showing you the syntax that I think will work
<exi> nix-repl> map (x: "./modules/" + x) ["foo" "bar"]
<exi> [ "./modules/foo" "./modules/bar" ]
<exi> ixxie: ^
<Rotaerk> you still didn't do it with the syntax he suggested :P
<exi> ah, paths...
<gchristensen> yeah but if you want it to become a path I think you need to do ./modules + x (no quotes)
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vM05K
<NixOS_GitHub> nixpkgs/master 59ce8fd Franz Pletz: Merge branch 'staging'
<exi> hmm
xadi has joined #nixos
<LnL> I think you also need to use lib.toPath
<Rotaerk> builtins.toPath doesn't work
<ixxie> yeah I read that paths in quotes don't resolve the . operator
<ixxie> and I wanna use this for an import
<LnL> gchristensen: I've also setup hound at work now :)
<gchristensen> LnL: nice :D
<Rotaerk> also it's unnecessary there; you can just do ./. + "/blah"
johann__ has quit [(Quit: Leaving.)]
<LnL> gchristensen: we use gitlab internally and their search is crap
Rotaerk has quit [(Quit: Leaving)]
cpennington has joined #nixos
<exi> LnL: does buildins.toPath only work with absolute paths?
<exi> map (x: builtins.toPath ("/modules" + builtins.toString x)) [/root /tmp]
<ixxie> I don't understand Rotaerks idea
<exi> this works
<exi> nix-repl> map (x: builtins.toPath ("./modules" + builtins.toString x)) [/root /tmp]
<exi> [ error: string ‘./modules/root’ doesn't represent an absolute path, at (string):1:9
<exi> this fails
<LnL> no clue, I just remember that line because it looked strange :)
<gchristensen> ixxie: you can combine a path with a string to get a path
<gchristensen> nix-repl> :t ./projects/nixpkgs + "/default.nix"
<gchristensen> a path
<gchristensen> so ./. + "/blah" gets you a path of ./blah
<ixxie> aha
<gchristensen> (let x ="foo.nix" in ./modules + x) == ./modules/foo.nix
<gchristensen> which is why I suggested use (x: ./modules/ + x) since x is already a string
<gchristensen> but I was erroneous in that it would more likely be (x: ./modules + "/${x}"
zeus_ has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
<ixxie> what would "/${x}" mean?
<gchristensen> it turns "thing.nix" in to "/thing.nix" which can be concatenated upon the path "./modules" (since a path doesn't end in a /
<ixxie> aha! I see... didn't realize that last bit >.<
<gchristensen> maybe a path _could_ end in a / but you can't make a path like: ./foo/ it'll expect something after the /
<NixOS_GitHub> [nixpkgs] jdanekrh opened pull request #21807: idea-community: 2016.3 -> 2016.3.2 (master...idea-community) https://git.io/vM0bD
<ixxie> so.... inside a string quote in a function I need to distinguish the character x from the variable ${x} ?
Shou has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 240 seconds)]
tvon has quit [(Quit: System is sleeping...)]
<ixxie> kewl
<ixxie> thanks gchristensen ^^
<gchristensen> well (let x = "hi" in "x") == "x" while (let x = "hi" in "${x}") == "hi"
<ixxie> yep! and (let x= "hi" in x) == "hi"
<ixxie> right?
<gchristensen> yeah
<ixxie> cheers
ixxie has quit [(Remote host closed the connection)]
uralbash has quit [(Ping timeout: 252 seconds)]
danharaj has joined #nixos
alx741_ has joined #nixos
tvon has joined #nixos
sellout- has joined #nixos
alx741 has quit [(Ping timeout: 258 seconds)]
<pareidolia> join #guix
<NixOS_GitHub> [nixpkgs] globin closed pull request #21807: idea-community: 2016.3 -> 2016.3.2 (master...idea-community) https://git.io/vM0bD
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vM0hs
<NixOS_GitHub> nixpkgs/master 0f83aa5 Jiří Daněk: idea-community: 2016.3 -> 2016.3.2 (#21807)
FRidh has quit [(Quit: Konversation terminated!)]
ronny has quit [(Ping timeout: 256 seconds)]
edvorg has quit [(Ping timeout: 248 seconds)]
xeviox has quit [(Quit: Leaving)]
Itkovian has quit [(Ping timeout: 240 seconds)]
uralbash has joined #nixos
ronny has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
<ToxicFrog> Hmm. calibre-server is broken in 16.09.
<ToxicFrog> There's a configuration option for it, but the server can't find most of its static data, including the JS it needs to function.
phanimahesh has joined #nixos
phanimah1sh has quit [(Ping timeout: 248 seconds)]
erasmas has joined #nixos
<musicmatze> Hi nixosers! What do I need to know to package things from npm?
<gchristensen> musicmatze: check out npm2nix, nix-shell -p npm2nix
<musicmatze> gchristensen: ah, okay!
<ikwildrpepper> node2nix
<ikwildrpepper> __Sander__ can explain more ;)
<musicmatze> nix-shell is broken for weeks now, so I guess I have to work around that, but yes, thanks
<musicmatze> ah, no, it works again! awesome!
ryanartecona has joined #nixos
<gchristensen> oh :o
<gchristensen> ikwildrpepper: good to know :P
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #21808: sway: 0.9 -> 0.11 (master...sway) https://git.io/vMEfJ
cpennington has quit [(Ping timeout: 248 seconds)]
data8 has joined #nixos
phanimah1sh has joined #nixos
roconnor__ has quit [(Ping timeout: 240 seconds)]
polyrod has joined #nixos
phanimahesh has quit [(Ping timeout: 255 seconds)]
zeus_ has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
ckauhaus has quit [(Quit: Leaving.)]
pi3r has quit [(Ping timeout: 240 seconds)]
sellout- has quit [(Ping timeout: 255 seconds)]
<NixOS_GitHub> [nixpkgs] matthiasbeyer opened pull request #21809: sbot: init at 9d686ee70c6b2073da626fa08e38a8e988b5c5b4 (master...add-sbot) https://git.io/vMETi
cpennington has joined #nixos
edapa has quit [(Remote host closed the connection)]
phreedom has joined #nixos
<elasticdog> how do I make pythonPackages known within an override in ~/.nixpkgs/config.nix? I want to add a single dependency to propagatedBuildInputs, but can't: https://gist.github.com/elasticdog/7d0974db1322521c56ca3cf3f1b4b544
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vMEIr
<NixOS_GitHub> nixpkgs/master 0d4d401 3noch: nginx: add PageSpeed module (Linux only)
<NixOS_GitHub> nixpkgs/master d9681de Jörg Thalheim: Merge pull request #21708 from 3noch/nginx-pagespeed-module...
reinzelmann has quit [(Quit: Leaving)]
<elasticdog> looks like replacing `self` with `pkgs.pythonPackages` worked (aside from the optional stuff, which I just took out)
<unlmtd[m]> Is there documentation on how to handle rust packages?
<ToxicFrog> Huh. It looks almost like none of the routes are getting installed.
<ToxicFrog> But I ran it in pdb and I can see them.
<ToxicFrog> And I can't breakpoint on any of the actual code I want to break on because pdb doesn't seem to chase threads >.<
data8 has quit [(Quit: nite nite)]
<clever> gchristensen: guess what i spent 6 hours on last night? lol
<gchristensen> clever: uhh uh oh, what? :P
<gchristensen> a hash mismatch?
<clever> gchristensen: memtest86 said the ram in my desktop was bad
<gchristensen> :o
<clever> i swapped the sticks around to try and figure out which was good and bad, it said both where toast
<gchristensen> oh sheesh
<clever> i stole the ram from my NAS, thats also bad!
Seichi_ has joined #nixos
<clever> motherboard maybe?
<clever> so i put the 16gig of ram and the ssd's into the nas, and ram memtest
<clever> still bad!
<gchristensen> O.o
<clever> i put the nas ram back into the nas, and ran memtest, still toast
<clever> then on a random guess, i memtest'd 2 laptops
<clever> they also have bad ram
<gchristensen> ok this is sounding like "dr, my whole body hurts. if I poke my leg it hurts, if I poke my arm it hurts.." "well your finger is broken"
<clever> gchristensen: Bisecting: 17291 revisions left to test after this (roughly 14 steps)
<clever> oops
Seichi has quit [(Ping timeout: 240 seconds)]
<clever> gchristensen: http://imgur.com/a/uiacx
<gchristensen> !
<clever> gchristensen: memtest86+ on nixos unstable is broken, it gives false errors
<gchristensen> incredible
<clever> i spent 6 hours shuffling hardware trying to fix a problem that didnt exist
<gchristensen> how frustrating
<clever> yeah
<unlmtd[m]> at least you didnt break a leg
<clever> unlmtd[m]: i did break a pcie-16x locking tab, lol
pi3r has joined #nixos
<clever> they made it a sliding lock, not the normal one that bends to the side and snaps in place
<unlmtd[m]> everything is made crappy nowadays
<clever> i pushed the gpu in until i heard a snap
<clever> it just wasnt the right snap :P
<clever> and the plastic was in the way enough that it didnt seat properly, and wasnt even appearing in the os
<mrkgnao> how do I fix a "cannot find -lfreetype" problem with ld? (I'm trying to compile a Rust package, and cc fails)
<unlmtd[m]> first risv soc is being shipped now.. price of computers is about to collapse
fritschy has quit [(Quit: Leaving.)]
<unlmtd[m]> riscv*
<mrkgnao> I did install freetype into my user environment, but that doesn't fix anything
<clever> mrkgnao: nixos will never search for libraries in the list managed by nix-env
<clever> mrkgnao: you need to open a shell with freetype using nix-shell -p freetype
rmrfroot` has joined #nixos
<mrkgnao> oh
<mrkgnao> ohh
jgertm has quit [(Ping timeout: 248 seconds)]
teknico has left #nixos []
danharaj has quit [(Remote host closed the connection)]
danharaj has joined #nixos
amine has joined #nixos
amine is now known as Guest32649
jgeerds has quit [(Remote host closed the connection)]
Guest32649 has quit [(Client Quit)]
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vME3D
<NixOS_GitHub> nixpkgs/master 87e67cb Frederik Rietdijk: pythonPackages.yenc: init at 0.4.0
<NixOS_GitHub> nixpkgs/master 66bdcb4 Frederik Rietdijk: sabnzbd: add yenc package
jarlg has joined #nixos
Shou has quit [(Ping timeout: 256 seconds)]
altphi has joined #nixos
Ivanych has quit [(Quit: Leaving.)]
aminechikhaoui has joined #nixos
altphi has quit [(Quit: altphi)]
altphi has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh force-pushed python3 from 81dc67c to 0a4aadb: https://git.io/vPPX6
<NixOS_GitHub> nixpkgs/python3 2d585b1 Frederik Rietdijk: Python: change default version: python = python3;
<NixOS_GitHub> nixpkgs/python3 62ebf3c Frederik Rietdijk: gpodder: use python2
<NixOS_GitHub> nixpkgs/python3 028586e Frederik Rietdijk: wicd: use python2
__Sander__ has quit [(Quit: Konversation terminated!)]
pi3r has quit [(Ping timeout: 245 seconds)]
jensens has quit [(Ping timeout: 240 seconds)]
glines has joined #nixos
Ivanych has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 9 new commits to staging: https://git.io/vMEZM
<NixOS_GitHub> nixpkgs/staging ba92ef0 Frederik Rietdijk: gpodder: use python2
<NixOS_GitHub> nixpkgs/staging 66d3b9a Frederik Rietdijk: wicd: use python2
<NixOS_GitHub> nixpkgs/staging e1cd8f0 Frederik Rietdijk: zim: use python2
<NixOS_GitHub> [nixpkgs] FRidh force-pushed python3 from 0a4aadb to 8aa62a3: https://git.io/vPPX6
<NixOS_GitHub> nixpkgs/python3 8aa62a3 Frederik Rietdijk: Python: change default version: python = python3;
<aminechikhaoui> quit
aminechikhaoui has quit [(Quit: leaving)]
aminechikhaoui has joined #nixos
<gchristensen> aminechikhaoui just can't quit us
<gchristensen> I'm the same way tbh
kegan has joined #nixos
<aminechikhaoui> gchristensen: typo :D
data8 has joined #nixos
georges-duperon has quit [(Ping timeout: 252 seconds)]
<kegan> heads up this channel will get a bunch of people leaving with a "kicked" message - this is an idle timer firing on a gateway
regnt[m] has left #nixos ["Kicked by @appservice-irc:matrix.org"]
M-jackal has left #nixos ["Kicked by @appservice-irc:matrix.org"]
M41px[m] has left #nixos ["Kicked by @appservice-irc:matrix.org"]
citizenziggy[m] has left #nixos ["Kicked by @appservice-irc:matrix.org"]
Kiko[m] has left #nixos ["Kicked by @appservice-irc:matrix.org"]
M-appservice_irc has left #nixos ["Kicked by @appservice-irc:matrix.org"]
org-rubo78[m] has left #nixos ["Kicked by @appservice-irc:matrix.org"]
guanjian[m] has left #nixos ["Kicked by @appservice-irc:matrix.org"]
M-roblabla has left #nixos ["Kicked by @appservice-irc:matrix.org"]
cornu has left #nixos ["Kicked by @appservice-irc:matrix.org"]
M-schneeflocke has left #nixos ["Kicked by @appservice-irc:matrix.org"]
chexxor_web[m] has left #nixos ["Kicked by @appservice-irc:matrix.org"]
rsynnest[m]2 has left #nixos ["Kicked by @appservice-irc:matrix.org"]
av[m] has left #nixos ["Kicked by @appservice-irc:matrix.org"]
M-wkennington has left #nixos ["Kicked by @appservice-irc:matrix.org"]
<gchristensen> kegan: how did you predict that?
<kegan> because I run the gateway
<gchristensen> neat
<gchristensen> thanks!
<exi> gchristensen: is there any neat way to get the hash that nix expects for some derivation without triggering a full build?
<exi> i want to be able to do this: "nix, fetch this and tell me that hash"
<gchristensen> like fetchurl?
kegan has left #nixos ["Leaving"]
<exi> but on a command line level
<NixOS_GitHub> [nixpkgs] joachifm pushed 5 new commits to master: https://git.io/vMEcV
<NixOS_GitHub> nixpkgs/master 0d1d1bd Kier Davis: unigine-valley: 1.0-1 -> 1.0 (remove unnecessary release version)...
<NixOS_GitHub> nixpkgs/master c3f49dc Kier Davis: unigine-valley: install files to a more idiomatic location...
<NixOS_GitHub> nixpkgs/master aa53e1d Kier Davis: unigine-valley: exclude non-ELF files from stripping during fix-up
<exi> just something to tell me the hash of a src for some build
<gchristensen> there is nix-prefetch-url . -A php.src
<gchristensen> but it doesn't always work :(
<gchristensen> so I just nix-build and take the failure
t7 has joined #nixos
<gchristensen> sometimes it outputs the wrong thing, like for fetchpatch, which makes for dangerous changesets
<exi> gchristensen: yeah but that sucks if i want to do it automatically
nschoe has quit [(Quit: Program. Terminated.)]
<exi> there has to be a better way (tm)
<gchristensen> true
<gchristensen> for fetchurl it works great
Shados has quit [(Remote host closed the connection)]
Seichi_ has quit [(Remote host closed the connection)]
Shados has joined #nixos
lsix has quit [(Quit: Konversation terminated!)]
<jarlg> Do I need to fiddle with polkit in order to mount (with udisks) a volume to be writeable by a regular user? (I can mount, just not write.)
<clever> jarlg: what group owns the mount point?
<jarlg> clever: /run/media/jarlg is owned by root.root . Should I try chgrp users on it?
<clever> thats only a temporary fix, it will change back to root.root next time it mounts
FRidh has joined #nixos
<jarlg> clever: Yes, I thought I'd already tried..
dbe has joined #nixos
<dbe> Hey folks. I've got this wacom device I'm trying to setup. When I plug it in, I get an error "(EE) Failed to load module "wacom" (module does not exist, 0)", but I have xf86_input_wacom in environment.systemPackages.
<gchristensen> dbe: services.xserver.enable = true; :)
<gchristensen> dbe: services.xserver.wacom.enable = true; I mean :)
<dbe> Oh. Ok. damn, surprisingly easy... thanks.
pi3r has joined #nixos
dbe has quit [(Client Quit)]
ixxie has joined #nixos
<sphalerite> I want a nix expression to always build the latest version from the master branch of a project. What's the best way of doing this, assuming that adding a default.nix to the upstream repo isn't an option? (still waiting for feedback on whether it is ☺)
<NixOS_GitHub> [nixpkgs] volth opened pull request #21810: flashplayer: 24.0.0.186 -> 24.0.0.194 (master...flashplayer-24.0.0.194) https://git.io/vMEWe
mudri has quit [(Ping timeout: 260 seconds)]
dbe has joined #nixos
<dbe> It works! Sweet!
evangeline has quit [(Remote host closed the connection)]
<gchristensen> sphalerite: have a shell.nix in ./shell.nix and the project checked out at ./yourproject
<gchristensen> sphalerite: in shell.nix refer to src as ./yourproject
ethanoatetint has joined #nixos
<sphalerite> any particular reason for it to be shell.nix rather than default.nix?
<gchristensen> well it could be a default.nix
<sphalerite> but yes, that makes sense. Thanks!
<gchristensen> anyway the key part is the fetching of master is done outside of nix
<sphalerite> Makes sense
bronsen has left #nixos ["WeeChat 1.7-dev"]
Avaq has quit [(Ping timeout: 258 seconds)]
Wizek has quit [(Read error: Connection reset by peer)]
<clever> gchristensen: i have narrowed the problem down to what i believe was the hardening overhaul of nixpkgs
<clever> gchristensen: but its in the middle of a mass-rebuild
Shou has joined #nixos
Wizek_ has quit [(Ping timeout: 258 seconds)]
<gchristensen> ahh!
mudri has joined #nixos
<clever> gchristensen: there are hardening flags on memtest already, but it appears that somebody didnt test it fully enough
<clever> and i can see how they may miss it under qemu, the default ram is 128mb, but the failure is at 257mb
<sphalerite> is there a nix builtin function for testing whether a value is an element of a list? Or would one use something like any (y: y == x)?
<clever> sphalerite: builtins.elem maybe
<sphalerite> yes, that's exactly what I'm looking for... Thanks. Was searching for "element" in the manual, and the description of "elem" doesn't contain it >_>
pi3r has quit [(Ping timeout: 240 seconds)]
kampfschlaefer has joined #nixos
<sphalerite> Hm, useful for when default.nix is in a project's source tree: src = builtins.filterSource (p: t: baseNameOf p != "default.nix"); to avoid the derivation hash depending on the exact character contents of the expression
<clever> you can also exclude .git and any .o files youve built via nix-shell
<clever> though i try to keep the result symlink and build dir one up
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/vME4g
<NixOS_GitHub> nixpkgs/master ad3e589 Eric Bailey: erlangR19: 19.1.6 -> 19.2...
<NixOS_GitHub> nixpkgs/master 8ff396a Daiderd Jordan: Merge pull request #21775 from yurrriq/update/pkgs/development/interpreters/erlang/R19...
<LnL> gchristensen: ^ thanks for pinging me
<sphalerite> But for a default.nix that gets included with an upstream project, I think it's easiest to just assume that the checkout is clean
[0__0] has quit [(Remote host closed the connection)]
[0__0] has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy opened pull request #21811: GHC cross compilation native jailbreak and hsc2hs (master...ghc-cross-hsc2hs-jailbreak) https://git.io/vMEBL
aminechikhaoui has quit [(Ping timeout: 258 seconds)]
michaelpj has quit [(Ping timeout: 252 seconds)]
ambro718 has joined #nixos
uralbash has quit [(Ping timeout: 260 seconds)]
ethanoatetint has quit [(Read error: Connection reset by peer)]
georges-duperon has joined #nixos
<siarheit_> suppose i have 2 packages installed via 'nix-env -iA': glibc and glibcLocales. they seem to be out of sync for some reason, but running nix-shell -p glibc -p glibcLocales works:http://dpaste.com/07CRAJ1.txt
<clever> siarheit_: your not supposed to install libraries like glibc, only use them under nix-shell
<siarheit_> clever, how to get a non-POSIX working then?
<siarheit_> and why the results are different?
<siarheit_> what should i actually have in nix-env? (it's a non-nisox)
pi3r has joined #nixos
c0bw3b has joined #nixos
<clever> siarheit_: the gcc used by nix doesnt look in the profile managed by nix-env, so things you nix-env -i wont help it any
<siarheit_> clever, how about 'date' utility?
<siarheit_> or any other tool i install?
<siarheit_> say, mc. it does not understand non-ASCII
<clever> tools you want to run from $PATH, you can just install
<clever> but libraries need to go into nix-shell -p
<siarheit_> AFAIU date and mc are not libraries
<siarheit_> locale is not a library
statusbot has joined #nixos
<clever> siarheit_: locale is in glibc.bin, not glibc's top-level package
<siarheit_> how should i install it?
<clever> nix-env -iA nixpkgs.glibc.bin
<siarheit_> http://dpaste.com/12EVSG6 - locale still does not see non-C locales
<clever> open("/run/current-system/sw/lib/locale/locale-archive", O_RDONLY) = 3
<clever> when i strace locale, i can see that its checking in this directory
<clever> which will only exist on a nixos machine
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vMEzO
<NixOS_GitHub> nixpkgs/master 289782b Robin Gloster: xorg.xrandr: remove unnecessary xkeystone binary...
<siarheit_> open("/nix/store/kk71vkqipf30qc165718jmp0s8cggn2y-glibc-2.24/lib/locale/locale-archive", O_RDONLY) = -1 ENOENT (No such file or directory)
<siarheit_> AFAIU it should be not a glibc-2.24 package
Wizek_ has joined #nixos
<michalrus> Hey, how can I turn off automatic mounting of a particular filesystem?
<michalrus> `noauto` option seems to not work.
jgertm has joined #nixos
alx741 has joined #nixos
jarlg has quit [(Quit: WeeChat 1.5)]
alx741_ has quit [(Ping timeout: 245 seconds)]
<ixxie> is there a way to import every module in the directory - i.e. imports = [ ./*.nix ]; ?
c74d has quit [(Ping timeout: 240 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
<ixxie> cheers clever
acertain has joined #nixos
bennofs1 has joined #nixos
k0001 has joined #nixos
<exi> is every builder outputting some sort of json at the end that gets parsed by nix?
<clever> no
<exi> why is fetchgit printing json at the end?
<clever> dont know, i havent seen it do that before
<exi> all messages are printed to stderr, this json is printed to stdout
<exi> so i thought that was some internal nix thing going on
pstn has joined #nixos
<clever> it could be used by tools like nix-prefetch-git possibly
<exi> that would make sense
athan has joined #nixos
Jackneill_ has joined #nixos
ryanartecona has joined #nixos
CrystalGamma has joined #nixos
LnL has left #nixos ["Textual IRC Client: www.textualapp.com"]
LnL has joined #nixos
tvon has quit [(Quit: Peace out, y'all!)]
<NixOS_GitHub> [nixpkgs] elasticdog opened pull request #21812: terraform: 0.8.2 -> 0.8.4 (master...terraform) https://git.io/vMEoM
<kier> i've having trouble packaging a qt5 app
athan has quit [(Remote host closed the connection)]
<kier> "qmake: file exists"
<kier> so far i'm just trying to get the configure phase (qmake) to work, using a barebones expression https://gist.github.com/anonymous/7ddaac14d84a82f396eb6e363a584d76)
<kier> but i get the above message during configurePhase, and no Makefile is produced
ilja_kuklic has joined #nixos
<kier> if I nix-shell it, running configurePhase still gives that error but just running "qmake" works fine
<kier> is configurePhase doing something i'm not aware of in this case?
<gchristensen> kier: I think yo uwant to add `qmakeHook` to your buildInputs
NeQuissimus has quit [(Ping timeout: 240 seconds)]
<Ralith> kier: you know to use qt5.callPackage, right?
<kier> Ralith: yeah, i'm using it
<Ralith> kk
<kier> gchristensen: thanks, that seemed to get it going. i'm sure I tried that earlier and it didn't make any difference, so i assumed it was irrelevant. guess I just was holding it wrong :p
rmrfroot` has quit [(Remote host closed the connection)]
altphi has quit [(Quit: altphi)]
evangeline has joined #nixos
<evangeline> hi, /dev/kvm is missing on my nixos system and I'm not sure why, since I've installed the necessary packages. I suspect it may have something to do with making it optional: https://github.com/NixOS/nix/commit/24cb65efc3c34e24fc653779a4d42cf4f31c6737 ; any ideas how to force the device to be created?
<clever> evangeline: that only affects its presense within a nix-build sandbox
<avn> evangeline: load kvm.ko module?
trqx has quit [(Read error: Connection reset by peer)]
pi3r has quit [(Quit: Nettalk6 - www.ntalk.de)]
<evangeline> clever, avn I already have "kvm-intel" in the boot.kernelModule, but apparently it is not being loaded; let me check if it is enabled in BIOS, which might explain this, since this is not my laptop.
<clever> evangeline: you can manauly try loading kvm-intel, and then check dmesg for the error
<ixxie> where are the builtins defined? builtin.match is undocumented so I need a peek ^^
altphi has joined #nixos
<ixxie> builtins.filter (n: n != "default") (pkgs.lib.mapAttrsToList (name: type: let m = builtins.match "(.*)\.nix" name; in if m == null then "default" else builtins.head m) (builtins.readDir ./.));
<ixxie> oops >.< accidental paste
evangeline has quit [(Ping timeout: 245 seconds)]
<ixxie> thanks clever
aminechikhaoui has joined #nixos
reinzelmann has joined #nixos
pi3r has joined #nixos
pi3r has quit [(Client Quit)]
<Ptival> how do I figure out what commits have things like chromium cached?
<clever> Ptival: any commit that has been in a non-small channel should have everything in the cache
<clever> Ptival: but those commits are currently not logged: https://github.com/NixOS/nixos-channel-scripts/issues/10
<clever> so all you can see is the latest commit in each channel
<ixxie> clever: that weird code xD
<NixOS_GitHub> [nixpkgs] peti pushed 3 new commits to master: https://git.io/vMEDC
<NixOS_GitHub> nixpkgs/master 4687b61 Shea Levy: haskellPackages.mkDerivation: Use native jailbreak-cabal when cross-compiling
<NixOS_GitHub> nixpkgs/master 6091811 Shea Levy: haskellPackages.mkDerivation: Use native hsc2hs when cross-compiling
<NixOS_GitHub> nixpkgs/master e755dc3 Peter Simons: Merge pull request #21811 from shlevy/ghc-cross-hsc2hs-jailbreak...
<ixxie> clever: the one for finding the files in a directory that is
<Ptival> clever: I was trying to get something more recent than unstable, but not necessarily master, are those cached ever?
orbekk has quit [(Quit: system upgrade)]
<Unode> Ptival: I'm not sure this info is stored anywhere. As far as I understand nix checks if a matching URL exists. If not it proceeds to compiling.
<Unode> Ptival: in other words, you'll probably have to query hydra for that info
Havvy has quit [(Read error: Connection reset by peer)]
acarrico has quit [(Ping timeout: 245 seconds)]
catch22_ has joined #nixos
AllanEsp1nosa has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 3 new commits to master: https://git.io/vMES9
<NixOS_GitHub> nixpkgs/master 8497ef1 Matthew Bauer: gimp: add darwin support
<NixOS_GitHub> nixpkgs/master 21143cc Matthew Bauer: gtk-mac-bundler: init at 0.7.4
<NixOS_GitHub> nixpkgs/master 4488203 Daiderd Jordan: Merge pull request #20658 from matthewbauer/gimp-darwin...
feepo has joined #nixos
orbekk has joined #nixos
joko has quit [(Changing host)]
joko has joined #nixos
FRidh has quit [(Remote host closed the connection)]
<tippenein> seemingly the last derivation attempted on a nix-build or nix-shell fails for me
MichaelRaskin has joined #nixos
<tippenein> error: build of ‘/nix/store/dv7ncg9gdjxsl7ygdzmm2wwk69qn3z48-ghc-7.10.3-with-packages.drv’ failed
<tippenein> $HOME/.nix-profile/bin/nix-shell: failed to build all dependencies
sboosali has joined #nixos
FrozenCow has joined #nixos
ixxie has quit [(Remote host closed the connection)]
ryanartecona has quit [(Quit: ryanartecona)]
derjohn_mob has quit [(Ping timeout: 248 seconds)]
<FrozenCow> I think I'm in a bit of trouble :/ I installed nixUnstable and now (after a few weeks) nix is saying: error: current Nix store schema is version 10, but I only support 7
<NixOS_GitHub> [nixpkgs] gpyh opened pull request #21814: Fix zshrc ordering (master...zsh-autosuggestions) https://git.io/vMEH7
<FrozenCow> I guess the daemon is a system package and I installed nixUnstable using nix-env, but I was thinking nixos-rebuild would've been in my nix-env as well. It seems that is not the case
<FrozenCow> nixos-rebuild is still using the old (system-wide) nix. What is the best approach to solve this
<FrozenCow> ?
<FrozenCow> nixos-rebuild is still using the old (system-wide) nix. What is the best approach to solve this
<FrozenCow> ?
<FrozenCow> Removing nixUnstable and 'reverting' the nix store would be ideal, but I don't think that is an option atm. Upgrading the system-wide nix to nixUnstable would be the next be the next best thing, but how can I do that when nixos-rebuild isn't in nixUnstable?
[0x4A6F] has joined #nixos
<FrozenCow> or is it possible to just remove the state-dir and let nix build the system from scratch?
acarrico has joined #nixos
<MichaelRaskin> I would try $nixUnstable/bin/nix-build '<nixos>' -A system
<MichaelRaskin> (with some reasonable -o)
<FrozenCow> aah that makes sense
ixxie has joined #nixos
<MichaelRaskin> Then I would hope to directly get a link to the system's activation script that _should_ be OK to run directly
<ambro718> On the download page http://nixos.org/nixos/download.html the sha256sums are not delivered very securely - they point somewhere to https://d3g5gsiof5omrk.cloudfront.net so one cannot tell if this really comes from NixOS
k2s has joined #nixos
FrozenCow has quit [(Ping timeout: 260 seconds)]
<ixxie> I set nixpkgs.config.chromium.enableWideVine = true; but nixos will not rebuild because of a failure in the builder of a dependency: chrome [sic!?!?]
devhell has joined #nixos
<ixxie> why would a chromium plugin even depend on chrome
devhell has quit [(Client Quit)]
FrozenCow has joined #nixos
k2s has quit [(Ping timeout: 245 seconds)]
CrystalGamma has left #nixos []
k2s has joined #nixos
derjohn_mob has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vMEbF
<NixOS_GitHub> nixpkgs/master 10e2d88 Michael Peyton Jones: arbtt service: init
<NixOS_GitHub> nixpkgs/master 62708c2 Jörg Thalheim: Merge pull request #21570 from michaelpj/services/arbtt...
k2s has quit [(Client Quit)]
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #21814: Fix zshrc ordering (master...zsh-autosuggestions) https://git.io/vMEH7
<NixOS_GitHub> [nixpkgs] deepfire opened pull request #21815: irony-server: init at 'same-version-irony-of-chosen-elpa` (master...irony-server) https://git.io/vMENr
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vMENM
<NixOS_GitHub> nixpkgs/master a3778f6 volth: flashplayer: 24.0.0.186 -> 24.0.0.194
<NixOS_GitHub> nixpkgs/master 5fa5ab0 Jörg Thalheim: Merge pull request #21810 from volth/flashplayer-24.0.0.194...
phanimah1sh has quit [(Ping timeout: 240 seconds)]
c0bw3b has left #nixos []
Itkovian has joined #nixos
<kier> do I need to pass any special flags to diff to get output suitable for use in the 'patches' attribute of a derivation?
<kier> i'm getting an error "patch: **** Only garbage was found in the patch input."
phanimahesh has joined #nixos
<kier> ah, the patch file doesn't actually contain the filenames
michas has quit [(Ping timeout: 245 seconds)]
ixxie has quit [(Quit: Lost terminal)]
eqyiel has quit [(Ping timeout: 256 seconds)]
eqyiel has joined #nixos
eqyiel has quit [(Changing host)]
eqyiel has joined #nixos
<joko> Anyone familiar with libvirtd? It seems I cannot use virt-install, I get errors like "ERROR '/usr/libexec/qemu-bridge-helper' is not a suitable bridge helper: No such file or directory"
roconnor_ has joined #nixos
hiratara has quit [(Ping timeout: 255 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
hiratara has joined #nixos
jgertm has quit [(Ping timeout: 240 seconds)]
acarrico has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixpkgs] NeQuissimus created linux_4_8_removal from master (+0 new commits): https://git.io/vMEh9
<NixOS_GitHub> [nixpkgs] NeQuissimus deleted linux_4_8_removal at 5fa5ab0: https://git.io/vMEjk
cpennington has quit [(Remote host closed the connection)]
sboosali has quit [(Remote host closed the connection)]
sboosali has joined #nixos
<FrozenCow> MichaelRaskin: it works partly. I've ran result/bin/activate and tried result/sw/bin/nixos-rebuild switch
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #21816: linux: Remove 4.8 (master...linux_4_8_removal) https://git.io/vMEj7
<FrozenCow> also made sure PATH directs to result/sw/bin
<MichaelRaskin> result/bin/switch switch
<MichaelRaskin> Is the best bet you have
<FrozenCow> switch?
<FrozenCow> doesn't exist
<MichaelRaskin> what is in bin/?
<MichaelRaskin> switch-to-configuration switch maybe
<FrozenCow> it still says "current Nix store schema is version 10, but I only support 7" when i run "result/sw/bin/nixos-switch switch". I've also stopped nix-daemon in systemd and manually ran result/sw/bin/nix-daemon
<FrozenCow> i ran "result/sw/bin/nixos-switch switch" as well as "NIX_REMOTE= result/sw/bin/nixos-switch switch"
<FrozenCow> but in all cases it says "current Nix store schema is version 10, but I only support 7"
<MichaelRaskin> After restarting the daemon?
<MichaelRaskin> I would also try nixos-switch boot
<MichaelRaskin> And rebooting
<MichaelRaskin> (if nixos-switch boot works, otherwise reboot gives nothing)
reinzelmann has quit [(Quit: Leaving)]
<FrozenCow> nah, it also gives me: current Nix store schema is version 10, but I only support 7
<FrozenCow> it seems that something from nix is still running as the stable version somehow
MarcWeber has quit [(Quit: Lost terminal)]
aminechikhaoui has quit [(Ping timeout: 258 seconds)]
<MichaelRaskin> Let me build a minimal NixOS just to see what scripts there are…
<MichaelRaskin> Ah no, I have an ISO anyway
<MichaelRaskin> erm
<MichaelRaskin> result/bin/switch-to-configuration existed at least in 16.09
<FrozenCow> ah i see what the problem is now
<FrozenCow> i installed nixUnstable from nixpkgs's master, whereas I'm referring to nixUnstable from <nixos> in configuration.nix
<FrozenCow> ok, a bit dirty, but this is working: nix.package = (import /home/bob/projects/nixpkgs {}).pkgs.nixUnstable;
<FrozenCow> ok, a bit dirty, but this is working: nix.package = (import /home/bob/projects/nixpkgs {}).pkgs.nixUnstable;
<FrozenCow> thanks a lot! just switched succesfully. now I'm hoping for a succesfull boot
<MichaelRaskin> You are welcome
evangeline has joined #nixos
joachifm has joined #nixos
Itkovian has joined #nixos
FrozenCow has quit [(Ping timeout: 260 seconds)]
frankpf has joined #nixos
* mguentner suggest to make backups of /nix/var when dealing with pkgs.nixUnstable
<mguentner> I goes with out sayin that I never ran into such a problem %)
FrozenCow has joined #nixos
<mguentner> FrozenCow: how did it go?
<FrozenCow> MichaelRaskin: yay, everything it working nicely!
<FrozenCow> I used the following in configuration.nix to get that specific version of nixUnstable:
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #21817: atom: 1.12.9 -> 1.13.0 (master...atom_1_13_0) https://git.io/vMuU8
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #21818: rkt: 1.21.0 -> 1.22.0 (master...rkt_1_22_0) https://git.io/vMuUu
hiratara has quit [(Quit: ZNC - http://znc.in)]
<FrozenCow> that said, I feel like the system is kind of in limbo. I cannot downgrade and upgrading to a more recent nixUnstable can cause problems. I guess I'll just wait until nixStable's schema version is higher than the current nixUnstable
<FrozenCow> still though, I'm again impressed how this was solved in nix without any fiddling with files
altphi has quit [(Quit: altphi)]
hiratara has joined #nixos
<gchristensen> if anyone would like to pitch nixos: https://lobste.rs/s/ithfhh/reason_why_i_can_t_use_gnu_linux_for_now
<NixOS_GitHub> [nixpkgs] AtnNn opened pull request #21819: isabelle: 2016 -> 2016-1 (master...isabelle) https://git.io/vMuUA
mrkgnao has quit [(Ping timeout: 255 seconds)]
<maurer> So, I've just noticed that nixos doesn't generate a per-user group. Why is this?
<maurer> (Literally every other linux system I've seen would have assigned me the primary group "maurer", but nixos assigns "users", and doesn't even create the group maurer)
pxc has joined #nixos
<maurer> On another note, does anyone who does rust development in nix happen to know how you're supposed to set up a shell.nix for a library? (given that libraries are not supposed to commit Cargo.locks, just binaries)
<Ralith> maurer: what does Cargo.lock have to do with it?
<maurer> Ralith: buildRustPackage requires Cargo.lock to exist so that the dependencies fetched are guaranteed the same
<maurer> Ralith: basically, it's important when you aren't using src=./. or similar
<Ralith> maurer: ah, I don't use buildRustPackage in my shell.nix at all
<Ralith> shell.nix shouldn't need src specified either
<Ralith> I just have a standard derivation with the suitable rustc and cargo in buildInputs
<Ralith> (nightly rustc can be had from https://github.com/solson/rust-nightly-nix )
<Ralith> I let cargo download and build dependencies like usual
<Ralith> I hadn't imagined that it might be possible/practical to use nixpkgs' builds of crates during interactive development
<Ralith> it's an interesting idea
Jackneill_ has quit [(Remote host closed the connection)]
<maurer> I was just doing my dev the same way as I do with other packages, namely I make a "package.nix" which resembles what would go into nixpkgs if submitted, then a shell/default.nix that invokes it with nixpkgs
<maurer> This worked fine on my old machine, where I happened to have a cargo.lock sitting around, and just now realized it doesn't work correctly on a fresh machine
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/vMuIq
<NixOS_GitHub> nixpkgs/master b8b1892 Daiderd Jordan: libtasn1: fix darwin build
<Ralith> maurer: I imagine that there's a magic cargo flag or environment variable you can set to look up packages against your local nixpkgs index rather than crates.io, and thereby generate a lockfile
<Ralith> if this workflow is to be fully supported I'd expect there to be a way to arrange for that to be passed implicitly
FrozenCow has quit [(Ping timeout: 260 seconds)]
goibhniu has quit [(Ping timeout: 256 seconds)]
<pxc> sheenobu: just ran across your nix-home project. Thanks for putting something together! I hope your project will be an important piece (along with buildEnv and a user-mode layer for services/NixOS modules) of a more complete Nix experience on non-NixOS :-)
<sheenobu> pxc, cool, thanks. I'm actually using nix-home with NixOS and haven't tested outside of that.
vtomole has quit [(Ping timeout: 260 seconds)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<pxc> sheenobu: once it is a little more complete (in terms mainly of the features you've planned already) I look forward to replacing SuperUserSpark with nix-home. Looks like it can also replace fresh, which can be used for grabbing particular files from git repos for one's dotfiles. I'm especially excited about what nix-home could do for non-NixOS users, but if I use it it will be everywhere, including NixOS. 😃
acarrico has joined #nixos
<sheenobu> pxc, cool. I'll make sure to get on those features even though I have no idea how I would begin that (the generations, mostly)
<pxc> sheenobu: is there a hangup for how to handle generations, or have you just not devised a method yet or studied the way it's done elsewhere, like NixOS and Nix's profiles?
<sheenobu> the second part. I just haven't devised or studied a way to do it
pstn has quit [(Ping timeout: 255 seconds)]
acertain has quit [(Ping timeout: 258 seconds)]
siarheit_ has quit [(Ping timeout: 255 seconds)]
pikajude has quit [(Quit: ZNC 1.6.3 - http://znc.in)]
siarheit_ has joined #nixos
pikajude has joined #nixos
m0rphism has quit [(Quit: WeeChat 1.4)]
siarheit_ has quit [(Ping timeout: 256 seconds)]
<pxc> clever: do you happen to know where in the NixOS source the logic for generations and profiles can be found? we're interested in the placement of the links in during the nixos-rebuild (or nix-env -i) process as well as what happens wiht --rollback
danharaj has quit [(Ping timeout: 240 seconds)]
georges-duperon has quit [(Ping timeout: 252 seconds)]
<clever> pxc: one issue i have found, is that if say i'm generation #4, and i do an update+rollback, i create a 5, then switch back to 4
<clever> pxc: but if i then do a second update+rollback, it creates 6, then switches back to 5
<clever> so rollback goes to the generation before the current, not the one it was just on
<sheenobu> Ah generation rollback is numerically based?
<sheenobu> I'll take a look
thc202 has quit [(Ping timeout: 245 seconds)]
<clever> sheenobu: i ran into this issue on my router, nix-channel --update has broken it a few times, and now i have to --rollback 3 or 4 times to undo a single --update
<sheenobu> ahh
<clever> once for each time i --update'd and --rollback'd in the past
m0rphism has joined #nixos
<clever> deleting a generation after rollback would prevent that
<sheenobu> I assume you wouldn't want to do that by default
<clever> yeah
<sheenobu> I'm trying to build 1.11.5 now
<pxc> thanks, clever! You're the best :-)
<sheenobu> nix-home could probably just use nix-env to build environments and generations...
<clever> sheenobu: i recently also used nix-env for network boot images, one min
kampfschlaefer has quit [(Ping timeout: 256 seconds)]
<clever> [root@router:/tftproot/try2]# nix-env -p /nix/var/nix/profiles/per-user/root/rpi3-netboot -f not-os/release.nix -A rpi_image -I nixpkgs=./nixpkgs/ --set
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
<pxc> sheenobu: seems like that would be nice and parsimonious, plus let you focus on the tricky task of safely overlaying everything instead of the othr details
<sheenobu> ahhh a profile is a sequence of generations.
<clever> sheenobu: and in my case, i'm using --set, so nix-env will never use buildEnv to imperatively merge the new stuff with the old generation
<clever> sheenobu: it will entirely replace the contents
<pxc> sheenobu: well, I think the generations are generations _of_ the profile, where the current profile is a link to whichever generation is selected (usually the newest)
<clever> sheenobu: nixos-rebuild also uses --set in the same way
<clever> pxc: yep
<pxc> clever: what router are you running NixOS on, again?
<clever> pxc: a random server that came out of a rack, dual-socket motherboard, 3gig of ecc ram, 3 gigabit ethernet ports
<clever> model name : Intel(R) Xeon(TM) CPU 3.20GHz
<pxc> clever: hahaha that's a capable machine. I thought maybe you threw it on the Linksys WRT1900AC or something like that, since I know you have some other NixOS+ARM systems
<clever> pxc: all of my current arm machines are 100mbit ethernet, running over usb
<clever> pxc: and my internet speeds go way over 100mbit
<sheenobu> "nix-build -I /nix/store/...-nix-home-0.2.2/nix/lib -o $HOME/.nix-home/current-home/ $HOME"
<pxc> clever: yeah. those little πs just aren't up to it. lol
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<clever> pxc: the xeon router is also running a full hydra install, but i have had issues where the UPS barely lasts 10minutes, then i loose all internet
<sheenobu> how would I convert that to "nix-env -p $HOME/.nix-home --set "
<clever> sheenobu: nix-env -p $HOME/.nix-home -f /path/to/something/default.nix -A an_attribute --set
<clever> sheenobu: that will build the an_attribute attr from the given default.nix, and then use the result as the root of the generation
eqyiel has quit [(Ping timeout: 240 seconds)]
Itkovian has joined #nixos
bennofs1 has quit [(Ping timeout: 255 seconds)]
eqyiel has joined #nixos
eqyiel has quit [(Changing host)]
eqyiel has joined #nixos
<sheenobu> clever, thanks. Looks like the way nix-home is setup, I don't need the attribute
Itkovian has quit [(Client Quit)]
<pxc> sheenobu: is that because the $HOME/default.nix contains just one derivation, through mkHome? so just like a package with only one attribute, the attribute doesn't need to be specified?
<sheenobu> pxc, I'm guessing so yes
mudri has quit [(Quit: WeeChat 1.6)]
<clever> yeah, if the default.nix returns a single derivation, or an attrset containing primites, and one derivation, it just picks the derivation directly
systemfault has quit [(Quit: Bye!)]
<clever> similar rules also apply if you -A foo, but it returned { foo.bar = derivation; }
ambro718 has quit [(Ping timeout: 240 seconds)]
<pxc> does Nix have a facility for plucking individual files out of Git repositories without cloning whole repos?
<simpson> pxc: Not that I know of. (I don't think that git does, either?)
<clever> id think it can only be done if the git repo is on github