<nomachine> Nafai: Ah, I just grepped all hardcoded references to binaries, that binary was only for MacOS, that explains it, thanks!
<tokudan> does someone use snapper in nixos? i can't seem to figure out how to use it, i just get dbus errors
mizu_no_oto has joined #nixos
<rod_> hello , cant get rid of "/nix/store/lwn84z6cqlvdbbbjzsal5958r211adn5-vim-7.4.2367" , haven't any referenc in configuration.nix and not in user-env ... did "nix-env --delete-generations old" and "nix-env --delete-generations old -p /nix/var/nix/profiles/system" plus "nix-store --gc" but it doesnt go away ... any clue , someone ?
<tokudan> rod_, what does "nix-store --query --requisites /nix/store/lwn84z6cqlvdbbbjzsal5958r211adn5-vim-7.4.2367" show? any clue in there?
<rod_> LnL, got "chase" packaged ... with boemgc as u suggested ... did pull request for nixos on github
itsN1X has quit [(Quit: quitting AndroIRC - Android IRC Client ( http://www.androirc.com ))]
markus1189 has joined #nixos
<LnL> rod_: great!
<LnL> !m rod_
<[0__0]> You're doing good work, rod_!
itsN1X has joined #nixos
<rod_> tokudan, /nix/store/27binbdy296qvjycdgr1535v8872vz3z-glibc-2.24
<tokudan> rod_, and fgrep -r lwn84z6cqlvdbbbjzsal5958r211adn5 /nix/store/27binbdy296qvjycdgr1535v8872vz3z-glibc-2.24 ?
markus1199 has quit [(Ping timeout: 258 seconds)]
<rod_> tokudan, fgrep gives nothing ...
itsN1X has quit [(Client Quit)]
<simpson> tokudan, rod_: That doesn't make sense; why would glibc depend on vim? I think that you need to use --referrers instead.
<tokudan> simpson, i checked the cheat sheet in the wiki ;)
<rod_> tokudan, it wasnt only glibc ... but pasting all oesnt work right ... wait
<simpson> tokudan: Yeah, but you picked the wrong line.
<simpson> tokudan: -R gives the *closure* of the package. rod_ is trying to figure out what depends on vim; it's the other way around.
<tokudan> ah :)
<rod_> tokudan, /nix/store/27binbdy296qvjycdgr1535v8872vz3z-glibc-2.24 /nix/store/51qrnwwwgv39vffnxn8zgap3dw39x5mx-gawk-4.1.3 /nix/store/mx1iimvj7jvvar29jliz1kidbg6m7sw4-ncurses-6.0 /nix/store/ygl61ycpr2vjqrx775l1r2mw1g2rb754-bash-4.3-p48 /nix/store/lwn84z6cqlvdbbbjzsal5958r211adn5-vim-7.4.2367
<rod_> tokudan, i ll try with --referers
<tokudan> yep, --referers makes more sense when i try it with a store path...
[0x4A6F]1 has joined #nixos
<rod_> can i post ??
<berce> clever: fixing mesa and libdrm for xorg can be done by adding --enable-intel to the configureFlags of libdrm. I initially tried the opposite.
<rod_> <rod_> tokudan, /nix/store/27binbdy296qvjycdgr1535v8872vz3z-glibc-2.24 /nix/store/51qrnwwwgv39vffnxn8zgap3dw39x5mx-gawk-4.1.3 /nix/store/mx1iimvj7jvvar29jliz1kidbg6m7sw4-ncurses-6.0 /nix/store/ygl61ycpr2vjqrx775l1r2mw1g2rb754-bash-4.3-p48 /nix/store/lwn84z6cqlvdbbbjzsal5958r211adn5-vim-7.4.2367
<rod_> <
[0x4A6F] has quit [(Ping timeout: 268 seconds)]
[0x4A6F]1 is now known as [0x4A6F]
<LnL> rod_: --referrers or --referrers-closure that will most likely point to a user profile
<berce> clever: ofcource it would be nicer if mesa didn't depend on those drivers that won't be needed on an arm platform
<LnL> rod_: compare that with nix-store --gc --print-roots
<rod_> ok ... i should say that i am using nixos for 4 days now ... and i am figuring all out right now ....
<simpson> rod_: No worries. What's it say?
<nomachine> simpson: Can I also use buildFHSUserEnv for the install phase? Those hardcoded references to /bin/* are also plenty in the installer scripts.
<rod_> ok some entries in both outputs .... there is one in common , that is "/nix/var/nix/profiles/default-7-link -> /nix/store/g3j47aikknszzpscscrbwz3q6lvwfiqj-user-environment"
<rod_> so my user environment is using that vim version am i right ....
<simpson> nomachine: Maybe? I'm not sure.
<simpson> rod_: Looks like it.
eacameron has joined #nixos
<rod_> i wanna use vim_configurable in .nixpkgs/config.nix to have .vimrc but when i vi(m) i not get the defined .vimrc options
ToxicFrog has quit [(Quit: WeeChat 1.5)]
<tokudan> I'm using vim_configurable... bit complicated though, i can copy you an example, if you want
<rod_> it starts that vim-7.4.23.... in config.nix i set name to "v" ... when i do "v" .vimrc gets loaded ..... so how do i get rid of that other vim
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<rod_> tokudan, thx ... have it working with "v" ... but got that other instance of vim wich doesnt load .vimrc i wanna get rid of
<rod_> hmmmm....
justan0theruser has joined #nixos
<tokudan> what does nix-env -q show as user?
<tokudan> does it show vim?
<berce> rod_: dit you try uninstalling with nix-env -e vim?
<rod_> ┌─[rod@polyphem] - [~] - [Di Jan 03, 01:20]
<rod_> └─[$]> chase `which vi` ~
<rod_> ┌─[rod@polyphem] - [~] - [Di Jan 03, 01:27]
<rod_> └─[$]> chase `which vim` ~
<rod_> ┌─[rod@polyphem] - [~] - [Di Jan 03, 01:28]
eacameron has quit [(Ping timeout: 272 seconds)]
<rod_> └─[$]> chase `which v` ~
<rod_> berce, yes did nix-env -e vim
<rod_> berce , also cleaned configuration.nix of all vims
mizu_no_oto has joined #nixos
<nomachine> simpson: Got it, I can of course first create an env, then explicitly call it using ${fhsEnv}/bin/fhs-name which will run what I specified as runScript, just the default bash, so I can just supply it with the patched install script
<berce> rod_: have you had vim in your /nixos/configuration.nix?
justanotheruser has quit [(Ping timeout: 258 seconds)]
<berce> Then you can still reboot to that old configuration, so it still has a root.
<rod_> tokudan, nix-env -q doesnt show vim
<toogley> is there a reason there's a "env" link to /usr/bin/ but not for sh, bash, and python and such?
<toogley> i mean this breaks compatibility with a lot of unix scripts
<toogley> which would work otherwise
<rod_> berce, yes first i had it in but now not , deleted all old generations though
<berce> "nix-env --delete-generations old" done as both root and normal user?
<simpson> toogley: NixOS doesn't implement LSB or FHS. /usr/bin/env is a courtesy to make it easier to do Nix shebangs: #!/usr/bin/env nix-shell
<rod_> hello , cant get rid of "/nix/store/lwn84z6cqlvdbbbjzsal5958r211adn5-vim-7.4.2367" , haven't any referenc in configuration.nix and not in user-env ... did "nix-env --delete-generations old" and "nix-env --delete-generations old -p /nix/var/nix/profiles/system" plus "nix-store --gc" but it doesnt go away ... any clue , someone ?
<rod_> berce ^
<toogley> simpson: but if you'd working with nixOS would be so much easier...
<simpson> toogley: But then it wouldn't be NixOS!
<toogley> simpson: is there a reason you don't implement that? i'm trying to understand it.
<toogley> simpson: i mean does it make sth harder ..?
<simpson> toogley: Yes. Nix is a system that tries to minimize *ambient authority*.
<tokudan> rod_, you need to decide if you want to use /etc/nixos/configuration.nix (that's my choice) or the nix-env -i method to install your packages
<berce> rod_: still the question: as normal user AND as root?
<toogley> simpson: and i guess i can't turn on an option to have /usr/bin/bash and such?
<simpson> toogley: This means that the power to use certain system-level or "ambient" packages is not available; packages may only use dependencies which they have explicitly been granted.
<simpson> toogley: Correct, there is no such escape hatch. There *are* several tools like nix-shell to make it easier.
<rod_> berce, yes as user AND as root ....still
<tokudan> rod_, it seems to me that you're mixing them, which can lead to confusion
<simpson> rod_: Your system (root) profiles may not be unpinned by the GC until you reboot onto your new kernel.
<simpson> rod_: But that's a wild guess.
<toogley> simpson: ah, okay. so do i understand you correctly: allowing things like /usr/bin/bash makes it easy to break package isolation?
<rod_> tokudan, yes my strategy is configuration.nix for crucial software ... and nix-env -i for throwaway environments when developing or doing other kind of session
<aszlig> gchristensen: get_physical_spec() should be correct, the "overriding" part you mentioned is probably because it's merged with the main physical spec in Deployment
<simpson> toogley: Yep. Because which bash does /usr/bin/bash point to?
<rod_> tokudan, vim i consider crucial , still .vimrc should be per user ....
<aszlig> gchristensen: so from within a resource it should be self.depl.get_physical_spec()
<nomachine> toogley: You could use buildFHSUserEnv and define which packages you would want to be available, and change your shell to it, should work, but see simpson's responses why you might not want to even try and do this
<toogley> simpson: ah, okay
Justelex has quit [(Quit: Communi 3.5.0 - http://communi.github.com)]
<gchristensen> aszlig: no ... they need to ... oh! I was using https://github.com/NixOS/nixops/blob/master/nixops/resources/__init__.py#L140
<NixOS_GitHub> [nixpkgs] mdaiter opened pull request #21600: erlang: explicitly link appropriate wxGTK versions for R18/R19 (master...wxGTKErlangLink) https://github.com/NixOS/nixpkgs/pull/21600
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/vMmax
<NixOS_GitHub> nixpkgs/master ade7cc1 Daiderd Jordan: czmqpp: enable on darwin
<rod_> tokudan, ... so i would install vim per user with nix-env -i ...
<simpson> toogley: The rabbit hole goes deep, if you want to explore; http://web.archive.org/web/20160613170529/http://www.cis.upenn.edu/~KeyKOS/ConfusedDeputy.html is a good starting point.
msd has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #21594: libbitcoin (master...pr/libbitcoin) https://git.io/vMmY1
<NixOS_GitHub> [nixpkgs] LnL7 pushed 4 new commits to master: https://git.io/vMmap
<NixOS_GitHub> nixpkgs/master 1f896f4 Chris Martin: libbitcoin: init at 2.11.0
<NixOS_GitHub> nixpkgs/master cb7c3d9 Chris Martin: libbitcoin-client: init at 2.2.0
<NixOS_GitHub> nixpkgs/master 1d278fe Chris Martin: libbitcoin-explorer: init at 2.2.0
<gchristensen> aszlig: is there a way to get the physical spec before it has been saved to depl? ie: in my bootstrapping (the create()) I want to write out a configuration.nix which resembles what nixops would replace it with
<tokudan> rod_, hmm... can't really help you there, as I setup every software in configuration.nix. here's my variant for vim_configurable: rod_, here's my variant of including vim_configurable: https://gist.github.com/tokudan/c92c0acc2766ceb06659363b815efba4
<rod_> tokudan, as i understood big advantage of nixos over other distros is exactly that you have system package management but aslo per user package managment
<tokudan> rod_, yeah, but .vimrc can be in every home directory and every user can set that up for himself
<msd> LnL: if it's not too late, could you check this out please? https://github.com/NixOS/nixpkgs/pull/21600 <- just a few explicit sets for wxGTK for Erlang, and a formatting issue. Just calling on your knowledge of how the Erlang expression works. Thanks!
<aszlig> gchristensen: why do you want to write out a configuration.nix at all?
<toogley> nomachine: simpson thanks
<berce> rod_: I prefer .nixpkgs/config.nix over nix-env -i
<berce> it's the same as configuration.nix, but on user level
<gchristensen> aszlig: to call nixos-install... which I want to do because in the kexec, the /nix/store is read-only.
<aszlig> gchristensen: i mean after all you already have the .drv after eval
m0rphism has quit [(Quit: WeeChat 1.4)]
<rod_> berce, thats how i got my working "v" vim .... .nixpkgs/config.nix
<LnL> msd: doesn't erlang use wxmac?
<aszlig> gchristensen: if /nix/store is read-only everything is fine, no?
<gchristensen> one moment
<aszlig> gchristensen: i mean, you already have networking support within the kexec'd instance, so you only need to copy the closure to the new partitioning scheme, right?
<rod_> berce, the (configuration|config).nix files are nicely declarative , whereas nix-env -i is like a apt-get install
<msd> LnL: wxGTK is stated within the Erlang interpreter expression
<gchristensen> aszlig: I suppose so
<berce> rod_: if you're really desparate, you can just backup config.nix and confituration.nix and start from scratch again :-)
<gchristensen> aszlig: how can I tell nixops to put it under /mnt?
<rod_> ok ... i hack around till i get it .... thanx for all help ....
<berce> good luck!
<gchristensen> or: something else
<rod_> berce, last resort .... :) , but dont intend to ... but yea with nixos its much less of a hassle then with debian
sboosali has quit [(Ping timeout: 264 seconds)]
<aszlig> gchristensen: the closure?
<rod_> thax , good by , cu around
<aszlig> gchristensen: hm, you really could re-use the hetzner bootstrapper, which essentially does the same thing
<gchristensen> but it is scary and complicated looking :P (I'll go look at it again)
justan0theruser is now known as justanotheruser
<aszlig> probably without the nixpart stuff
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #21598: rclone: 1.33 -> 1.35 (master...rclone-1.35) https://git.io/vMmuo
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://github.com/NixOS/nixpkgs/compare/0a5ccc170da4...3ac20e92e8d1
<NixOS_GitHub> nixpkgs/master 76d37ce Daniel Fullmer: rclone: 1.33 -> 1.35
<NixOS_GitHub> nixpkgs/master 3ac20e9 Daiderd Jordan: Merge pull request #21598 from danielfullmer/rclone-1.35...
<aszlig> so maybe add a function argument like { withNixpart ? true }
aarvar has joined #nixos
<msd> LnL: wait, you're right. However, I'd still argue for the change: Linux's wxGTK version is 2.8, which is below the default 3.0.
brh has joined #nixos
<tokudan> does someone use snapper in nixos? i can't seem to figure out how to use it, i just get dbus errors
bennofs has quit [(Ping timeout: 260 seconds)]
<gchristensen> aszlig: I wouldn't mind using nixpart
msd has quit [()]
<LnL> msd: yeah indeed, I'll test tomorrow
<gchristensen> aszlig: the whole implementation process is a bit exhausting, though :9
<aszlig> gchristensen: i know... it took me one month for the hetzner implementation
<gchristensen> ow!
brh has quit [(Ping timeout: 256 seconds)]
<gchristensen> well since you have so much practice at it ...!
<nomachine> I should patch a package to write its log files to /var/lib/pkgname, right? Or what is best practice?
<aszlig> gchristensen: but as said, most of the stuff should already be in place nowadays but probably needs to be more generalized for other backends
kampfschlaefer has quit [(Ping timeout: 258 seconds)]
<LnL> nomachine: if it's a service it should just log to stdout so it ends up in journald
mudri` has quit [(Ping timeout: 264 seconds)]
awoidh has quit [(Ping timeout: 260 seconds)]
<nomachine> LnL: Its a log of the installation (ok, so I will try and redirect that to stdout) and some small database (that should be in /var right?) I am just wondering about this, because would that not potentially badly poison your data if you have multiple version of some application?
ryanartecona has joined #nixos
* hodapp realizes, slowly, how many otherwise unrelated tools "nix-shell --pure -p foo bar baz..." can replace.
<gchristensen> yeah ... :)
aarvar has quit [(Ping timeout: 256 seconds)]
justinkaz has joined #nixos
zraexy has joined #nixos
proteusguy has quit [(Ping timeout: 258 seconds)]
m0rphism has joined #nixos
proteusguy has joined #nixos
slack1256 has joined #nixos
slack1256 has quit [(Remote host closed the connection)]
aarvar has joined #nixos
<justinkaz> how do I stop the httpd service to override one of the config files
<justinkaz> I've tried /run/httpd -k stop and receive this error AH00543: httpd: bad user name daemon
<tokudan> systemctl stop httpd?
<tokudan> or whatever the service is called
nomachine has quit [(Ping timeout: 260 seconds)]
<gchristensen> you'll probably want instead to edit your configuration.nix via one of these: https://nixos.org/nixos/options.html#services.httpd
<gchristensen> and then nixos-rebuild switch
ryanartecona has quit [(Quit: ryanartecona)]
<justinkaz> Thank you, THANK YOU! Took me forever to find a list of config vars and attributes! Thank you!
<gchristensen> :D you're welcome! I'm sorry it took you so long :o
peter-holm has quit [(Remote host closed the connection)]
<justinkaz> where might the log entries be httpd?
slack1256 has joined #nixos
<gchristensen> journalctl -u httpd probably
aarvar has quit [(Ping timeout: 248 seconds)]
Wizek has quit [(Ping timeout: 252 seconds)]
Wizek_ has quit [(Ping timeout: 260 seconds)]
rod_ has quit [(Quit: Leaving)]
rod has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
ambro718 has quit [(Ping timeout: 246 seconds)]
<justinkaz> I've been trying to enable httpd's "AllowOveride" and it's not working.
<NixOS_GitHub> [nixpkgs] adamcstephens opened pull request #21601: terraform: 0.8.1 -> 0.8.2 (master...terraform_082) https://github.com/NixOS/nixpkgs/pull/21601
<justinkaz> just for a test I created a directory entry in extraConfig for "/" and it';s not processing anything
aarvar has joined #nixos
<justinkaz> the good news, I can tell it received my extra config options because the log reports mod_rewrite (my test config line) is already enabled so it skips that line
<makefu> anyone knows where the documentation of nix is accessible? i am looking for a link to https://github.com/NixOS/nix/blob/master/doc/manual/nix-lang-ref.xml
paperd has joined #nixos
<makefu> only thing i've found was https://nixos.org/releases/nix/nix-0.5/manual/manual.html#id2526731 but this is for nix-0.5
<makefu> it seems to be missing in newer manuals
<makefu> simpson: this was my first thought
<makefu> but fat chance
<justinkaz> So I have to port all my web service specific overides into the config for now... till I figure out what else is going on but so far it's working
tokudan has quit [(Quit: Leaving)]
<makefu> simpson: seems the grammar doc is also outdated and has not been updated for 7 years. i will use the link to the nix manual.
mizu_no_oto has joined #nixos
AllanEsp1nosa has quit [(Ping timeout: 246 seconds)]
mbrgm has quit [(Ping timeout: 246 seconds)]
mbrgm has joined #nixos
sigmundv__ has quit [(Ping timeout: 268 seconds)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 246 seconds)]
filterfish_ has quit [(Remote host closed the connection)]
filterfish has joined #nixos
matthewbauer has joined #nixos
<mpickering> in the ghcHEAD derivation you have to set the "version" attribute manually
<mpickering> however, this information is dependent on the commit
<mpickering> is there a way to remove this duplication by setting the "version" with a bash script or something rather than a string?
brh has joined #nixos
filterfish has quit [(Remote host closed the connection)]
edapa has joined #nixos
brh has quit [(Ping timeout: 265 seconds)]
derjohn_mob has quit [(Ping timeout: 258 seconds)]
filterfish has joined #nixos
<edapa> I'm having trouble importing modules from xmonad-contrib to my xmonad.hs
<edapa> Does anyone know the right way to solve this. I have tried to package xmonad-contrib with my ghc, and also to add it to the list of extraPackages in the xmonad windowManager set
justinkaz has quit [(Ping timeout: 260 seconds)]
<edapa> I've been mostly working of the discussion in this issue: https://github.com/NixOS/nixos/issues/194
<edapa> But it seems like that issue is from a long time ago, so things might have changed
zraexy has quit [(Ping timeout: 258 seconds)]
AllanEsp1nosa has joined #nixos
amarsman has quit [(Ping timeout: 248 seconds)]
sboosali has joined #nixos
derjohn_mob has joined #nixos
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
aarvar has quit [(Ping timeout: 246 seconds)]
shpx has joined #nixos
PragCyph1 has joined #nixos
<gchristensen> :community-siren: some discussion about "why not nixos?" on HackerNews, some worthwhile points: https://news.ycombinator.com/item?id=13306294
<dash> simpson: i did not encounter that for typhon.
PragCyphr has quit [(Ping timeout: 258 seconds)]
<simpson> dash: I think it must be afl-gc
<simpson> Er, *afl-gcc.
<dash> Ah.
<matthewbauer> gchristensen: A big thing NixOS is still missing is a good graphical installer.
<matthewbauer> It can make a big difference in getting less command line savvy users
amarsman has joined #nixos
<gchristensen> mmm yes could be, I also wonder about general discoverability
<matthewbauer> yeah discoverability is an issue
zraexy has joined #nixos
<gchristensen> and kmicu has good points about documentation
<gchristensen> I wish we could poach all the great arch wiki people :D
aarvar has joined #nixos
<matthewbauer> Yeah, I wonder if it was a mistake to get rid of the wiki
<matthewbauer> Although I like the idea of everything is in a Git commit, it makes more obscure documentation harder to add
<gchristensen> see also ... https://github.com/NixOS/nix/pull/970
filterfish has quit [(Remote host closed the connection)]
SovereignBleak has quit [(Quit: Connection closed for inactivity)]
filterfish has joined #nixos
<gchristensen> however, matthewbauer is bad / out of date docs any better or worse than the alternative?
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
amarsman has quit [(Ping timeout: 248 seconds)]
hexagoxel has quit [(Ping timeout: 264 seconds)]
amarsman_ has joined #nixos
<dash> gchristensen: it's not "wiki docs vs no wiki docs" it's "no wiki docs vs a giant pile of spam"
alx741_ has joined #nixos
mkoenig has quit [(Quit: Lost terminal)]
<gchristensen> I know that was the state of the wiki as it was
hexagoxel has joined #nixos
<gchristensen> but that wasn't the scope of our conversatino
cjhowe has joined #nixos
filterfish has quit [(Remote host closed the connection)]
alx741 has quit [(Ping timeout: 258 seconds)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
justanotheruser has quit [(Max SendQ exceeded)]
<matthewbauer> I think it's hard to say. The manual for Nix actually tends to be really good.
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
<matthewbauer> But nixpkgs and nixos just seem to be missing lots of content.
justanotheruser has joined #nixos
ebzzry has quit [(Ping timeout: 245 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
ebzzry has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
alx741_ has quit [(Quit: alx741_)]
edapa has quit [(Remote host closed the connection)]
alx741 has joined #nixos
Sonarpulse has joined #nixos
filterfish has quit [(Remote host closed the connection)]
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
filterfish has joined #nixos
anelson has quit [(Ping timeout: 240 seconds)]
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
slack1256 has quit [(Remote host closed the connection)]
alx741_ has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
alx741 has quit [(Ping timeout: 246 seconds)]
mguentner has quit [(Quit: WeeChat 1.6)]
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
mguentner has joined #nixos
filterfish has quit [(Read error: Connection reset by peer)]
aarvar has quit [(Ping timeout: 256 seconds)]
filterfish has joined #nixos
mizu_no_oto has joined #nixos
filterfish has quit [(Ping timeout: 265 seconds)]
filterfish has joined #nixos
alx741_ has quit [(Quit: alx741_)]
filterfish has quit [(Read error: Connection reset by peer)]
filterfish has joined #nixos
filterfish_ has joined #nixos
brh has joined #nixos
filterfish has quit [(Remote host closed the connection)]
brh has quit [(Ping timeout: 258 seconds)]
<Sonarpulse> my clock is an hour off
<Sonarpulse> i tried restarting the nptd service
<Sonarpulse> but it hangs
<Sonarpulse> I think something must have been confused hacking around dst?
<Sonarpulse> and now that we're back to standard time stuff is weird?
matthewbauer has quit [(Ping timeout: 264 seconds)]
aarvar has joined #nixos
mguentner2 has joined #nixos
mguentner has quit [(Ping timeout: 272 seconds)]
xadi has joined #nixos
sboosali has quit [(Remote host closed the connection)]
sboosali has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
xadi has quit [(Ping timeout: 248 seconds)]
uralbash has joined #nixos
shpx has quit [(Quit: leaving)]
AllanEsp1nosa has quit [(Ping timeout: 265 seconds)]
candybar has joined #nixos
sitedyno has quit [(Ping timeout: 245 seconds)]
candybar has quit [(Client Quit)]
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #21602: syncthing: 0.14.17 -> 0.14.18 (master...u/st_1418) https://git.io/vMmDi
brh has joined #nixos
brh has quit [(Ping timeout: 246 seconds)]
aarvar has quit [(Ping timeout: 248 seconds)]
dsieczko has joined #nixos
aarvar has joined #nixos
<NixOS_GitHub> [nixpkgs] abuibrahim opened pull request #21603: ofp: init at 2.0.0 (master...master) https://github.com/NixOS/nixpkgs/pull/21603
indi_ has joined #nixos
eacameron has joined #nixos
indi_ has quit [(Ping timeout: 264 seconds)]
eacameron has quit [(Ping timeout: 246 seconds)]
amarsman_ has quit [(Quit: amarsman_)]
zagy has joined #nixos
sitedyno has joined #nixos
dsieczko has quit [(Ping timeout: 248 seconds)]
ebzzry has quit [(Ping timeout: 264 seconds)]
indi_ has joined #nixos
<hyper_ch> why do I get this: error: unable to download ‘file://root/.nixos/Oracle_VM_VirtualBox_Extension_Pack-5.1.10-112026.vbox-extpack’: Couldn't read a file:// file (37)
<hyper_ch> when I run nix-prefetch-url file://root/.nixos/Oracle_VM_VirtualBox_Extension_Pack-5.1.10-112026.vbox-extpack
paperd has quit [(Ping timeout: 272 seconds)]
indi_ has quit [(Remote host closed the connection)]
<Dezgeg> maybe file:///root etc.
indi_ has joined #nixos
<hyper_ch> yeah thx
aarvar has quit [(Ping timeout: 248 seconds)]
indi_ has quit [(Ping timeout: 246 seconds)]
amarsman has joined #nixos
MercurialAlchemi has joined #nixos
aarvar has joined #nixos
indi_ has joined #nixos
pi3r has joined #nixos
nanobapt has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
brh has joined #nixos
nanobapt has quit [(Ping timeout: 264 seconds)]
brh has quit [(Ping timeout: 256 seconds)]
mizu_no_oto has joined #nixos
mizu_no_oto has quit [(Ping timeout: 265 seconds)]
filterfish has joined #nixos
filterfish_ has quit [(Read error: Connection reset by peer)]
pi3r has quit [(Read error: Connection reset by peer)]
<LnL> gchristensen: I think we also need more documentation on how to build the manuals, only nixpkgs has instructions and those are very basic
jgertm_ has joined #nixos
mizu_no_oto has joined #nixos
<NixOS_GitHub> [nixpkgs] gebner closed pull request #21427: procmail: unbreak "make install" (master...actually-install-procmail) https://git.io/vMJmK
<NixOS_GitHub> [nixpkgs] gebner pushed 2 new commits to master: https://github.com/NixOS/nixpkgs/compare/3ac20e92e8d1...4620c03eb558
<NixOS_GitHub> nixpkgs/master 20c5aa5 Mike Sperber: procmail: unbreak "make install"...
<NixOS_GitHub> nixpkgs/master 4620c03 Gabriel Ebner: Merge pull request #21427 from active-group/actually-install-procmail...
nanobapt has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
indi_ has quit [(Ping timeout: 248 seconds)]
sheenobu has quit [(Quit: Leaving)]
aarvar has quit [(Ping timeout: 248 seconds)]
indi_ has joined #nixos
peter-holm has joined #nixos
<peter-holm> Anyone know how bindmnt in confug.nix.?
civodul has joined #nixos
sboosali has quit [(Read error: Connection reset by peer)]
teknico has joined #nixos
mog has joined #nixos
reinzelmann has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
Itkovian has joined #nixos
dsieczko has joined #nixos
MercurialAlchemi has quit [(Remote host closed the connection)]
MercurialAlchemi has joined #nixos
kampfschlaefer has joined #nixos
dsieczko has quit [(Ping timeout: 260 seconds)]
pi3r has joined #nixos
[0x4A6F] has quit [(Ping timeout: 256 seconds)]
<NixOS_GitHub> [nix] dezgeg opened pull request #1169: Fix nix-shell shebang usage (master...fix-shell-shebang) https://git.io/vMmFn
jgertm_ has quit [(Ping timeout: 265 seconds)]
[0x4A6F] has joined #nixos
jarlg has joined #nixos
<NixOS_GitHub> [nixpkgs] chris-martin opened pull request #21605: stellar-core: init at 0.5.1 (master...pr/stellar-core) https://github.com/NixOS/nixpkgs/pull/21605
<peter-holm> hello. How do Ibindmount a regular directory to another regular directory witin config.nix ?
<LnL> config.nix as in not nixos?
ixxie has joined #nixos
indi_ has quit [(Remote host closed the connection)]
<peter-holm> configuration.nix , sorry.
<peter-holm> And yes - in nixos
nanobapt has quit [(Ping timeout: 248 seconds)]
indi_ has joined #nixos
<LnL> I think you can use this for bind mounts http://nixos.org/nixos/manual/#ch-file-systems
indi_ has quit [(Remote host closed the connection)]
rly has joined #nixos
<avn> btw I also have Filesystem related question --
<LnL> ah, but doesn't mount -t bind also work?
<rly> How can I read the version of attribute nixos.foobar which has an attribute version?
<peter-holm> I doubt. It is a local path I want to bind mount. This /dev/disk/by-label is the exact same thing as /dev/disk/by-uuid or similary to /dev/sdc39 ... It is a path to a device
<avn> https://github.com/avnik/nixos-configs/blob/master/boomer.nix#L31 what wrong in this declaration, and why these nfs mounts not mounted on boot (`sudo mount /mnt/video` mount them ok)
<LnL> rly: nix-instantiate '<nixpkgs>' --eval -A nix.version
tvon has quit [(Remote host closed the connection)]
<avn> peter-holm: you use device path for "source dir"
<rly> LnL: can I also get that via nix-repl?
<LnL> sure, nix-repl '<nixpkgs>' -> nix.version
<LnL> I think it would be nice if all derivations had a version attribute
<peter-holm> YI have tested, But I am alll to neww to the syntax. And there are several ways to declare the same thinf. I am to new to convert between thoose difreernet declarations.
fritschy has joined #nixos
<peter-holm> Sory speeling errors. I have 'fat finges' and shold need have my glasses .
<LnL> it looks like your keyboard repeat is set a little to fast :p
<peter-holm> Is it ok to paste a few lines of code.?
<LnL> general irc conventions is to use a paste service if it's more then about ~3 lines
<peter-holm> its about five lines.
<peter-holm> Well - I will continue search google.
<LnL> just put it in a gist, pastbin or something like that
peter-holm has quit [(Ping timeout: 272 seconds)]
<avn> little offtopuc -- folks, do you know where is "print" hotkey in urxvt, and how to turn it off permanently?
goibhniu has joined #nixos
ixxie has quit [(Remote host closed the connection)]
brh has joined #nixos
dgn has joined #nixos
<NixOS_GitHub> [nix] edolstra closed pull request #1169: Fix nix-shell shebang usage (master...fix-shell-shebang) https://git.io/vMmFn
ambro718 has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 4 new commits to master: https://github.com/NixOS/nix/compare/b6b142b4b105...ae1e4dfad29e
<NixOS_GitHub> nix/master c698ec1 Tuomas Tynkkynen: nix-shell: Fix 'nix-shell -i'...
<NixOS_GitHub> nix/master 018f884 Tuomas Tynkkynen: nix-shell: Don't act interactive in shebangs...
<NixOS_GitHub> nix/master b501bea Tuomas Tynkkynen: tests: Add simple tests for nix-shell...
tv1 has joined #nixos
brh has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
tv has quit [(Ping timeout: 268 seconds)]
trqx has joined #nixos
marvin3k has joined #nixos
eacameron has quit [(Ping timeout: 256 seconds)]
ambro718 has quit [(Ping timeout: 272 seconds)]
tvon has joined #nixos
ixxie has joined #nixos
<NixOS_GitHub> [nixpkgs] goetzst opened pull request #21607: youtube-dl: 2016.12.22 -> 2017.01.02 (master...youtube-dl) https://git.io/vMmpS
indi_ has joined #nixos
ixxie_ has joined #nixos
mkoenig has joined #nixos
FaustXVI has joined #nixos
derjohn_mob has quit [(Ping timeout: 258 seconds)]
<FaustXVI> Hi there
<ixxie_> gnome tweak tool doesn't seem to manage disabling middle mouse paste and I am wondering whether it's a nix issue
<FaustXVI> happy new year to all :)
<ixxie_> heya FaustXVI
<ixxie_> Happy new year
ixxie has quit [(Ping timeout: 260 seconds)]
uralbash has quit [(Ping timeout: 246 seconds)]
<FaustXVI> I'm trying to work on kotlin (https://github.com/JetBrains/kotlin) and one of the requirements is "JDK 1.6, 1.7 and 1.8" and I must admit I have no idea on how to make a nix derivation for that. Could any body help me ?
<manveru> ixxie_: that's something you'd set in your xorg config, not gnome, afaict
<ronny> FaustXVI: i believe you can just use the openjdk thats already in nix
takle has quit [(Remote host closed the connection)]
jgertm_ has joined #nixos
georges-duperon has joined #nixos
thc202 has joined #nixos
<ixxie_> manveru: I see.... and luckily there seems to be an option entering it into a module
<ixxie_> but isn't it partially autogenerated?
Wizek has joined #nixos
Wizek_ has joined #nixos
<Dezgeg> don't we already have kotlin for that matter?
<FaustXVI> ronny: yes I can for JDK 8
<FaustXVI> but I won't have the others
<manveru> ixxie_: the xorg.conf is built by nix
<FaustXVI> Dezgeg: yes we do, but I want to work on it, the language itself :)
<manveru> just add your config to the section you want
takle has joined #nixos
<ixxie_> manveru: awesome theres a specific option for button mapping
<NixOS_GitHub> [nixpkgs] peti closed pull request #21595: ghc: when building with 8.0.2 or later, enable parallel builds (master...ghc-8.0.2-parallel-builds) https://git.io/vMmGD
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/711c23577749dea88514df778fd73e42c2f3eb45
<NixOS_GitHub> nixpkgs/master 711c235 Peter Simons: haskell: clean-up for the generic builder...
phanimahesh has quit [(Ping timeout: 260 seconds)]
phanimahesh has joined #nixos
ixxie_ has quit [(Remote host closed the connection)]
takle has quit [(Ping timeout: 258 seconds)]
ixxie has joined #nixos
<ixxie> manveru: lifesaver! that did the trick.
<ixxie> I have a compact laptop and was accidently pasting random shit for half a year
<manveru> hehe
<ixxie> thanks
<manveru> no problem
nanobapt has joined #nixos
ThatDocsLady has quit [(Ping timeout: 246 seconds)]
indi_ has quit [(Remote host closed the connection)]
marvin3k has quit [(Quit: Lost terminal)]
roconnor has quit [(Ping timeout: 258 seconds)]
systemfault has quit [(Quit: Bye!)]
<trqx> Hi, new to nixos, is there any guideline on how to manage configurations with git and deploy a new machine?
takle has joined #nixos
<trqx> also, is there any doc on how it is managed on filesystem level? I'm kinda worried about disk space issue
<manveru> trqx: my configuration.nix looks like this: { config, pkgs, ... }: { imports = [ ./hardware-configuration.nix /home/manveru/github/manveru/nixos-conf/kappa.nix ]; }
zraexy has quit [(Ping timeout: 248 seconds)]
<manveru> i have a .nix for each of my machines with specific settings and a common.nix shared between all machines for things i want on all of them
indi_ has joined #nixos
systemfault has joined #nixos
<trqx> ok, no way to skip partitioning stage of the installation I guess
<ixxie> trqx: I am currently working on exactly that for my own stuff atm
<NixOS_GitHub> [nixpkgs] volth opened pull request #21608: miredo-fix-kill-path (master...miredo-fix-kill-path) https://github.com/NixOS/nixpkgs/pull/21608
<ixxie> the root of that repo also has a set of scripts I am working on to manage the whole thing, and some of those nix files are templated and managed by those scripts to allow, for example, user management
ThatDocsLady has joined #nixos
<trqx> nice, thank you ixxie & manveru
indi_ has quit [(Remote host closed the connection)]
<ixxie> (not that nix doesn't support user management, I just wanted to manage users in the configuration files systematically
mudri` has joined #nixos
ThatDocsLady has quit [(Client Quit)]
<trqx> ok
<trqx> regarding a permanent liveusb installation, anyone tried it? will I notice a huge performance gap compared to any other linux distro?
<trqx> this might have been reported already but certificate does not work for www.nixos.org, only nixos.org and search engines send results for www.nixos.org/stuff
<NixOS_GitHub> [nix] edolstra tagged 1.11.5 at 86d0a41: https://github.com/NixOS/nix/commits/1.11.5
ThatDocsLady has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to master: https://git.io/vMYUS
<NixOS_GitHub> nixpkgs/master 0108c31 Eelco Dolstra: nix: 1.11.4 -> 1.11.5
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #21608: miredo: fix path to "kill" (master...miredo-fix-kill-path) https://git.io/vMYfx
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://github.com/NixOS/nixpkgs/compare/0108c31e22ea...1d72e81d6f6d
<NixOS_GitHub> nixpkgs/master c737809 volth: miredo-fix-kill-path
<NixOS_GitHub> nixpkgs/master 1d72e81 Jörg Thalheim: Merge pull request #21608 from volth/miredo-fix-kill-path...
indi_ has joined #nixos
systemfault has quit [(Quit: Bye!)]
xadi has joined #nixos
derjohn_mob has joined #nixos
xadi has quit [(Client Quit)]
<NixOS_GitHub> [nix] edolstra pushed 2 new commits to master: https://github.com/NixOS/nix/compare/ae1e4dfad29e...5d377ace2d74
<NixOS_GitHub> nix/master c287e79 Eelco Dolstra: nix-shell: In #! mode, pass the last argument...
<NixOS_GitHub> nix/master 5d377ac Eelco Dolstra: Update upload-release script
xadi has joined #nixos
<rly> LnL: how do I add bash completion support to a package?
systemfault has joined #nixos
indi_ has quit [(Remote host closed the connection)]
<rly> LnL: i.e., a package wants to install into /etc/bash<whatever>, but on NixOS that's not going to work.
<rly> LnL: I think I already found it.
indi_ has joined #nixos
<mbrgm> what could be a reason for a package not appearing when I'm doing `nix-env -qa -I nixpkgs=/path/to/my/nixpkgs`, although that pkg is in the top-level/all-packages.nix?
brh has joined #nixos
sdothum has joined #nixos
brh has quit [(Ping timeout: 260 seconds)]
Intensity has quit [(Remote host closed the connection)]
ublubu has quit [(Ping timeout: 258 seconds)]
ublubu has joined #nixos
indi_ has quit [(Remote host closed the connection)]
<ixxie> rly: what is your solution? I will also be needing to look into this soon
<LnL> rly: I was in a meeting, it's something like $out/share/bash_completion
eacameron has joined #nixos
cfricke has joined #nixos
eacameron has quit [(Ping timeout: 248 seconds)]
<NixOS_GitHub> [nixpkgs] spy-tech opened pull request #21609: Upgrade awscli to 1.11.35 (master...feature/21591) https://github.com/NixOS/nixpkgs/pull/21609
proteusguy has quit [(Ping timeout: 258 seconds)]
proteusguy has joined #nixos
indi_ has joined #nixos
phanimahesh has quit [(Ping timeout: 248 seconds)]
phanimahesh has joined #nixos
<NixOS_GitHub> [nixpkgs] spy-tech closed pull request #21609: awscli: 1.11.30 -> 1.11.35 (master...feature/21591) https://git.io/vMYtY
peter-holm has joined #nixos
<peter-holm> Ok, I am back here - trying to bind-mount from configuration.nix. I have been suggested to use this aproach
<peter-holm> fileSystems."/workspace/peter" = { device = "/home/peter/workspace/"; fsType = "none"; options = "bind";
<peter-holm> };
<peter-holm> error: The option value `fileSystems./workspace/peter.options' in `/etc/nixos/configuration.nix' is not a list of strings.which fails with error
zagy has quit [(Quit: Leaving.)]
<peter-holm> Have tryiing to get this to work a half day and a whole nigt ( now It is morning here in sweden).
<page> peter-holm: options = [ "bind" ]
phanimah1sh has joined #nixos
phanimahesh has quit [(Ping timeout: 248 seconds)]
ertesx has joined #nixos
Shou has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/2a4c8313e4b10fb52a4fa4798864640d3439c68d
<NixOS_GitHub> nixpkgs/master 2a4c831 Tuomas Tynkkynen: linux_testing: 4.10-rc1 -> 4.10-rc2
indi_ has quit [(Remote host closed the connection)]
<gchristensen> domenkozar: this person seems really sketchy
indi_ has joined #nixos
<gchristensen> this is the second or third time they've said they have a bit of time, add me to the organization
ertes has quit [(Ping timeout: 248 seconds)]
ertesx is now known as ertes
<gchristensen> it reminds me a lot of https://github.com/NixOS/nixpkgs/issues/20836's "I would also like to perform security review of nixpkgs and would possibly pay some security researcher to inject code into nixpkgs/nixos on purpose, to see how bad security is"
indi_ has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] edolstra pushed 4 new commits to release-16.09: https://github.com/NixOS/nixpkgs/compare/1b19369885f6...730d04225fa3
<NixOS_GitHub> nixpkgs/release-16.09 c064bff Eelco Dolstra: aws-sdk-cpp: 0.10.6 -> 1.0.34...
<NixOS_GitHub> nixpkgs/release-16.09 18e1caf Eelco Dolstra: aws-sdk-cpp: Use multiple outputs...
<NixOS_GitHub> nixpkgs/release-16.09 7e548d5 Eelco Dolstra: aws-sdk-cpp: 1.0.34 -> 1.0.43...
dgn1 has joined #nixos
<LnL> that doesn't really make a lot of sense to me
reinzelmann has quit [(Ping timeout: 272 seconds)]
<gchristensen> yeah?
<LnL> if you don't trust the nixos maintainers you can use a fork and add stuff you trust yourself
indi_ has joined #nixos
<gchristensen> oh, hehe
<gchristensen> yeah
dgn has quit [(Ping timeout: 256 seconds)]
dgn1 is now known as dgn
cfricke has quit [(Quit: WeeChat 1.6)]
<LnL> and it's not very likely that something strange gets introduced in the core system without somebody noticing that hydra is rebuilding everything
<gchristensen> yeah ... I think the state of affairs is a lot better than they think
guillaum1 has joined #nixos
<LnL> huh, he wants commit access and he's not even a contributer yet?
<gchristensen> LnL: to _anything_!
<gchristensen> https://github.com/itsN1X scroll through his github "Contribution activity" for the last 3 years
modulistic has quit [(Remote host closed the connection)]
msd has joined #nixos
<LnL> lol
<gchristensen> oh maybe a few that I hadn't seen before
<msd> Getting hangs on waiting for the IP address from NixOps when following the default tutorial. Any ideas?
<msd> Using all default settings, turned firewall off
<msd> VBox has extensions and is headless
<LnL> msd: might be cause of the vboxnet0
<msd> vboxnet0?
<LnL> VBoxManage list hostonlyifs
<msd> LnL: using this on a NixOS machine
<msd> LnL: everything seems to be alright when running that
<LnL> nixops uses that network to connect to the nodes, but it expects it to have the "default" ip range and a dhcp server
<msd> DHCP disabled
<msd> Ah
<LnL> list dhcpservers
<msd> IP: 192.168.56.100
<LnL> oh that looks fine
<LnL> not sure then
<msd> lowerIPAddress: 192.168.56.101
<msd> upperIPAddress: 192.168.56.254
indi_ has quit [(Remote host closed the connection)]
<msd> Oh LnL is DHCP enabled by default?
<LnL> yes it should be configured correctly by default
<msd> Strange
<LnL> but if you remove that hostonly network nixops will get confused
<msd> Right right
<guillaum1> Hi there. I just discovered nixos and I'm tempted to test it. Could you just confirm me that I did not missunderstood it. I'm working on a complex C++ codebase which depends on a bunch of packages, with specific version and specific build configurations. I can just list my package and its specific configuration and run nix-shell and get an environnement which the right package built with the right setup?
<guillaum1> Will it rebuild also all the dependencies?
<msd> Maybe...this requires a restart?
<gchristensen> guillaum1: it should :) the one caveat is we may not package the specific versions you require, but you could create a nix-shell which does
<LnL> yep, you might have to write some expressions yourself
msd has quit [(Remote host closed the connection)]
<LnL> but nix-shell is ideal for this kind of stuff IMHO
msd has joined #nixos
msd has quit [(Remote host closed the connection)]
<guillaum1> cool, thank you. And does that means that if I'm rebuilding a specific gcc version, because most libs depends on the gcc c++ std library, it will recompile most of the lib, turning my system into a source based one? ;)
Hunner has joined #nixos
<gchristensen> guillaum1: you could use a specific version of GCC _just_ in that one nix-shell :) but yes, if you changed the whole system's gcc, you'd be compiling everything
<LnL> we have a bunch of versions in nixpkgs, but if is's not in there you'll have to compile it yourself
Hunner has joined #nixos
ericsagn1 has joined #nixos
bfrog has joined #nixos
abcrawf has joined #nixos
<trqx> trying to add a user to a nix installation via configuration.nix, I get "This user is currently not available" even after reboot
charlesofarrell_ has joined #nixos
<LnL> did you run nixos-rebuild switch?
<trqx> it seems there is no shell but setting a shell is not in the manual
<trqx> LnL: yes
codedmart has joined #nixos
<gchristensen> can you share that part of your configuration.nix?
<trqx> sure
<guillaum1> Nice, I'm really exited to test all of this. And I will for sure contribute a bunch of package because actually none of my dependencies are in the list of nixpkg.
<gchristensen> LOL! well, we're happy to help with that :) you may find my search engine useful: https://search.nix.gsc.io/
<trqx> users.extraUsers.tx = {
<trqx> createHome = true;
<trqx> home = "/home/tx";
<trqx> description = "main user";
<trqx> extraGroups = [ "wheel" "networkmanager" ];
<trqx> };
<trqx> I set the password with passwd
<trqx> shell in passwd is set to nologin
<LnL> trqx: I think you need to specify a uid
ocharles_ has joined #nixos
<LnL> gchristensen: it's nice, I use it alot
<gchristensen> ahh good to hear! :)
<trqx> manual specifies it's optional, and uid is 1000 in /etc/passwd
<gchristensen> isNormalUser = true;
<LnL> ^ yeah I think that's it, apparently the uid is optional
mkoenig has quit [(Read error: Connection reset by peer)]
<trqx> yep, isNormalUser did the trick
<gchristensen> trqx: where in what manual were you looking?
<ixxie> Awesome portrait gchristensen (http://gsc.io/)
<ixxie> xD
<gchristensen> :)
<ixxie> self portrait I presume?
<gchristensen> my then-girlfriend-now-wife did it, ixxie :)
<gchristensen> trqx: gotcha, ok, that is okay, at least it isn't wrong
<trqx> yes
<ixxie> whoa, deja-vous
<NixOS_GitHub> [nixpkgs] zimbatm closed pull request #21601: terraform: 0.8.1 -> 0.8.2 (master...terraform_082) https://git.io/vMmon
<gchristensen> oh?
fre has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/586ceaf718e6ddced417cbcfddcba52039b4ef18
<NixOS_GitHub> nixpkgs/master 586ceaf Adam Stephens: terraform: 0.8.1 -> 0.8.2 (#21601)
<fre> hi all. Is there an official publication on nix one should refer to when publishing research work that uses it?
<gchristensen> niksnut: question about research papers
<fre> I'm using a nix file to describe the dependencies iof my reproducible system system
<trqx> mmh seems like I need to configure something so ctrl+d, and ctrl+u, ctrl+w etc. work in the console
<fre> reproducible research system*
<fre> thank you gchristensen
<gchristensen> fre: ooohhh!!! wow, cool
<ixxie> maybe there is an earlier one on nix itself
<ixxie> fre: what kind of system is it? I was thinking of going along a similar route :>
<fre> I was thinking nix only yes, as I don't really use nixos in there :-)
indi_ has joined #nixos
mkoenig has joined #nixos
<fre> it's a minimalistic snapshot of the work that compiles code, runs experiments and builds the final pdf
<fre> the main tool is the zymake workflow system
<fre> made by eric breck
<fre> ixxie: thankz
<ixxie> fre that seems cool
<ixxie> I was thinking of doing something along those lines for some R simulation code, but I wanna do it with a database.
<fre> I have R code in there
<gchristensen> fre: the second hardest job I've ever had included trying to get a team of scientists to have reproducible research
<niksnut> heh
<ixxie> fre: the thing is, I wanted to cache runs to prevent people from needlessly repeating runs, so I thought the model would be simulated and stored in a db with all parameter values AND the seed
FRidh has joined #nixos
<ixxie> so that a highly dimension statespace can be explored ad-hoc, building a juicey database
<NixOS_GitHub> [nixpkgs] edolstra pushed 3 new commits to release-16.09: https://github.com/NixOS/nixpkgs/compare/730d04225fa3...c0caaafb0333
<NixOS_GitHub> nixpkgs/release-16.09 cbfcfa1 Eelco Dolstra: test-driver: Show test duration...
<NixOS_GitHub> nixpkgs/release-16.09 22f48e3 Eelco Dolstra: nixos/tests/gnome3.nix: Speed up test...
<NixOS_GitHub> nixpkgs/release-16.09 c0caaaf Eelco Dolstra: Use looser 9pfs caching in VM tests/builds...
<ixxie> although that could quickly hog a lot of space xD
<fre> tbh it's super simple.. http://freux.fr/misc/default.nix
<fre> I just have some nix-shell --run zymake zymakefile type rules in a Makefile
<LnL> niksnut: anything special new in 1.11.5?
<ixxie> <3 rWrapper
<fre> the database is in the disk, managed by zymake
<ixxie> every package should handle it's plugins like that :)
<gchristensen> niksnut: those 9p changes are incredible.
<fre> yes it's really cool :-)
<ixxie> cool
<fre> niksnut: grazzie, I'll use this paper.
<LnL> gchristensen: are they in master or unstable?
<ixxie> oh yeah, and the last thing I wanted is a complete web interface for that, fre xD to really make the model accessible to anybody
<fre> I can reccomend you the sumatra system tho ixxie
<gchristensen> LnL: eelco just pushed them 1 minute ago
<FRidh> ixxie: I wrote Nix expressions for some of my analyses and simulations. Having the "caching" in the store was quite neat, and having it entirely reproducible. In the end I quit working with this because it required wrapping a lot of my Python functions as Nix functions
<gchristensen> LnL: to stable
<gchristensen> 16.09
<LnL> ooh even better!
<ixxie> that last one made me quit academia and enter the startup world >.<
<fre> FRidh: that sounds very cool, do you have some example code?
<gchristensen> LnL: they've been in master for a few weeks now
<ixxie> FRidh: so every run gets a different entry in the store?
<FRidh> I could upload that code. It won't run without the data though.
<fre> Sure. I'm extremely interested. I work in a team where some people research exp.reproducibility full time
<FRidh> ixxie: well, no, it depends on your input. For example, if I change a parameter in my simulation (goal was to use json files) it might result in a new store path, but not if it had already been computed before.
<fre> they would love to see that
brh has joined #nixos
<ixxie> FRidh: yeah thats what I thought
<FRidh> I think it can be worth using Nix for this if you will use this simulation or whatever it is more often, but otherwise it just seems too much work.
<fre> FRidh what was your personal incentive to do it?
<gchristensen> my guess is b/c nix is an addiction
Lowl3v3l has joined #nixos
<FRidh> fre: An interest in reproducibilty and getting annoyed by so much academic work appearing far from reproducible.
<FRidh> ha
<fre> FRidh Oh. I want to see some code. :-) probably because I'm addicted.
indi_ has quit [(Remote host closed the connection)]
<ixxie> FRidh: if you make a framework for any code in a language you could quite easily do it for any project
<ixxie> I imagine with R wrapper its easy to make R code reproducable
<FRidh> fre: simulations and tools are getting more complicated, and papers just don't include enough information.
<ixxie> just curious, what kinda research are yall doing?
brh has quit [(Ping timeout: 256 seconds)]
<ixxie> fre / FRidh
zagy has joined #nixos
<domenkozar> globin: here? :)
<FRidh> ixxie: I simulate the audible sound of aircraft in urban environments and specifically looked at how atmospheric turbulence affects the audible sound.
<ixxie> kewl, FRidh - so wave equations and fluid dynamics?
<NixOS_GitHub> [nixpkgs] domenkozar force-pushed ghc-split-sections from f750dee to 647a821: https://github.com/NixOS/nixpkgs/commits/ghc-split-sections
<NixOS_GitHub> nixpkgs/ghc-split-sections 647a821 Domen Kožar: GHC 8.0.2: use -split-sections...
<NixOS_GitHub> [nixpkgs] domenkozar force-pushed ghc-split-sections from 647a821 to 29277f1: https://github.com/NixOS/nixpkgs/commits/ghc-split-sections
<NixOS_GitHub> nixpkgs/ghc-split-sections 29277f1 Domen Kožar: GHC 8.0.2: use -split-sections...
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/b4f401104d3f00d68a42475968854fc111eb0866
<NixOS_GitHub> nixpkgs/master b4f4011 Eelco Dolstra: Fix big-parallel usage...
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to release-16.09: https://github.com/NixOS/nixpkgs/commit/78d8921e8d2a989b1d0bad9282d57f1dd126194e
<NixOS_GitHub> nixpkgs/release-16.09 78d8921 Eelco Dolstra: Fix big-parallel usage...
<gchristensen> good catch on that ...
<FRidh> ixxie: well, no fluid dynamics, that goes a bit too deep :) But indeed wave equation. Lots of signal processing, statistical methods for describing atmospheric turbulence, and finally human perception. In the end its a lot of models and custom code put together. And how about yourself?
<fre> FRidh: cool, yes i'm familiar with the issue of reproducibility.. I work in HPC and we have none. :-)
<gchristensen> fre: does your team use nixos elsewhere? some other HPC people use nixos on their clusters
<fre> ixxie: I'm working in parallel job scheduling in HPC, I use machine learning techniques to learn to allocate jobs
<FRidh> fre: haha, sounds familiar
<fre> gchristensen: yes we use nix on our clusters too
<fre> gchristensen: its in the University of Grenoble/ Inria
<FRidh> nix, or nixos?
<fre> nix
<fre> is there an irc channel for just nix?
<gchristensen> this is it :)
<FRidh> if I am correct there's a torque module for nixos
<fre> ok :)
<gchristensen> would you / your team like to write something up about how much time / money / frustration nix saves you by promising reproducibility and package isolation etc. etc. ? :P
<gchristensen> fre ^
<fre> Not me personally but our guys surely would love to
<FRidh> fre: How do you use Nix on the cluster? On our cluster the main disks are rather small, so I had to install nix as a user on the Lustre filesystem, but those access times...
<fre> I don't know if they have time for that
<ixxie> cool stuff FRidh, fre
<gchristensen> fre: I'll send your team Nix stickers if you do :d
<gchristensen> :D
<fre> hihihi
<NixOS_GitHub> [nixpkgs] domenkozar closed pull request #20832: heist haskell package: fixed missing test dependency (master...haskell.heist) https://github.com/NixOS/nixpkgs/pull/20832
<LnL> talking about stickers, did you get my pm?
<gchristensen> oh yeah
<ixxie> I did some ecological simulations, I am interested in analyzing fragility / noise response in complex systems; but then I got more interested in methodological issues, which led to a realization that I wanna have a better technology stack
<ixxie> now I am trying to learn more coding and develop some kind of startup
<ixxie> hopefully with a Nix heart :)
<gchristensen> :)
indi_ has joined #nixos
<fre> oooh that's really cool ixxie
<FRidh> ixxie: Sounds familiar. I think there's so much potential for improvement in academia on this matter, it just seems there's hardly any funding for it.
<fre> scheduling in hpc is really sensitive to noise in workload
michaelpj has joined #nixos
<ixxie> FRidh: I want to continue my research in the private sector; my dream is to create an organization that is something between business, NGO and academia
mguentner2 is now known as mguentner
<fre> ixxie: you can work for the gates foundation then. :)
<fre> ixxie: it's controversial but that's the basic idea.
tv1 is now known as tv
tv has quit [(Changing host)]
tv has joined #nixos
<ixxie> (fre, FRidh: more on that at www.fluxcraft.net )
<ixxie> I didn't see much in the Gates foundation I found exciting, but maybe I didn't look in the right place.
<ixxie> Im gonna go for some big juicey grants and if I succeed I will need to poach one of you Nixperts xD
<ixxie> until then, time to give a cat some eyedrops >.<
<fre> ixxie: gchristensen FRidh thanks for all and have a nice day.
<ixxie> you too
<gchristensen> fre: you too, and remember my offer to bribe you for a quote! ;)
<fre> I will mention it to our cluster guru. :)
indi_ has quit [()]
<NixOS_GitHub> [nixpkgs] Profpatsch closed pull request #21607: youtube-dl: 2016.12.22 -> 2017.01.02 (master...youtube-dl) https://git.io/vMmpS
<NixOS_GitHub> [nixpkgs] Profpatsch pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/85ff5a2583a893b928e5471d5716658306ab9daf
<NixOS_GitHub> nixpkgs/master 85ff5a2 Stefan Goetz: youtube-dl: 2016.12.22 -> 2017.01.02 (#21607)
phanimahesh has joined #nixos
nomachine has joined #nixos
phanimah1sh has quit [(Ping timeout: 258 seconds)]
greymalkin has quit [(Ping timeout: 260 seconds)]
<kmicu> mbrgm: nix-env requires ‘-f’ flag so use ‘nix-env -qa -I nixpkgs=/path/to/my/nixpkgs -f '<nixpkgs>'’ or ‘nix-env -qa -f /path/to/my/nixpkgs’.
<nomachine> I am trying to use buildFHSUserEnv run an install script during the installPhase, but I am getting an error I do not know how to solve: in `block in make_fcall': No such file or directory (Errno::ENOENT)
msd has joined #nixos
<mbrgm> kmicu: ahhh! thank you! I was so focused on `-I` :-/
<nomachine> I run it like this: ${installEnv}/bin/nomachine-install -c './nxserver --install fedora' (runScript of buildFHSUserEnv is bash)
greymalkin has joined #nixos
<nomachine> So I assume ./nxserver cannot be found, however it does exist in the $PWD at that point. Does the script nxserver need to be available within installEnv for it to work?
mudri` has quit [(Ping timeout: 256 seconds)]
<NixOS_GitHub> [nixpkgs] spy-tech opened pull request #21611: awscli: 1.11.30 -> 1.11.35 (master...feature/21591) https://github.com/NixOS/nixpkgs/pull/21611
systemfault has quit [(Quit: Bye!)]
phanimahesh has quit [(Ping timeout: 256 seconds)]
msd has quit [(Ping timeout: 246 seconds)]
<kmicu> edapa is gone and I have answers to her/his XMonad questions. This is why we should have lambdabot here https://hackage.haskell.org/package/lambdabot-social-plugins-5.1/docs/src/Lambdabot-Plugin-Social-Tell.html ( ͡~ ͜ʖ ͡°)
<gchristensen> :)
<gchristensen> kmicu: or Phergie with the "tell" plugin! https://www.phergie.org/
* gchristensen waits for all the FP people wilt at the idea of a php irc bot
sellout- has quit [(Quit: Leaving.)]
wangoe has joined #nixos
nomachine has quit [(Ping timeout: 260 seconds)]
ebzzry has joined #nixos
systemfault has joined #nixos
kriztw has quit [(Ping timeout: 248 seconds)]
<kmicu> (I’m only after massage–box/tell functionality to help more effectively. Implementation choice is accidental and a bot maintainer’s concern.)
[0x4A6F] has quit [(Ping timeout: 248 seconds)]
kriztw has joined #nixos
<NixOS_GitHub> [nixpkgs] peti closed pull request #21393: Small improvements to development GHC derivations (master...master) https://github.com/NixOS/nixpkgs/pull/21393
<kmicu> (#xmonad has ‘lambdabot’, #guix has ‘sneek’, probably written in Guile. They both deliver messages successfully and help impatient IRC users seeking help.)
* LnL wants a nix-instantiate bot
<kmicu> ! 2+2
<kmicu> nixbot: 4
<LnL> what
<kmicu> Proof of concept. I’m sitting inside the bot.
<gchristensen> kmicu: _is_ the bot
<kmicu> [Dalek’s voice] Exterminate!
msd has joined #nixos
catch22_ has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to staging: https://github.com/NixOS/nixpkgs/commit/293551a16286f2e1134707babdb013a29bf778ce
<NixOS_GitHub> nixpkgs/staging 293551a Lancelot SIX: gnum4: 1.4.17 -> 1.4.18...
catch22_ has quit [(Client Quit)]
<msd> LnL: is there an organization as to how nixops IPs are requested? As in, can I predict what the IP might be if I have only one machine up?
pkogan has quit [(Ping timeout: 265 seconds)]
adulteratedjedi has quit [(Ping timeout: 265 seconds)]
agarzia has quit [(Ping timeout: 265 seconds)]
philips has quit [(Ping timeout: 265 seconds)]
mbrock has quit [(Ping timeout: 265 seconds)]
cstrahan has quit [(Ping timeout: 265 seconds)]
<msd> or one virtual machine running
watersoul_ has joined #nixos
filterfish has quit [(Write error: Broken pipe)]
michalrus has quit [(Excess Flood)]
ok2 has quit [(Quit: Getting off stoned server - dircproxy 1.2.0)]
<gchristensen> "Botbot has scanned 739,071 lines of discussion in #nixos, of which 1.95% are messages of appreciation." hehe
michalrus has joined #nixos
<gchristensen> we lost kmicu :(
ok2 has joined #nixos
filterfish has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #21612: curl: 7.51.0 -> 7.52.1 (master...curl_7_52_1) https://github.com/NixOS/nixpkgs/pull/21612
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #21613: linux: 4.10-rc1 -> 4.10-rc2 (master...kernel_4_10-rc2) https://github.com/NixOS/nixpkgs/pull/21613
eacameron has joined #nixos
marcinkuzminski has joined #nixos
philips has joined #nixos
agarzia has joined #nixos
kmicu has joined #nixos
adulteratedjedi has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #21614: busybox: 1.25.1 -> 1.26.1 (staging...busybox_1_26_1) https://github.com/NixOS/nixpkgs/pull/21614
pkogan has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #20260: xmonad: Allow alternative path (master...xmonad_path) https://github.com/NixOS/nixpkgs/pull/20260
mudri` has joined #nixos
<gchristensen> kmicu: so I could get Phergie to join, but [0__0] seems to support messages and factoids
takle has quit [(Remote host closed the connection)]
eacameron has quit [(Ping timeout: 248 seconds)]
<NixOS_GitHub> [nixpkgs] matthiasbeyer opened pull request #21615: Update pkgs (master...update-pkgs) https://github.com/NixOS/nixpkgs/pull/21615
mog has quit [(Ping timeout: 258 seconds)]
cstrahan has joined #nixos
mbrock has joined #nixos
mog has joined #nixos
MinceR has quit [(Ping timeout: 260 seconds)]
dsieczko has joined #nixos
Khetzal_ is now known as Khetzal
MinceR has joined #nixos
<kmicu> Freenode have killed my server wilhelm.freenode.net. They already informed about servers updates in the following days.
<rly> TravisCI seems to have a 4MB log limit, which fails the build.
<rly> Is that a common problem?>
<gchristensen> yeah
MercurialAlchemi has quit [(Ping timeout: 246 seconds)]
<kmicu> We should ask the Elders of Nix, niksnut ikwildrpepper where and how botbot.me is deployed so we could enable e.g. https://github.com/BotBotMe/botbot-plugins/blob/master/botbot_plugins/plugins/message_service.py to increase #nixos channel helpfulness!
<gchristensen> I'm asking in #lincolnloop for help :) I think they host it
<NixOS_GitHub> [nixpkgs] jgertm opened pull request #21616: bitbucket-server-cli: init at 0.7.0 (master...tj/bitbucket-server-cli) https://github.com/NixOS/nixpkgs/pull/21616
_c_ has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #21613: linux: 4.10-rc1 -> 4.10-rc2 (master...kernel_4_10-rc2) https://git.io/vMYCP
alx741 has joined #nixos
<msd> LnL: gonna switch to QEMU and disable DHCP reverse filtering and see if that works
<NixOS_GitHub> [nixpkgs] gebner closed pull request #21554: emscriptenfastcomp: build using cmake and use cc-wrapper (master...emscripten-wrapped) https://github.com/NixOS/nixpkgs/pull/21554
ebzzry has quit [(Ping timeout: 248 seconds)]
<gchristensen> kmicu: exactly :)
cpennington has joined #nixos
mkoenig has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] ttuegel closed pull request #21466: Flatten nested kdeWrappers (master...kde-wrapper) https://github.com/NixOS/nixpkgs/pull/21466
<gchristensen> niksnut: can you send me some usage statistics about the binary cache?
mkoenig has joined #nixos
cpennington has quit [(Ping timeout: 256 seconds)]
<gchristensen> kmicu: we don't even have operators for 2 + 2 btw :P
takle has joined #nixos
Baughn has quit [(Remote host closed the connection)]
<rly> gchristensen: why doesn't the TravisCI build script act a bit more intelligently then? I.e. it could just display the last 4MB, for example (as a completely trivial improvement).
<gchristensen> rly: I invite you to try and make improvements, many improvements have been attempted.
<gchristensen> one issue is that requires not emitting anything until the very end of the build, which I think is also not possible since if your build is quiet it kills it assuming it is broken.
<rly> gchristensen: yes, but that can also easily be fixed.
<gchristensen> please do!
<kmicu> gchristensen: ? nix-instantiate --eval -E '2 + 2' → 4
<rly> gchristensen: so, a PR for the .travis.yml file?
<gchristensen> sure
derjohn_mob has quit [(Ping timeout: 258 seconds)]
<rly> gchristensen: are there any other limitations besides size and frequency of output?
<gchristensen> probably, I recommend reading up on travisci's docs
<LnL> also time with a mass rebuild, but that's not something we can work around AFAIK
cpennington has joined #nixos
brh has joined #nixos
<msd> LnL: "Failed to create domain from /tmp/nixops-tmpozTNU8/webservice-domain.xml" <- any ideas what the failure is? This seems like something to do with the IP mapping schema; however, I'm not too sure what the problem could be. Image deployed using QEMU with default settings
<kmicu> gchristensen: ah, that chapter is not updated since 1.6 with ‘Nix now has proper integer arithmetic operators. For instance, you can write x + y instead of builtins.add x y, or x < y instead of builtins.lessThan x y. The comparison operators also work on strings.’.
<gchristensen> ahh right on
<rly> LnL: why is that relevant?
<gchristensen> sometimes they fail because they just take too long
<gchristensen> or they fail because they fill up the disk
<rly> LnL: ah, I I thought you meant "time the PR".
<rly> s/I I/I
brh has quit [(Ping timeout: 248 seconds)]
m0rphism has quit [(Ping timeout: 272 seconds)]
<LnL> each pr will try to rebuild the world and take forever or fill the disk of the travis builder
<rly> LnL: so, when does TravisCI do something useful then?
<LnL> when master is stable
<rly> LnL: when binary cache works, you mean?
<gchristensen> when the PR is small enough and master is stable / thoroughly built and travis only has to build a few things.
<clever> gchristensen: one anoyance with the travis stuff, any mass-rebuild related products cant be shared between PR's
<gchristensen> many annoyances
<clever> gchristensen: and dont contribute back to the cache
<clever> replacing travis with hydra would solve a number of problems
<gchristensen> yeah :)
<LnL> ideally these rebuilds only happen on staging, but that's not always preferrable
<rly> clever: and the reason we don't do that is because we are all evil and are going to haxor it?
<clever> rly: last i heard, somebody said it would take another year of work to get that hydra stuff going
<gchristensen> well because travis isn't really very fit for the task in basically any way.
<rly> gchristensen: I mean the reason for not doing it.
<gchristensen> what is "it"?
<rly> gchristensen: clever understood.
<gchristensen> but either way my response is "time and money"
<gchristensen> please don't be an ass, rly
<rly> gchristensen: that's not what I meant.
<rly> gchristensen: I could have communicated better.
<gchristensen> you still can
eacameron has joined #nixos
<rly> gchristensen: what is the reason for not currently using Hydra to achieve the goal which we are supposed to achieve by using TravisCI?
guillaum1 has quit [(Quit: Lost terminal)]
<NixOS_GitHub> [nixpkgs] domenkozar pushed 1 new commit to rocksdb: https://github.com/NixOS/nixpkgs/commit/addcb0dddf2b7db505dae5c38fceb691c7ed85f9
<NixOS_GitHub> nixpkgs/rocksdb addcb0d Domen Kožar: generic-stack-builder: set DYLD_LIBRARY_PATH to fix OSX dynamic linking
<gchristensen> a big one is Hydra doesn't support building arbitrary things yet, so any sort of dynamic jobset or evaluation which gets created based on a changing input
bennofs has joined #nixos
<gchristensen> ie: when a PR is in, we need to make an evaluation for it. hydra doesn't have support for this
offline has quit [(Quit: Quit)]
jeaye has quit [(Ping timeout: 258 seconds)]
<rly> gchristensen: so, cgroups support basically and adding meta-data for jobs to set memory limits, etc.
<rly> gchristensen: is it even realistic to modify Hydra to do this?
jeaye has joined #nixos
<gchristensen> this isn't a security issue or cgroup issue, it is literally hydra cannot be configured to build
<gchristensen> hydra can be changed to support this behavior, hydra isn't really that complicated I think, people just get spooked by perl
<clever> gchristensen: biggest road-block i had when editing the perl, is that the build scripts nuke anything not tracked byt
<clever> by git*
Myrl-saki has quit [(Ping timeout: 258 seconds)]
<clever> gchristensen: so when i added new perl files, git didnt know of them, and they got nuked
<gchristensen> heh, yeah
dash has quit [(Ping timeout: 258 seconds)]
mkoenig has quit [(Read error: Connection reset by peer)]
Rotaerk has quit [(Quit: Leaving)]
dash has joined #nixos
<gchristensen> a concern I have is about capacity, building arbitrary numbers of PRs with arbitrary amounts of "mass-rebuildyness" is a substantial amount of additional load on the current infrastructure.
siel has quit [(Ping timeout: 258 seconds)]
Myrl-saki has joined #nixos
<LnL> yeah, I think everything currently gets uploaded to the cache
<clever> gchristensen: priority could be set on the PR stuff to run less often
<LnL> that probably won't scale to do that with PRs
<clever> and expiry on the cache would be more important if that happens
<clever> yeah
rod has quit [(Remote host closed the connection)]
zagy has quit [(Ping timeout: 260 seconds)]
zagy has joined #nixos
mkoenig has joined #nixos
zagy has quit [(Client Quit)]
cpennington has quit [(Ping timeout: 248 seconds)]
earldouglas has left #nixos []
thc202 has quit [(Ping timeout: 248 seconds)]
mbrgm has quit [(Ping timeout: 265 seconds)]
mbrgm has joined #nixos
peter-holm has quit [(Ping timeout: 265 seconds)]
<msd> Does systool exist in NixOS?
cpennington has joined #nixos
m0rphism has joined #nixos
eacameron has quit [(Remote host closed the connection)]
<bennofs> msd: nixpkgs.libsysfs is the package
eacameron has joined #nixos
alx741 has quit [(Ping timeout: 248 seconds)]
<msd> thanks bennofs
<FRidh> gchristensen: why even bother with using hydra for this. Hydra you like to have in order to spread work among machines. But at the same time, we don't want mass rebuilds to be build. So, why not have just a single more powerful machine for building PR's? And have it fail after x time.
<gchristensen> FRidh: well I think running the VM tests can be helpful, and having a cluster of machines can be helpful too, especially for big rebuilds
<gchristensen> FRidh: I mean. ... if all we want is like Jenkins or Go.CD running on big fat machines we can do that very easily
msd has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] edolstra closed pull request #21612: curl: 7.51.0 -> 7.52.1 (master...curl_7_52_1) https://git.io/vMYCo
<NixOS_GitHub> [nixpkgs] edolstra pushed 2 new commits to master: https://github.com/NixOS/nixpkgs/compare/0723aa810898...82b0ae1223af
<NixOS_GitHub> nixpkgs/master 125fa15 Tim Steinbach: curl: 7.51.1 -> 7.52.1
<NixOS_GitHub> nixpkgs/master 82b0ae1 Eelco Dolstra: Merge pull request #21612 from NeQuissimus/curl_7_52_1...
<domenkozar> I hate to spoil but I'm working on fixing this, but it will take a while :)
<gchristensen> how are you fixing? nix-bot?
<domenkozar> note that it doesn't do much yet
<Mic92> gchristensen: cool, got mail from you. Arrived on my birthday.
<gchristensen> Mic92: happy birthday! I'm glad it arrived :D
<gchristensen> _so_ very late, though ;)
brh has joined #nixos
hotfuzz has joined #nixos
msd_ has joined #nixos
<NixOS_GitHub> [nixpkgs] mguentner opened pull request #21617: subsurface 4.5.6 -> 4.5.97 (master...subsurface_beta) https://github.com/NixOS/nixpkgs/pull/21617
brh has quit [(Ping timeout: 256 seconds)]
amarsman has quit [(Ping timeout: 260 seconds)]
<eacameron> Can anyone comment an the intersection between nix and AWS lambda?
<domenkozar> it's two very different things?
<domenkozar> first is the package manager
<domenkozar> second is infrastructure for executing code
<msd_> And also does anyone know how to pass specific parameters to kvm_intel
<msd_> ?
<domenkozar> nix could run on AWSlambda, but not vice versa (well technically, it could as implementation detail)
cjhowe has joined #nixos
<msd_> domenkozar: thanks!
cjhowe has quit [(Client Quit)]
<LnL> curl update on master :(
<msd_> domenkozar: have you run into issues with KVM's nesting and QEMU's ability to launch VMs? Seems like nesting not being activated is what's blocking my QEMU VMs from being launched (through NixOps)
<gchristensen> LnL: :boom:
<msd_> LnL: lol
<msd_> domenkozar: "error: Failed to create domain from /tmp/nixops-tmpkJY_Mx/example-domain.xml ; error: invalid argument: could not find capabilities for arch=x86_64 domaintype=kvm "
<LnL> and I even have a PR open that removes it from the darwin stdenv
suvash_away has joined #nixos
Baughn has joined #nixos
cjhowe has joined #nixos
siel has joined #nixos
<gchristensen> Mic92: I love it!
<ixxie> does NixOps (or anything else) support sharing and synchronizing modules between team members?
<ixxie> Mic92: loud and proud! Awesome :)
<jaym> does anybody have a nix expression for grabbing rust nightlies
<gchristensen> hopefully everyone else's arrives soon :)
<Mic92> jaym: you can get it rustNightlyBin as a package
Elon has joined #nixos
<Mic92> jaym: I have a commit here, which also package cargo nightly as well. But not yet made the pull request
<Mic92> *rustcNightlyBin
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to 1.11-maintenance: https://github.com/NixOS/nix/commit/0c67498be9e701cbb686dbce6338c7b2f48bf7ca
<NixOS_GitHub> nix/1.11-maintenance 0c67498 Scott R. Parish: fix "nix-build" examples...
<jaym> i don't see rustcNightlyBin in nixpkgs
<jaym> nvm
<jaym> can you point me at your commit, i'd like cargo as well :)
<Mic92> jaym: wait a sec, I will upload the pull request now
<jaym> can i override the version
<jaym> it's not a function parameter
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Mic92> jaym: in your packageOverride this should be possible.
<Mic92> packageOverrides
<jaym> override src?
<domenkozar> msd_: hmm, works for me
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to master: https://github.com/NixOS/nix/commit/9000150a784d05a76455886b1ad8a95e0cff2115
<NixOS_GitHub> nix/master 9000150 Eelco Dolstra: Drop a few more references to all-packages.nix...
cjhowe has joined #nixos
<msd_> domenkozar: hm... maybe it's something to do with my config. Is disabling the firewall dangerous:
<msd_> ?
<Mic92> jaym: there was maybe a version attribute as well
<msd_> would that break my system?
<Mic92> jaym: but src should work too
<domenkozar> msd_: I launch qemu under root
<msd_> domenkozar: ah. I launch qemu under normal permissions through the libvirt group, through NixOps
<msd_> domenkozar: do you use NixOps to spin up your QEMU machines using root?
<domenkozar> nope
<domenkozar> msd_: you could play with libvirtd settings for root user
<domenkozar> pretty sure it's possible
<msd_> domenkozar: this could be what's breaking it. Does it matter if I create a virtual machine using root or normal users?
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #21618: rustNightlyBin: 2016-12-05 -> 2016-12-29 (master...rust) https://github.com/NixOS/nixpkgs/pull/21618
<domenkozar> well root is riskier
<msd_> domenkozar: even under root, still getting the same error
<Mic92> jaym: ^ the last pull request might be interesting for you
bfrog_ has joined #nixos
<mguentner> ixxie: you can use export / import for deployments
<domenkozar> msd_: dunno, under that repo I'm running using nested virt
<domenkozar> might want to play around with settings
<domenkozar> also googling what that error might be
ryantrinkle has quit [(Ping timeout: 245 seconds)]
mizu_no_oto has joined #nixos
<msd_> domenkozar: this was passed out by NixOps "warning: TCG doesn't support requested feature: CPUID.01H:EDX.vme [bit 1]" <- maybe this is it?
* domenkozar shrugs
<msd_> domenkozar: lol, alright thanks :)
<jaym> Mic92: ill try it out
thc202 has joined #nixos
<jaym> might not want to break rustcNightlyBin
<Mic92> jaym: maybe add a rename or something
<NixOS_GitHub> [nixpkgs] qknight closed pull request #21618: rustNightlyBin: 2016-12-05 -> 2016-12-29 (master...rust) https://git.io/vMYgG
<NixOS_GitHub> [nixpkgs] qknight pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/fd152db8f792dd4818ba4746d15aa74b50be2df2
<NixOS_GitHub> nixpkgs/master fd152db Jörg Thalheim: rustNightlyBin: 2016-12-05 -> 2016-12-29 (#21618)...
<jaym> too late
<msd_> domenkozar: ah! I get it. Just caught it. For some reason, hvm is running on arch i686, but my host is x86_64
<Mic92> I would have expected, that he had tested the package at least before
<msd_> domenkozar: so it looks like somehow QEMU is trying to run in 32 bit mode
_c_ has quit [(Ping timeout: 248 seconds)]
<domenkozar> usualy that means wrong executable for qemu
<Mic92> jaym: useage is the following btw: systemPackges = [ rustNightlyBin.rustc rustNightlyBin.cargo ];
<Mic92> *usage *systemPackages
indi_ has joined #nixos
sellout- has joined #nixos
_c_ has joined #nixos
<msd_> domenkozar: AH! I actually found it. dmidecode's trying to be pulled by libvirtd
itsN1X has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
bfrog_ has quit [(Ping timeout: 240 seconds)]
thc202 has quit [(Ping timeout: 272 seconds)]
fritschy has quit [(Quit: Leaving.)]
thc202 has joined #nixos
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
cjhowe has joined #nixos
jensens has joined #nixos
Mercuria1Alchemi has joined #nixos
ryantrinkle has joined #nixos
johnsonav has quit [(Ping timeout: 258 seconds)]
danharaj has joined #nixos
<jaym> Mic92:
<jaym> output path ‘/nix/store/c3p0z1jbsd0v3vgks2pwx78w4wia3m2y-rust-nightly-x86_64-unknown-linux-gnu.tar.gz’ has sha256 hash ‘05bppmc6hqgv2g4x76rj95xf40x2aikqmcnql5li27rqwliyxznj’ when ‘1afsqaavhwiaxm38zr08cbq0985c7lrb1jzdcmq0jh6y8rb8ikff’ was expected
<jaym> cannot build derivation ‘/nix/store/3sgkzz8gbrs5s63z9dqs2djp65fhbj20-cargo-nightly-2016-12-29.drv’: 1 dependencies couldn't be built
<jaym> error: build of ‘/nix/store/3sgkzz8gbrs5s63z9dqs2djp65fhbj20-cargo-nightly-2016-12-29.drv’ failed
pi3r has quit [(Ping timeout: 256 seconds)]
<NixOS_GitHub> [nixpkgs] pSub closed pull request #21617: subsurface 4.5.6 -> 4.5.97 (master...subsurface_beta) https://github.com/NixOS/nixpkgs/pull/21617
ryanartecona has joined #nixos
jmeredith has joined #nixos
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<NixOS_GitHub> [nixpkgs] edolstra pushed 2 new commits to master: https://github.com/NixOS/nixpkgs/compare/c4175a071b35...d496f23df0f9
<NixOS_GitHub> nixpkgs/master b297af4 Eelco Dolstra: Fix using ephemeral disks for /tmp etc. in EC2 instances...
<NixOS_GitHub> nixpkgs/master d496f23 Eelco Dolstra: amazon-image.nix: Remove redundant log message...
<Mic92> jaym: oh, I think it used the cached version of the previous nightly
<jaym> hmm
<Mic92> Thats why I did not noticed the broken checksum
Mercuria1Alchemi has quit [(Ping timeout: 256 seconds)]
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to release-16.09: https://github.com/NixOS/nixpkgs/commit/9cdefa25a096149ac92fa9536850c0d70c5bc080
<NixOS_GitHub> nixpkgs/release-16.09 9cdefa2 Eelco Dolstra: Fix using ephemeral disks for /tmp etc. in EC2 instances...
<jaym> also, that took waay to long for me to figure out how to do again... i've completely forgotten how to use nix-env
johnsonav has joined #nixos
<Mic92> I use nix-shell way more often
<gchristensen> yeah, I never use nix-env
<Mic92> I have one use case, I have a meta package called `all` on one server, which I use to install packages as a user.
FaustXVI has quit [(Quit: Page closed)]
<Mic92> all is defined as a override in ~/.nixpkgs
<jaym> ok, yea, i should have used nix-shell
<stepcut> any thoughts on how I can debug this issue? https://github.com/NixOS/nixpkgs/issues/20757
<jaym> it just worked after setting NIX_PATh
<jaym> the way i expected it to, that is
<jaym> the nice thing about nix-env was that it understood the rec had 2 derivations and tried to install both
<jaym> nix-shell didn't do that
<Mic92> nix-shell -p + shell completion is the fastest way to find packages
<jaym> i need this shell completion
<gchristensen> Mic92: you ... you have shell completion??
<Mic92> gchristensen: jaym I think it is a side effect of programs.zsh.enableCompletion = true;
<gchristensen> wow
<jaym> danm
<jaym> that should just be true
* gchristensen turns that on immediately
<jaym> i'm switching back to zsh
<jaym> fish is annoying
<Mic92> gchristensen: jaym oh no it is nix-zsh-completions in systemPackages
<Mic92> jaym: you can get the nice fish features also in zsh, with some plugins
<gchristensen> Mic92: is it slow? does it cache the results of nix-env -qa?
<jaym> yea, but ctrl+r not working is driving me insane
cjhowe has joined #nixos
AndroUserN1X has joined #nixos
<Mic92> gchristensen: it is the fastest completion I have ever seen.
<Mic92> No idea what it does
<gchristensen> shoot...!
cjhowe has quit [(Client Quit)]
<jaym> ok, so what am i doing?
<jaym> nix-zsh-completions as a system package?
cjhowe has joined #nixos
pi3r has joined #nixos
itsN1X has quit [(Quit: quitting AndroIRC - Android IRC Client ( http://www.androirc.com ))]
AndroUserN1X has quit [(Client Quit)]
itsN1X has joined #nixos
cjhowe has quit [(Client Quit)]
<jaym> hmm
<jaym> ok, well, it does something
<jaym> % nix-shell -p r !6216
<jaym> redshift rustfmt
<jaym> like these are just things i already have in my environment
<Mic92> jaym: programs.zsh.enableSyntaxHighlighting = true is also nice, if you come from fish
<Mic92> jaym: for me it complete everything
<Mic92> even src attributes
<jaym> i feel like oh my zsh should be doing that?
<gchristensen> Mic92: O.O!
rly has quit [(Ping timeout: 246 seconds)]
<ronny> does fish work better on nix these days
<jaym> seemed to work
<jaym> are you guys tab completing -p?
<ronny> oh, nice, i just took a look, theres much more options
<ronny> tab is missing however
pi3r has quit [(Client Quit)]
<ronny> are there any examples of using nix to manage personal dotfiles in home?
<itsN1X> hey-
reinzelmann has joined #nixos
<Mic92> I personally still use homeshick (https://github.com/andsens/homeshick) because of legacy systems
<itsN1X> Where do I find the documentation channel?
<gchristensen> itsN1X: this is the channel for everything about nix/nixos/nixpkgs, including talking about documentation :)
<LnL> gchristensen: programs.zsh.enable = true; should enable completion and everything for you
<itsN1X> Oh that's nice then. How can I get into contribution?
<eacameron> domenkozar: Re: AWS lambda: Yes that's how it seemed but I was curious if there was some sort of intersection. I don't know if/how AWS Lambda handles OS-level dependencies.
<gchristensen> itsN1X: you'd like to help with documentation?
AndroUserN1X has joined #nixos
itsN1X has quit [(Remote host closed the connection)]
<Mic92> I think the entry level to contribute documentation for nixos is currently too high
<ronny> Mic92: that one looks scarry at first glance
<Mic92> domenkozar: I agree sphinx is the better option
teknico has left #nixos []
<Mic92> domenkozar: Ideally it should be also possible without git knowledge to write documentation. We are developers, we know git. But actually git has a very inconsistent UX. Github could fix this partially.
bennofs has quit [(Ping timeout: 248 seconds)]
<domenkozar> year 2017: Nix converts to an useful tool for docs and gets docs contributions
<domenkozar> ideal timing for my brithday on 6 feb
<domenkozar> :P
roconnor has joined #nixos
<gchristensen> unfortunately I agree with edolstra :(
Lowl3v3l has quit [(Remote host closed the connection)]
<domenkozar> gchristensen: all of it?
* gchristensen runs away before he has to defend that statement
<gchristensen> back in 30min ;)
jgertm_ has quit [(Ping timeout: 248 seconds)]
<Mic92> there should a docbook template, which does generate a giant one-pager.
Lowl3v3l has joined #nixos
<domenkozar> there was one
<domenkozar> we split it up 2 years ago
<ronny> Mic92: im wondering if it would e possible to use the same thigns that manage /etc to build /home/...
<domenkozar> you might be able to dig it up and make a one-page manual
<Mic92> domenkozar: I mean the opposite
msd_ has quit [(Remote host closed the connection)]
georges-duperon has quit [(Ping timeout: 260 seconds)]
<Mic92> I want smaller pages
AndroUserN1X has quit [(Ping timeout: 240 seconds)]
<Mic92> and a sidebar navigation instead of one chapter list at the top
_rht has joined #nixos
<Mic92> But everytime I touch xslt I regret it immedately.
bfrog_ has joined #nixos
<ronny> domenkozar: that one looks a lot better than the last thing, but why is it not possible to use nix's own tools for that? as far as i can tell this just replicates the system switch
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #21596: stdenv: bootstrap cmake and python on darwin (master...darwin-stdenv) https://git.io/vMm8B
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://github.com/NixOS/nixpkgs/compare/d496f23df0f9...0778a1ce3ba0
<NixOS_GitHub> nixpkgs/master 538d1b6 Daiderd Jordan: stdenv: bootstrap cmake and python on darwin
<NixOS_GitHub> nixpkgs/master 0778a1c Daiderd Jordan: Merge pull request #21596 from LnL7/darwin-stdenv...
ixxie has quit [(Quit: Lost terminal)]
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 4 new commits to master: https://github.com/NixOS/nixpkgs/compare/0778a1ce3ba0...30f509437c84
<NixOS_GitHub> nixpkgs/master 7c29295 Michael Raskin: gcl_2_6_13_pre: init at 2.6.13pre50. GCL hasn't had releases for a long time, but there are relatively regular prereleases
<NixOS_GitHub> nixpkgs/master 95f3473 Michael Raskin: ecl_16_1_2: init at 16.1.2; reinstating for Maxima
<NixOS_GitHub> nixpkgs/master efd2b27 Michael Raskin: sbcl_1_3_12: init at 1.3.12; reinstating the previous version for Maxima
takle has quit [(Remote host closed the connection)]
georges-duperon has joined #nixos
AndroUserN1X has joined #nixos
AndroUserN1X has quit [(Read error: Connection reset by peer)]
AndroUserN1X has joined #nixos
sellout- has quit [(Quit: Leaving.)]
reinzelmann has quit [(Ping timeout: 246 seconds)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
reinzelmann has joined #nixos
<AndroUserN1X> gchristensen : yes
takle has joined #nixos
alx741 has joined #nixos
AndroUserN1X has quit [(Quit: quitting AndroIRC - Android IRC Client ( http://www.androirc.com ))]
itsN1X has joined #nixos
digitalmentat has joined #nixos
indi_ has quit [(Ping timeout: 248 seconds)]
simendsjo has joined #nixos
<itsN1X> gchristensen : yes
indi_ has joined #nixos
<ocharles_> peti: Is this a sane way to build a haskellPackages with a custom GHC source?
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-16.09: https://git.io/vMYXf
<NixOS_GitHub> nixpkgs/release-16.09 b714f55 Pascal Wittmann: Make all meta.maintainers attributes lists...
<gchristensen> itsN1X: I think kmicu would be a great person to talk to about documentation
<gchristensen> kmicu has probably a laundry-list of things they'd like improved
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/1fe136ea8a3d142e4e71d0277bab4e26320aa7b7
<NixOS_GitHub> nixpkgs/master 1fe136e Vladimír Čunát: Make all meta.maintainers attributes lists...
amarsman has joined #nixos
reinzelmann has quit [(Ping timeout: 256 seconds)]
georges-duperon has quit [(Ping timeout: 240 seconds)]
indi_ has quit [(Remote host closed the connection)]
pstn has joined #nixos
ambro718 has joined #nixos
<itsN1X> kmicu,
systemfault has quit [(Quit: Bye!)]
rly has joined #nixos
<ronny> domenkozar: is there yet an easy way to get mutable virtualenvs on nixos that dont die on a gc?
<domenkozar> I'm not doing Python these days so no idea, sorry
<ronny> else i'd like to create one
<ronny> i suppose FRidh is doing things on that now?
<simpson> ronny: I am interested but have nothing to contribute.
<LnL> ronny: I have some custom expressions that I use for work, but it I have to recreate them after a reboot
<LnL> a gc I mean
<ronny> LnL: main reason is that virtualenv calls dont add gc roots to the used pythons
<LnL> my setup actually uses a nix buildEnv for most dependencies
c0bw3b has joined #nixos
<LnL> except for some special dependencies
<ronny> LnL: still no gc root added
<ronny> buildEnv !0 gc root
<LnL> nix-instantiate --indirect --add-root $PWD/result.drv -A env
<ronny> a rdv file is also no gc root
zagy has joined #nixos
<ronny> *drv
habibi has joined #nixos
<LnL> that caches everything for me
<itsN1X> kmicu: links?
<ronny> LnL: a file that lists some hashes is not a gc root
<LnL> ronny: --add-root makes it a gc root
<LnL> and since it's a drv all the buildInputs it needs will stay allive
ertes has quit [(Ping timeout: 264 seconds)]
<ronny> LnL: so why do you need a recreate after gc?
dgn has quit [(Ping timeout: 248 seconds)]
<LnL> ronny: because some of the stuff in the virtualenv is impure
zagy1 has joined #nixos
<ronny> LnL: huh?
zagy has quit [(Ping timeout: 245 seconds)]
<ronny> LnL: why would that matter, a virtualenv is supposed to be outside of the nix store so you can modify it to begin with
<LnL> ronny: it refers to some nix stuff
<LnL> that might disappear
alx741 has quit [(Ping timeout: 240 seconds)]
<ronny> LnL: why would it disappear if a gc root needs it?
msd has joined #nixos
AndroUserN1X has joined #nixos
itsN1X has quit [(Read error: Connection reset by peer)]
<ronny> LnL: because that would be like a major bug in the gc
reinzelmann has joined #nixos
<LnL> ronny: I can give you an example in 30min
danharaj has quit [(Quit: Leaving.)]
danharaj has joined #nixos
<johnw> can I turn {a = 1; b = 2;} into [a b]?
<johnw> ah, attrNames
<LnL> attrNames
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<ronny> LnL: k, thx
<peti> ocharles_: Yes, that's a good solution. Those interfaces are not going to change in the forseeable future.
<ocharles_> Cool, thanks!
tsurai has joined #nixos
Shou has quit [(Ping timeout: 256 seconds)]
sellout- has joined #nixos
michaelpj has quit [(Ping timeout: 256 seconds)]
<tsurai> hey, I'm trying to install nixos from an usb stick on a thinkpad x220 but get an error in stage1 that it cant mount /mnt-root when booting from the stick
reinzelmann has quit [(Ping timeout: 245 seconds)]
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://github.com/NixOS/nixpkgs/compare/1fe136ea8a3d...92d0a977d903
<NixOS_GitHub> nixpkgs/master 9bd93ac Tim Steinbach: busybox: 1.25.1 -> 1.26.1
<NixOS_GitHub> nixpkgs/master 92d0a97 Tim Steinbach: Merge pull request #21614 from NeQuissimus/busybox_1_26_1...
AndroUserN1X has quit [(Ping timeout: 245 seconds)]
reinzelmann has joined #nixos
zagy1 has quit [(Quit: Leaving.)]
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
<eacameron> Can anyone recommend a good backup system for databases and files that works well with nixos?
mudri` has quit [(Ping timeout: 272 seconds)]
nanobapt has quit [(Ping timeout: 256 seconds)]
<johnw> eacameron: can you use ZFS? if so, rolling snapshots and incremental filesystem copies to another machine works very nicely
<eacameron> johnw: Whoa...that sounds amazing. I don't know anything about it.
<johnw> i've been using it for years now, with nixos, it's wondrous
<johnw> boot.supportedFilesystems = [ "zfs" ]; services.zfs.autoSnapshot.enable = true; http://docs.oracle.com/cd/E19253-01/819-5461/gbchx/index.html
ThatDocsLady has joined #nixos
pstn has quit [(Ping timeout: 272 seconds)]
<eacameron> johnw: Amazing. I'll definitely look into that. Have you, perchance, tried using it with machines deployed by nixops?
itsN1X has joined #nixos
<ronny> FRidh: is there any way to stop nix from running strip on all files of a python package?
Shou has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/d05656a9ca7b31df0170656f9ba0a23659361d8f
<NixOS_GitHub> nixpkgs/master d05656a Jörg Thalheim: rustNightlyBin: fix build hash
<johnw> eacameron: no, I haven't, but snapshot sending/receiving works over ssh; it's just a data stream like any other
<Mic92> I only use zfs snapshots for mirroring to a new location
<eacameron> johnw: Are there any compatibility considerations with ZFS? I've never used it.
<johnw> a filesystem at a particular rev/version is generally compatible with other ZFS implementations that advertise support for the same rev/version
<Mic92> for backups in combination with auto snapshots the backup performance is slow.
<johnw> i've read/written to/from OS X-built ZFS filesystems in NixOS
<johnw> Mic92: are you doing it incrementally? those are *fast*
<Mic92> johnw: but If I use autosnapshot all intermediate snapshots have to replicated to my backup. This is much slower then just using rsync for the latest version
<johnw> you shouldn't need all intermediates
<johnw> just at a minimum the two endpoints of the transfer
<Mic92> johnw: you have to, otherwise incremental snapshots do not work
<johnw> if both have "base", and you're sending "foo", it doesn't matter how many snapshots there have been between base and foo
<johnw> Mic92: I've done it; maybe we're not talking about the same thing
<johnw> zfs send -I will send whatever has changed since "base", in this example
<LnL> johnw: talking about zfs, does the zfs-mount service run properly at boot for you?
<Mic92> johnw: I see all my autosnapshots also in the destination
georges-duperon has joined #nixos
<johnw> LnL: no, I added this to postBootCommands: ${pkgs.linuxPackages.zfs}/bin/zfs mount -a
<LnL> johnw: ah, I'll probably look into that sometime then
_c_ has quit [(Ping timeout: 248 seconds)]
reinzelmann has quit [(Quit: Leaving)]
<Mic92> LnL: If you mount other filesystems on top of zfs, I would add all mounts manually to hardware-configuration.nix. Otherwise there there are race condition between systemd mount generator and zfs mount
<Mic92> It is also actually faster. Because the zfs kernel module call out the userspace mount executable due license issue with vfs_mount in the kernel.
<eacameron> So with ZFS: would the recommended approach be to mount a ZFS volume and configure your apps and DBs to store all their state on that volume?
<LnL> well I don't really want to add a new entry everytime I create a new fs
<Mic92> zfs assumption about mouting are acient. We have ude and hotplugging these days.
<ronny> FRidh: i noticed that the metadata for python packages is wrong, listing the position of the library instead of the position of the package definition
<Mic92> ancient
<cheshircat> hey, I run a dualboot nixos and windows 10, and a recent windows update seemed to have messed with my EFI startup partition because now I can only boot into windows
<Mic92> +udev
<Mic92> eacameron: I found zfs as a root filesystem more flexible.
tsurai has quit [(Quit: Leaving)]
<cheshircat> I’ve tried booting from a usb, but it wont show up in my boot menu
<LnL> I do have /nix/store on a separate fs with a lower quota so I cant fill the other filesystems to 100%
jarlg has quit [(Ping timeout: 256 seconds)]
<LnL> you can't run gc when /nix/var is full for example
<eacameron> Mic92: Hmm...I've got some production servers that don't really have a good backup story and I'm guessing switching to zfs as root fs would be pretty disruptive...but maybe I'll try it locally.
Sonarpulse-Work has joined #nixos
<eacameron> cheshircat: Sometimes BIOS doesn't look a USB by default. You may have to configure your BIOS to do that.
<FRidh> ronny: you should be able to pass mkDerivation parameters, so just pass dontStrip
rly has quit [(Ping timeout: 272 seconds)]
<cheshircat> OK, thank you eacameron
<LnL> ronny: ping
zraexy has joined #nixos
<ronny> LnL: pong
<LnL> a bit of context, we have an internal pypi server at work so I don't use any of the python stuff from nixpkgs, my pythonPackages set is basically a set of derivations that result in a python wheel
<LnL> the pure part is the buildEnv that unpacks a list of wheels into a site-packages directory, this gets added to my PYTHONPATH in nix-shell
<LnL> and the other part is a virtualenv where a bunch of wheels get installed when you enter the nix-shell
<ronny> i see, then what you describe is a total hack and im not surprised it falls appart
<LnL> exactly
<LnL> so I install as little as possible into the actual virtualenv
<LnL> that part sometimes breaks, but it's a maximum of 3 dependencies so it's not to bad
jarlg has joined #nixos
mudri` has joined #nixos
pstn has joined #nixos
<ronny> LnL: well, in that case its completely useless to me and what i want to do ^^
<LnL> I could probably get it working properly, but it's just for me
<LnL> nobody uses nix at work so I have not spent the time to make it better
<Mic92> eacameron: I run my containers also for long time on a non-root zfs. But i guess you should get a backup first before switching a filesystem. Btw. zfs is also great as a backup target. Just rsync the data to your storage and do a snapshot.
itsN1X has quit [(Quit: quitting AndroIRC - Android IRC Client ( http://www.androirc.com ))]
Shou has quit [(Ping timeout: 240 seconds)]
jarlg has left #nixos ["WeeChat 1.5"]
<savanni> Hey, y'all. Sorry i"ve been so absent. But I have one really quick quesiton.
eacameron has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
<savanni> I now that there is a particular package path `nixpkgs.haskell.compiler.ghc7103`. How do I use nix-env to list everything in `nixpkgs.haskell.compiler`?
habibi has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
<LnL> savanni: nix-env -f '<nixpkgs>' -qaP -A haskell.packages.ghc7103
<savanni> *AH*. It's the -f that I was missing.
<viric> wasn't there once a "man proc" and "man ld.so"? Where are they?
<LnL> savanni: you can also use nixpkgs.haskell... or nixos.haskell... instead, but that depends on if you are on nixos or not
<savanni> I'm on nixos, but for whatever reason that wasn't working...
<savanni> `nix-env -A nixos.haskell.compiler -qaP` -- this always said that `nixos.haskell.compiler` matched no derivations.
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-16.09: https://github.com/NixOS/nixpkgs/commit/68dc35ba4617c0539a308e9257d35c0bdb6ab00e
<NixOS_GitHub> nixpkgs/release-16.09 68dc35b Eelco Dolstra: curl: 7.51.0 -> 7.52.1...
<LnL> savanni: haskell.packages, not haskell.compiler
Elon has quit [(Remote host closed the connection)]
<viric> ah, in manpages. Got it
<viric> (damn ~/.nix-profile/man things)
cpennington has quit [(Ping timeout: 248 seconds)]
<savanni> Well... nixos.haskell.compiler gives me no error, but no result.
<savanni> Either way, though, I found the information I needed.
<stepcut> when using nixops to administer a machine, is there a way to get nix-env to show all the packages that are installed via environment.systemPackages?
<stepcut> oh.. I think i found it in the manual, nix-store -q --references /var/run/current-system/sw
peter-holm has joined #nixos
<hyper_ch> hmmm, is something wrong with Chromium=
nanobapt has joined #nixos
Shou has joined #nixos
alx741 has joined #nixos
cpennington has joined #nixos
Itkovian has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #21621: synaptics: fix broken symlink (master...fix-synaptics-symlink) https://github.com/NixOS/nixpkgs/pull/21621
digitalmentat has quit [(Ping timeout: 245 seconds)]
<NixOS_GitHub> [nixpkgs] chris-martin opened pull request #21622: Add some more details about the nix.useSandbox option (master...pr/useSandbox-doc) https://github.com/NixOS/nixpkgs/pull/21622
danielrf has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/26dc6dab4cc31f3b96f4df0a32d153c31e7f72ca
<NixOS_GitHub> nixpkgs/master 26dc6da Bjørn Forsman: avidemux: 2.6.15 -> 2.6.16
nanobapt has quit [(Ping timeout: 272 seconds)]
thc202 has quit [(Ping timeout: 256 seconds)]
<eacameron> Mic92: johnw: is there a good way to port an entire machine to use ZFS as the root FS?
Happy_Ente has joined #nixos
<johnw> eacameron: no, that I don't know anything about
<johnw> I've never used ZFS as a boot volume before, except when I was running an OpenIndiana box, and then no migration was needed
gchristensen has joined #nixos
tv has joined #nixos
<Mic92> eacameron: you will need intermediate storage.
jp302 has joined #nixos
baldo[m] has joined #nixos
rycee[m] has joined #nixos
M41px[m] has joined #nixos
av[m] has joined #nixos
Kiko[m] has joined #nixos
M-Rym has joined #nixos
cinderfish[m] has joined #nixos
cstrahan has quit [(Ping timeout: 248 seconds)]
unlmtd[m] has joined #nixos
nhooyr has joined #nixos
SShrike has joined #nixos
MrAxilus[m] has joined #nixos
musicmatze[m] has joined #nixos
schoppenhauer has joined #nixos
eddyb has joined #nixos
grill_ has quit [(Ping timeout: 256 seconds)]
grill_ has joined #nixos
msd has quit [(Remote host closed the connection)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
msd has joined #nixos
msd has quit [(Client Quit)]
ragga has joined #nixos
<ragga> first day of using nixos and i can't wrap my head around splitting up my config.
<ragga> when using two files where one is device specific and the other one has "common" expressions, how can i used stuff that is defined in the common in my device specific one?
<ragga> do i need to declare options and configs in the common one?
<LnL> use the imports, just like the hardware-configuration
<ragga> i always get error: undefined variable ‘commonPkgs’ when issuing a rebuild
<LnL> and no {} is a valid module
<LnL> what's commonPkgs in you configuration?
<ragga> a list of packages that i'd like to concat in the device.nix for using environment.systemPkgs
cstrahan has joined #nixos
<ragga> device.nix imports common.nix where commonPkgs = with pkgs; [] is defnied
ocharles_ has joined #nixos
<LnL> I assume you used commonPkgs somewhere instead of { config, ... }: { foo = config.commonPkgs; }
takle has quit [(Remote host closed the connection)]
<peter-holm> How do I mount a btrfs subvolume within configuration.nix ?
zraexy has quit [(Ping timeout: 248 seconds)]
<ragga> this http://pastebin.com/VKrrVGYU is my common.nix and that's http://pastebin.com/XNVVUPBV my device.nix
<mguentner> peter-holm: fileSystems."/where/to/mount" = { device = "LABEL=btrfs"; fsType = "btrfs; options = [ "subvol=subvolxyz" ]; };
reinzelmann has joined #nixos
<eacameron> Mic92: johnw: Can you recommend any cloud-based service (or similar) that will host your backups for you (ideally supporting ZFS snapshots as well)?
<peter-holm> Thankyou mguentner
<peter-holm> I used afterburst vps in the pasd.
Itkovian has joined #nixos
<peter-holm> eacameron, In my opinion (which cab be wrong), an vps is far better than cloud-based storage. if you want to store a little larger files.
<eacameron> peter-holm: Interesting...why use a whole VPS when all I need is a disk?
Shou has quit [(Quit: 🛏)]
<peter-holm> Because cloud-storage ar often designed for the office.-guy who want to store bnotes and spreadsheats. There are not designed to handle large files. Nor are large files allowed on most free cloudbased environments.
ryanartecona has quit [(Quit: ryanartecona)]
<peter-holm> If you go for the cloud, you better read up on how large files are allowed - and then split the images.
<eacameron> peter-holm: What about things like S3 or Google Cloud storage (instead of Dropbox, Google Drive, etc.)
AllanEsp1nosa has joined #nixos
sboosali has joined #nixos
<peter-holm> I am not familjar with them for store bif files . If you figure out, please tell me :-) . But I assume that what I said about the 'office-guy' is not very far away from the true about thoose services.
<Mic92> eacameron: I never stored backups as zfs snapshots at an online service, because I usally want to encrypt my backups before uploading them to NSA. I currently use attic-backup and store the stuff on my own infrastructure. Apart from that I setuped once S3-Backups with a policy to archive to glacier for a customer. Then there is also backplace, rsync.net, online.net's c14... But I used none of them so fwar.
<Mic92> *far
<sboosali> hi, how can I override an Emacs package to use a local file? my emacs.nix: http://pastebin.com/STg8Jpv6
<Mic92> *backblaze
<Mic92> I mean borgbackup (fork of attic)
<eacameron> Mic92: I hear the NSA prefers your files encrypted...helps them know its worth looking at. ;)
<Mic92> eacameron: well, all my machines except my router have their rootfs encrypted.
<Mic92> aes-ni makes it pretty cheap these days.
<eacameron> Mic92: aes-ni?
[0x4A6F] has joined #nixos
<Mic92> cpu based hardware acceleration for aes, comes by default in modern cpus
thc202 has joined #nixos
Sonarpulse-Work has quit [(Ping timeout: 256 seconds)]
zraexy has joined #nixos
nanobapt has joined #nixos
takle has joined #nixos
<eacameron> Mic92: Ah. Sweet.
<eacameron> Mic92: johnw: how do you guys update ZFS version after you're running on it?
<gchristensen> spideroak
sellout- has quit [(Quit: Leaving.)]
<eacameron> (Mic92: rsync.net has crazy discounts for attic/borg users: http://www.rsync.net/products/attic.html)
nanobapt has quit [(Ping timeout: 248 seconds)]
takle has quit [(Read error: Connection reset by peer)]
<Mic92> eacameron: cool, I was not aware for that.
takle has joined #nixos
<mguentner> eacameron: thanks for that link
<eacameron> Mic92: mguentner: You bet. :)
<Mic92> eacameron: I use 0.6.5.8 and 0.7.0-rc2
<peter-holm> If one count the costs, the better choice is a good harddrive and that-old-pc-you-dont-use-anymore.
<gchristensen> depends how much your electricity costs
<Mic92> peter-holm: well, and the restore time can be a problem...
jensens has quit [(Ping timeout: 246 seconds)]
Sonarpulse-Work has joined #nixos
<peter-holm> hm. i was just looking at pricing for rsync.net, 8 cent pr gigabyte. If I long.-term store 999 Gb, then I have to pay 7982 dollar per month.
zraexy has quit [(Ping timeout: 248 seconds)]
<eacameron> peter-holm: attic/borg is 3 cents/gig/month
<peter-holm> thats much better.
<eacameron> peter-holm: Honestly I'd probably only keep the most recent month or so on something as robust as rsync.net
<eacameron> peter-holm: after that it's going to the old pc that one you don't use any more ;)
ragga has quit [(Ping timeout: 260 seconds)]
<Mic92> peter-holm: it is actually $79.92 not $7982.
civodul has joined #nixos
sboosali has quit [(Remote host closed the connection)]
<eacameron> Has anyone mounted a local drive on a remote NixOS system (i.e. in VirtualBox, etc)?
<gchristensen> can you be more clear about specifically what you're looking to do?
sigmundv__ has joined #nixos
simendsjo has quit [(Remote host closed the connection)]
<eacameron> gchristensen: I want to use nixops to deploy a VirtualBox machine that has a mount to my local templates so I can update them and see them live in the web app. Essentially replace vagrant with nixops.
wak-work has joined #nixos
aarvar has joined #nixos
ryantrinkle has quit [(Ping timeout: 272 seconds)]
<LnL> eacameron: I think you can specify shares with nixops an you can mount them with the fileSystem module (fsType = "vboxsh"
<LnL> )
<LnL> no the type is vboxsf
<eacameron> LnL: Ah that would be sweet to get working. Thanks I'll tinker with that.
mkoenig has quit [(Read error: Connection reset by peer)]
zagy has joined #nixos
zagy has quit [(Client Quit)]
<Ralith> eacameron: sincerely, that's exactly why it's important to encrypt all your worthless stuff
<eacameron> Ralith: Heh...you're likely right.
<copumpkin> niksnut, shlevy: I might have regression in 1.11.5
reinzelmann has quit [(Quit: Leaving)]
<gchristensen> oh hi copumpkin!
<copumpkin> niksnut: is there a good way to install a specific version of Nix (like 1.11.4) until I get a fix in?
<copumpkin> hi gchristensen :)
<martijn923> I always forget this and it's not easy to Google for: how do you escape variable interpolation in strings?
<gchristensen> how were your holidays?
mkoenig has joined #nixos
<copumpkin> martijn923: ''${ or something
<copumpkin> gchristensen: not very relaxing, but fun :)
<copumpkin> ended up getting no time to code :(
<gchristensen> aye... I know the feeling
aarvar has quit [(Ping timeout: 260 seconds)]
<martijn923> copumpkin: thanks
MichaelRaskin has joined #nixos
mizu_no_oto has joined #nixos
ptrrr has joined #nixos
<copumpkin> I think 1.11.5 is the first version with the fully refactored c++ tools, right?
<copumpkin> instead of perl scripts?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Dezgeg> what's the regression?
<peter-holm> I just found a very interesting distro. http://bedrocklinux.org/1.0beta2/install.html#notes
<peter-holm> mains iste - http://bedrocklinux.org/
<peter-holm> *main site
<johnw> eacameron: there's a zfs upgrade command, and zpool upgrade
cpennington has quit [(Remote host closed the connection)]
<eacameron> johnw: Ah. So it's not hard...but if it were my root FS?
ToxicFrog has joined #nixos
<ToxicFrog> Hmm.
<Dezgeg> yeah I noticed something similar with the shebang stuff, but that got fixed today
aarvar has joined #nixos
<ToxicFrog> I want to build a thing that depends on libpurple (bitlbee -- yeah, it's in nixpkgs, but the version in nixpkgs doesn't use libpurple)
<Dezgeg> but maybe you want --run instead of --command?
<LnL> comex: oh :(
<ToxicFrog> But libpurple doesn't seem to be in nixpkgs; only pidgin.
<LnL> copumpkin: ^
<copumpkin> hi comex :)
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<copumpkin> hi LnL
<copumpkin> Dezgeg: ooh, that seems to work
<copumpkin> Dezgeg: now I'm surprised that they're different
ptrrr has quit [(Ping timeout: 245 seconds)]
<gchristensen> copumpkin: can you provide a command which fails for you that I can just run?
<copumpkin> gchristensen: the bug does that!
<copumpkin> but it might not be a real bug, not sure
<gchristensen> I can't run `setsid`
<gchristensen> copumpkin: yeah, I can use `--command` here like that just fine
shanemikel has joined #nixos
c0bw3b has left #nixos []
<gchristensen> so maybe "they fixed the bug"
<copumpkin> not sure, still curious if it's an intentional change :)
<copumpkin> but yeah, --run is closer to what I want
<LnL> I don't think I use --command anywhere
Itkovian has joined #nixos
<ToxicFrog> Ok, actual question for people
<ToxicFrog> At boot it uses "zfs mount -a" to mount all my things
<ToxicFrog> This 'fails' because "/home is non-empty"
<ToxicFrog> But all the individual home directories mount fine
<ToxicFrog> And it does this on every boot, even if I manually emptied /home completely before rebooting
pstn has quit [(Remote host closed the connection)]
<ToxicFrog> So it looks like something is creating empty home directories in /home on boot, before local-fs.targt
<ToxicFrog> How do I go about tracking this down?
<johnw> eacameron: dunno
goibhniu has quit [(Ping timeout: 240 seconds)]
hiratara has quit [(Ping timeout: 245 seconds)]
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
wkennington has joined #nixos
hiratara has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #20349: tetex: Remove (?) (master...tetex_remove) https://github.com/NixOS/nixpkgs/pull/20349
tvon has quit [()]
jensens has joined #nixos
mbrgm has quit [(Ping timeout: 248 seconds)]
mbrgm has joined #nixos
_rht has quit [(Quit: Connection closed for inactivity)]
FRidh has quit [(Remote host closed the connection)]
ryanartecona has joined #nixos
aarvar has quit [(Ping timeout: 248 seconds)]
dsieczko has quit [(Ping timeout: 246 seconds)]
<NixOS_GitHub> [nixpkgs] domenkozar pushed 5 new commits to master: https://github.com/NixOS/nixpkgs/compare/26dc6dab4cc3...663048f37849
<NixOS_GitHub> nixpkgs/master 8b6b0ae Domen Kožar: Revert "rocksdb-haskell: just compile rocksdb statically to fix #21215"...
<NixOS_GitHub> nixpkgs/master 4ce88d8 Domen Kožar: rocksdb: build without debug
<NixOS_GitHub> nixpkgs/master 4bba954 Domen Kožar: rocksdb: properly fix #21215
<NixOS_GitHub> [nixpkgs] fadenb opened pull request #21625: smokeping: Allow customization of cgiurl and imgurl (master...smokeping) https://github.com/NixOS/nixpkgs/pull/21625
_habnabit is now known as habnabit
<NixOS_GitHub> [nixpkgs] bjornfor pushed 2 new commits to release-16.09: https://github.com/NixOS/nixpkgs/compare/68dc35ba4617...4e7f23587d76
<NixOS_GitHub> nixpkgs/release-16.09 a416623 Nikolay Amiantov: avidemux: 2.6.12 -> 2.6.15...
<NixOS_GitHub> nixpkgs/release-16.09 4e7f235 Bjørn Forsman: avidemux: 2.6.15 -> 2.6.16...
filterfish has quit [(Ping timeout: 248 seconds)]
<NixOS_GitHub> [nixpkgs] domenkozar pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/17b7eb22c3e9f00764b7cc0ea17a931cb53da4fe
<NixOS_GitHub> nixpkgs/master 17b7eb2 Domen Kožar: haskellPackages.wai-app-file-cgi: fix #21498
hiratara has quit [(Quit: ZNC - http://znc.in)]
bfrog_ has quit [(Ping timeout: 248 seconds)]
hiratara has joined #nixos
nanobapt has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #21626: gradle: 3.2.1 -> 3.3 (master...gradle_3_3) https://github.com/NixOS/nixpkgs/pull/21626
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
<gchristensen> offlinehacker[m]: is itsN1X your friend? :)
georges-duperon has quit [(Ping timeout: 245 seconds)]
<gchristensen> kmicu: ping
<gchristensen> we're below 300 prs!
<gchristensen> quick, nobody send PRs!
<LnL> we also where yesterday
<LnL> but then it was about 2am so I needed some sleep :)
<MichaelRaskin> We are currently busy crossing this line up and down
<domenkozar> that's 1.4% of total PRs, pretty good
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<gchristensen> domenkozar: so we've moved 98.6%?
<domenkozar> we either closed them or merged them
<MichaelRaskin> And sometimes merged in reality and closed on Github
<MichaelRaskin> So the or is inclusive
<gchristensen> nice :D
Fare has joined #nixos
guillaum1 has joined #nixos
<gchristensen> ~790 PRs/issues in the last month, not bad
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #21602: syncthing: 0.14.17 -> 0.14.18 (master...u/st_1418) https://git.io/vMmDi
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<NixOS_GitHub> [nixpkgs] grahamc pushed 2 new commits to master: https://github.com/NixOS/nixpkgs/compare/17b7eb22c3e9...3080fcf61699
<NixOS_GitHub> nixpkgs/master d997ea6 Peter Hoeg: syncthing: 0.14.17 -> 0.14.18
<NixOS_GitHub> nixpkgs/master 3080fcf Graham Christensen: Merge pull request #21602 from peterhoeg/u/st_1418...
georges-duperon has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #21551: vultr: init at 1.12.0 (master...vultr-init) https://github.com/NixOS/nixpkgs/pull/21551
guillaum1 has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://github.com/NixOS/nixpkgs/compare/3daa01912515...353952938f0b
<NixOS_GitHub> nixpkgs/master 6a7664e Chris Martin: Add some more details about useSandbox
<NixOS_GitHub> nixpkgs/master 3539529 Daiderd Jordan: Merge pull request #21622 from chris-martin/pr/useSandbox-doc...
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #21603: ofp: init at 2.0.0 (master...master) https://git.io/vMmSC
[0x4A6F]1 has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://github.com/NixOS/nixpkgs/compare/353952938f0b...6158604d8a7b
<NixOS_GitHub> nixpkgs/master f3e2feb Ruslan Babayev: ofp: init at 2.0.0
<NixOS_GitHub> nixpkgs/master 6158604 Daiderd Jordan: Merge pull request #21603 from abuibrahim/master...
guillaum1 has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 2 new commits to master: https://github.com/NixOS/nixpkgs/compare/6158604d8a7b...85dbc754a109
<NixOS_GitHub> nixpkgs/master 428daee volth: fix broken link to synaptics config
<NixOS_GitHub> nixpkgs/master 85dbc75 Graham Christensen: Merge pull request #21621 from volth/fix-synaptics-symlink...
[0x4A6F] has quit [(Ping timeout: 256 seconds)]
[0x4A6F]1 is now known as [0x4A6F]
<gchristensen> https://github.com/NixOS/nixpkgs/pull/21616 could someone take a look at this seemingly great PR? it should be an easy merge, except for one question.
Devices has joined #nixos
jmiven has quit [(Quit: co'o)]
nanobapt has quit [(Ping timeout: 258 seconds)]
<Devices> wow many people here
<Devices> do most of you run NixOS?
Lowl3v3l has quit [(Remote host closed the connection)]
<MichaelRaskin> I think so.
<gchristensen> I think everyone except those using nix-on-darwin
<MichaelRaskin> (there are so many lurkers that it is hard to estimate)
<MichaelRaskin> gchristensen: I feel discriminated
<gchristensen> some of us deploy nixos to servers, laptops, desktops, a few people here use it in HPC and at least one person deploys it to over 50k servers a month
<Devices> oh wow
<Devices> didn't know it was used so much
<MichaelRaskin> There _are_ people who use Nix-on-whatever-Linux
<dash> i use nix on ubuntu
<Devices> reading the site now and it says Nix and Hydra are PhD projects
<gchristensen> true, good point, sorry :) some people use nix-on-not-nixos
<dash> Devices: yes but don't let that fool you, they're actually really good
<Devices> how does Nix work on other distros?
<gchristensen> Devices: linux is the project of some dude in helsinki because he was cheap
<dash> Devices: real good!
<MichaelRaskin> And I guess my system contains slightly less NixOS parts than duct-taped around parts.
<Devices> can you just replace say apt or dnf?
FareTower has joined #nixos
jmiven has joined #nixos
<MichaelRaskin> Not replace
<gchristensen> Devices: for user packages, yes, for system packages, then you might a well use nixos.
<LnL> gchristensen: what question are you referring to?
<dash> Devices: no it doesn't replace them, if you use nix on non-nixos, it puts stuff only in /nix and makes symlinks in your homedir
<MichaelRaskin> If you have a distro, it assumes that the boot-relevant core is managed by the native package manager
<Devices> ah interesting
<LnL> gchristensen: just the all-packages thing?
<gchristensen> MichaelRaskin: I try not to advertise SuperPowerUser things
<gchristensen> LnL: yeah
<Devices> so what do you use Nix for on other distros?
fare__ has joined #nixos
<MichaelRaskin> Having multiple versions of a library installed for no extra work is useful sometimes…
<MichaelRaskin> If you take into account the cases where the library is a dependency of something
FareTower has quit [(Read error: Connection reset by peer)]
<lassulus> getting more recent versions of packages on debian
Fare has quit [(Ping timeout: 248 seconds)]
<Devices> any specific examples?
<Devices> I'm curious
<Devices> the concept is p cool
<MichaelRaskin> Let's just say SBCL lags by years in Debian stable
<Devices> anything in debians stable lol
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #21597: xfce4-windowck-plugin: init at 0.4.4 (master...xfce4-windowck-plugin-0.4.4) https://github.com/NixOS/nixpkgs/pull/21597
<gchristensen> Devices: I like that I can do `nix-shell -p rustUnstable.rustc` and have a shell with unstable rust ... and then run `nix-shell -p rustc` and have another shell with stable rust, and I can have them both open at the same time, using both of them at the same time, without having to fight my distro
<gchristensen> no "version switching" or whatever
<Devices> oh coolio
fare__ has quit [(Ping timeout: 248 seconds)]
<MichaelRaskin> At some point I wondered how many glibcs I had installed. I had three, they were all used, and this created no hassle
<gchristensen> Devices: I can get any package I want and use it locally without installing it "globally" or having /etc mucked with, or screwing up any other programs I have installed.
<gchristensen> it doesn't matter the version or compatibility, you can load anything in to a nix-shell and it won't hurt your system.
<gchristensen> I've never felt I had to reinstall because a major upgrade was likely to be broken
<MichaelRaskin> Also, rollbacks for everything, if you don't actively do a GC
<guillaum1> Something not clear for me, if I' adding the channel nixpkgs-unstable, should I remove the channel nixos-16.09 ?
<MichaelRaskin> That allows you to pay sanity damage with HDD space gigabytes
<Devices> yeah the rollback feature looks pretty cool
<gchristensen> guillaum1: :danger will robinson: you don't want to use nixpkgs-unstable when running nixos
<peter-holm> Hi, i am trying to mount a btrfs subvolume.. mguentner gave me an an exampel how that should be done. But this part 'options = [ "subvol = root/sysroot/nixos-mountpoints/users/home" ];' gives 'error: syntax error, unexpected '=', expecting ';', at /etc/nixos/configuration.nix:42:22'
<Devices> do you happen to know how it compares to zypper and btrfs on openSUSE?
<Devices> nixOS allows you to choose at boot, does openSUSE do that too?
<gchristensen> guillaum1: https://gist.github.com/grahamc/1853598c8a0194659d18db021cf41be2 is some explanation to why, can you read it and let me know if it makes sense?
<gchristensen> Devices: our roll-backs, which you can choose at boot, are also your configuration
mbrgm has quit [(Ping timeout: 246 seconds)]
<gchristensen> so if you deploy a broken config that breaks everything, you can roll back everythin g-- packages and config -- by rebooting
<gchristensen> I doubt zypper does
<Devices> I got the idea it did that too, but don't know specifics
<guillaum1> gchristensen: yes, thank you.
<Devices> it makes a snapshot every update and you can roll back, but dunno how really
<gchristensen> guillaum1: I'm still working on this, I want it to become part of the normal docs
justanotheruser has quit [(Ping timeout: 256 seconds)]
mbrgm has joined #nixos
<MichaelRaskin> Devices: what about rolling back a botched update, removing a single package, and updating forward again, with almost all the work succesfully reused?
<guillaum1> gchristensen: the why is interesting, and I'll follow this advice for now, but it does not really answer my question, are we supposed to activate many channels (such as 16.. and unstable) or we are supposed to activate only one ?
<Devices> it seems like it can from a quick glance MichaelRaskin
<Devices> does NixOS do it similarly to this?
<gchristensen> seems weird to require a filesystem feature to support this
justanotheruser has joined #nixos
<MichaelRaskin> I am not sure where Snapper reuses work from botched updates
<MichaelRaskin> Nix installs everything in an own path, so if anything is the same between two configurations, it will get reused (even if the resulting full configuration is unusable for unrelated reasons)
<lassulus> peter-holm: maybe upload your config to a pastebin? its really hard to get your question inline
<gchristensen> Devices: you should try it in a VM :)
<Devices> yeah I should
<gchristensen> or go whole-hog and install it on your system ... but a VM is easy
<Devices> I'm running fedora atm, but nixOS looks kinda cool
<Devices> alpine linux seems neat too, but also more focused on server and embedded
<gchristensen> yeah ... I don't like alpine.
<Devices> why not?
<dash> it's based on musl, which is not well-maintained
<Devices> it's probably not as well maintained as glibc no
<mguentner> this is a working config
<peter-holm> lassalus, i will do that.
<dash> Devices: well, glibc at least has a bug tracker, for example
<gchristensen> haha
<Devices> yeah seems like they mainly dev via mailing list or irc
<gchristensen> Devices: I think alpine is a good idea for stuff like Docker containers ... but still, I think nix is a better approach :)
* gchristensen is hopelessly addicted
<Devices> does nixos apply kernel patches like alpine?
<gchristensen> how do you mean? we do have kernel patches
<gchristensen> every distro has some patches :)
<Devices> I mean the security ones like grsec
<gchristensen> you can choose to use grsec
<Devices> ah that's cool
<gchristensen> guillaum1: you would delete the nixos one and create a new one named nixos with your new channel
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #21600: erlang: explicitly link appropriate wxGTK versions for R18/R19 (master...wxGTKErlangLink) https://git.io/vMmaN
* LnL sends a high five to gchristensen
mbrgm has quit [(Ping timeout: 272 seconds)]
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://github.com/NixOS/nixpkgs/compare/d8fcf3c1cf97...708bdd229a28
<NixOS_GitHub> nixpkgs/master b65e5d8 Matthew Daiter: erlang: explicitly link appropriate wxGTK versions for R18/R19
<NixOS_GitHub> nixpkgs/master 708bdd2 Daiderd Jordan: Merge pull request #21600 from mdaiter/wxGTKErlangLink...
<gchristensen> LnL: oh?
filterfish has joined #nixos
<LnL> 290
<gchristensen> nice!!
danharaj has quit [(Ping timeout: 248 seconds)]
guillaum1 has quit [(Ping timeout: 248 seconds)]
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #21626: gradle: 3.2.1 -> 3.3 (master...gradle_3_3) https://git.io/vMOmb
mbrgm has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 2 new commits to master: https://github.com/NixOS/nixpkgs/compare/708bdd229a28...6b504f8b5277
<NixOS_GitHub> nixpkgs/master 02efac3 Tim Steinbach: gradle: 3.2.1 -> 3.3
<NixOS_GitHub> nixpkgs/master 6b504f8 Graham Christensen: Merge pull request #21626 from NeQuissimus/gradle_3_3...
guillaum1 has joined #nixos
ebzzry has joined #nixos
mbrgm has quit [(Ping timeout: 256 seconds)]
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
mbrgm has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/40a9c37ff3ad179b18aae2d0309523312525de5b
<NixOS_GitHub> nixpkgs/master 40a9c37 Nikolay Amiantov: node-env: use upstream version
jensens has quit [(Ping timeout: 240 seconds)]
<peter-holm> here is my paste http://pastebin.com/4vbXkaKc
<peter-holm> I missing a quote in the paste, that error is not in my file.
<mguentner> peter-holm: "subvol=foo" instead "subvol" = "foo"
<peter-holm> I know- I tried that one first.
<peter-holm> Ok, I changed back - and now it builds :-)