josdotso has quit [(Quit: Leaving)]
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
sdothum has joined #nixos
romanandreg has joined #nixos
<romanandreg> is there a way to get the contents of the default.nix file of a derivation from nix-repl?
<romanandreg> say, I'm exploring the sbt derivation, and I would like to get this as an output: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/build-managers/sbt/default.nix
<romanandreg> is that possible?
pi3r has quit [(Ping timeout: 264 seconds)]
indi_ has quit [(Remote host closed the connection)]
kampfschlaefer has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] psychomario opened pull request #21367: bspwm: 1.9.1 -> 1.9.2 (master...bspwmupdate) https://github.com/NixOS/nixpkgs/pull/21367
<jeaye> hodapp: Haven't ever tested it in rescue mode before, so that's new territory.
officialjustan has quit [(Ping timeout: 258 seconds)]
justanotheruser has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
<romanandreg> if not, is there a way to get to the default.nix file from my local machine (without having to go to github and read it)?
k2s has quit [(Ping timeout: 252 seconds)]
markus1189 has joined #nixos
ryanartecona has joined #nixos
markus1199 has quit [(Ping timeout: 258 seconds)]
indi_ has joined #nixos
mkoenig has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub> [nixops] AmineChikhaoui opened pull request #576: Attempt to fix an issue introduced by #548 (master...fix-548) https://github.com/NixOS/nixops/pull/576
asymmetric has quit [(Ping timeout: 248 seconds)]
Shou has quit [(Ping timeout: 260 seconds)]
romanandreg has quit [(Quit: romanandreg)]
mkoenig has joined #nixos
<NixOS_GitHub> [nixpkgs] spacekitteh opened pull request #21368: ncurses: Create ABI-version'd libtinfo (staging...patch-23) https://github.com/NixOS/nixpkgs/pull/21368
romanandreg has joined #nixos
bb010g has joined #nixos
mkoenig has quit [(Read error: Connection reset by peer)]
indi_ has quit [()]
ambro718 has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to release-16.09: https://github.com/NixOS/nixpkgs/commit/ee13b9af5141d976e024e7be7a0d01c31a53e5a2
<NixOS_GitHub> nixpkgs/release-16.09 ee13b9a Joachim Fasting: linux_3_12: add back bridge_stp_helper patch...
<hodapp> jeaye: but you've done it on OVH?
eacamero_ has joined #nixos
eacamero_ has quit [(Remote host closed the connection)]
deepwater has quit [(Remote host closed the connection)]
mkoenig has joined #nixos
k0001 has quit [(Ping timeout: 246 seconds)]
eacameron has quit [(Ping timeout: 250 seconds)]
<jeaye> hodapp: Nope, only DigitalOcean and various distros in VirtualBox.
<jeaye> Aside from hoster-specific setup, there should be little difference.
<hodapp> did you use -d mode for all those cases?
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 252 seconds)]
eacameron has joined #nixos
<jeaye> hodapp: Only for the DigitalOcean install, which is the only place where -d should be used.
<hodapp> jeaye: what I wasn't clear on is whether the similarities between DO and some other VPS providers necessitated its use or not.
<jeaye> hodapp: I wouldn't recommend using -d unless you're on DigitalOcean. If your provider requires some specific setup, you'll likely need to manage that from a web console after install.
Rotaerk has quit [(Quit: Leaving)]
<gchristensen> hodapp, jeaye: can you look at that gist up there and let me know how you like the formatting?
Rotaerk has joined #nixos
AllanEspinosa has quit [(Ping timeout: 258 seconds)]
goibhniu1 has quit [(Ping timeout: 250 seconds)]
goibhniu has joined #nixos
eacameron has quit [(Ping timeout: 264 seconds)]
herzmeister has joined #nixos
romanandreg has quit [(Quit: romanandreg)]
mkoenig has quit [(Read error: Connection reset by peer)]
<hodapp> \o/
eacameron has joined #nixos
mkoenig has joined #nixos
eacameron has quit [(Ping timeout: 258 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
[0x4A6F] has quit [(Ping timeout: 258 seconds)]
sheenobu has quit [(Remote host closed the connection)]
Fare has joined #nixos
<hodapp> gchristensen: formatting looks clear enough to me
<gchristensen> hodapp: is it easy to tell / scan for where the branch changes?
goibhniu has quit [(Ping timeout: 252 seconds)]
<hodapp> yeah, think so
<gchristensen> cool. I'll send it out and ask for more feedback :)
moet has joined #nixos
[0x4A6F] has joined #nixos
eacameron has joined #nixos
mizerian has quit [(Remote host closed the connection)]
eacameron has quit [(Ping timeout: 245 seconds)]
<spacekitteh> gchristensen: can you merge that second ncurses patch to staging?
thc202 has quit [(Ping timeout: 258 seconds)]
mkoenig has quit [(Read error: Connection reset by peer)]
mkoenig has joined #nixos
ericsagnes has quit [(Ping timeout: 240 seconds)]
k0001 has joined #nixos
eacameron has joined #nixos
* hodapp may have just unintentionally coaxed another Arch user to try NixOS
<NixOS_GitHub> [nixpkgs] mpickering opened pull request #21369: Update GHC 8.0.2 to RC 2 (master...master) https://github.com/NixOS/nixpkgs/pull/21369
eacameron has quit [(Ping timeout: 250 seconds)]
sellout- has joined #nixos
ttuegel has quit [(Remote host closed the connection)]
AllanEspinosa has joined #nixos
Fare has quit [(Ping timeout: 268 seconds)]
ericsagnes has joined #nixos
bfrog has joined #nixos
Fare has joined #nixos
goibhniu has joined #nixos
mbrgm has quit [(Ping timeout: 258 seconds)]
mbrgm has joined #nixos
goibhniu1 has joined #nixos
goibhniu has quit [(Ping timeout: 252 seconds)]
mudri has quit [(Quit: WeeChat 1.6)]
phreedom has joined #nixos
jsgrant_ has quit [(Read error: Connection reset by peer)]
jsgrant_ has joined #nixos
moet has quit [(Quit: leaving)]
jsgrant_ has quit [(Ping timeout: 264 seconds)]
k0001 has quit [(Ping timeout: 265 seconds)]
derjohn_mobi has joined #nixos
zraexy has quit [(Ping timeout: 250 seconds)]
aj__ has quit [(Ping timeout: 264 seconds)]
bb010g has quit [(Quit: Connection closed for inactivity)]
kantor has quit [(Ping timeout: 264 seconds)]
filterfish has joined #nixos
echo-area has joined #nixos
jsgrant_ has joined #nixos
ebzzry has joined #nixos
sheenobu has joined #nixos
<NixOS_GitHub> [nixpkgs] sh01 opened pull request #21370: nixos/stage2: Fix behavior when invoked with some early mounts present (master...stage2_mount_resilience) https://github.com/NixOS/nixpkgs/pull/21370
alx741 has quit [(Quit: alx741)]
<spacekitteh> is there a better way to create symlinks in a derivation than just manually calling "ln -svf"?
PragCyph1 has joined #nixos
PragCyphr has quit [(Ping timeout: 258 seconds)]
<justanotheruser> is there a guide to deploying to nixos' main repo
kantor has joined #nixos
alx741 has joined #nixos
<spacekitteh> what do you mean justanotheruser?
<justanotheruser> I mean I want to release a program written pythons main repo
<spacekitteh> as in you want to create a new nix file and put it in nixpkgs?
<justanotheruser> basically
<spacekitteh> here you go, fellow worker https://nixos.org/wiki/Contributing_to_nixpkgs
<justanotheruser> thanks
filterfish_ has joined #nixos
filterfish has quit [(Ping timeout: 258 seconds)]
hexagoxel has quit [(Ping timeout: 264 seconds)]
ebzzry has quit [(Ping timeout: 246 seconds)]
hexagoxel has joined #nixos
goibhniu has joined #nixos
herzmeister has quit [(Quit: Leaving)]
goibhniu1 has quit [(Ping timeout: 264 seconds)]
herzmeister has joined #nixos
mguentner2 has quit [(Quit: WeeChat 1.6)]
ebzzry has joined #nixos
mk-fg has quit [(Ping timeout: 268 seconds)]
mguentner has joined #nixos
Fare has quit [(Ping timeout: 264 seconds)]
Fare has joined #nixos
yegods has joined #nixos
yegods has quit [(Client Quit)]
oida has quit [(Ping timeout: 250 seconds)]
eacameron has joined #nixos
jsgrant_ has quit [(Excess Flood)]
jsgrant_ has joined #nixos
eacameron has quit [(Ping timeout: 246 seconds)]
filterfish__ has joined #nixos
filterfish_ has quit [(Ping timeout: 245 seconds)]
jsgrant_ has quit [(Ping timeout: 248 seconds)]
jsgrant_ has joined #nixos
eacameron has joined #nixos
mk-fg has joined #nixos
uralbash has joined #nixos
Fare has quit [(Ping timeout: 252 seconds)]
herzmeister has quit [(Ping timeout: 248 seconds)]
mkoenig has quit [(Remote host closed the connection)]
mguentner2 has joined #nixos
mguentner has quit [(Ping timeout: 250 seconds)]
hotfuzz has quit [(Read error: Connection reset by peer)]
hotfuzz has joined #nixos
AllanEspinosa has quit [(Ping timeout: 265 seconds)]
fpletz has quit [(Ping timeout: 258 seconds)]
ebzzry has quit [(Ping timeout: 248 seconds)]
fpletz has joined #nixos
echo-area has quit [(Quit: Connection closed for inactivity)]
Fare has joined #nixos
jsgrant_ has quit [(Ping timeout: 246 seconds)]
<ToxicFrog> Ok, here's my first major roadblock with Nix
<ToxicFrog> My U2F security key no longer works and as such I can't log in to github.
jsgrant_ has joined #nixos
alx741 has quit [(Ping timeout: 252 seconds)]
<sheenobu> ToxicFrog, you might need libu2f-host before installing chromium
<sheenobu> or patch chromium to support it... let me take a look at the chromium package
<sheenobu> ToxicFrog, there is a pam module for u2f. security.pam.enableU2F not sure if that is specific
ebzzry has joined #nixos
jsgrant_ has quit [(Ping timeout: 258 seconds)]
phorse has joined #nixos
jsgrant_ has joined #nixos
<ToxicFrog> AFAICT that's for logging in via U2F, not authenticating to websites via U2F
<ToxicFrog> But I can give it a try
<ToxicFrog> I did install libU2F-host but maybe I need to restart chromium?
<ToxicFrog> Anyways, was able to log in via authenticator app on phone, too late in the day to debug this now, will investigate more tomorrow
goibhniu has quit [(Ping timeout: 250 seconds)]
jsgrant_ has quit [(Excess Flood)]
jsgrant_ has joined #nixos
markus1 has quit [(Ping timeout: 252 seconds)]
filterfish__ has quit [(Ping timeout: 258 seconds)]
filterfish has joined #nixos
ebzzry has quit [(Ping timeout: 248 seconds)]
jsgrant_ has quit [(Excess Flood)]
jsgrant_ has joined #nixos
ryanartecona has joined #nixos
systemfault has quit [(Quit: Bye!)]
mk-fg has quit [(Ping timeout: 248 seconds)]
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
jsgrant_ has quit [(Quit: Konversation terminated!)]
mk-fg has joined #nixos
amarsman has quit [(Ping timeout: 250 seconds)]
ebzzry has joined #nixos
mk-fg has quit [(Ping timeout: 250 seconds)]
amarsman has joined #nixos
<Rotaerk> hmm, nix-prefetch-url can accept URLs like: mirror://gnu/hello/hello-2.10.tar.gz or mirror://hackage/mtl.tar.gz
<Rotaerk> what exactly are these? where are they defined?
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
<Rotaerk> ah, thanks
katyucha has joined #nixos
ebzzry has quit [(Ping timeout: 250 seconds)]
phanimahesh has quit [(Ping timeout: 258 seconds)]
proteusguy has quit [(Ping timeout: 246 seconds)]
phanimahesh has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
mk-fg has joined #nixos
zraexy has joined #nixos
zraexy has quit [(Client Quit)]
proteusguy has joined #nixos
nixos_ has joined #nixos
nixos_ has left #nixos []
FossiFoo has joined #nixos
phanimahesh has quit [(Ping timeout: 248 seconds)]
phanimahesh has joined #nixos
eacameron has quit [(Remote host closed the connection)]
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
proteusguy has quit [(Ping timeout: 258 seconds)]
<FossiFoo> hi. i tried to upgrade from 15.09 to 16.09 and ran into the sha512 hash problem because my nix is too old. i tried grabbing it manually, but when i got to hydra and klick on the .nixpkg link i get Path [...-debug] is no longer available
<FossiFoo> it's the same error message for all .nixpkg links that i tried
<LnL> FossiFoo: use the nix store path
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
<LnL> FossiFoo: and if you want nixos-rebuild to use the version from your path you'll have to set _NIXOS_REBUILD_REEXEC=1
<LnL> it will keep using it's own version otherwise
<FossiFoo> i think i don't have a version that can parse the tree
<NixOS_GitHub> [nixpkgs] pSub closed pull request #21367: bspwm: 1.9.1 -> 1.9.2 (master...bspwmupdate) https://git.io/v1jbC
<FossiFoo> so i don't even get to that point
<NixOS_GitHub> [nixpkgs] pSub pushed 2 new commits to master: https://github.com/NixOS/nixpkgs/compare/556ca974aa07...d935ca2bc0f3
<NixOS_GitHub> nixpkgs/master 53a44ef Rory McNamara: bspwm: 1.9.1 -> 1.9.2
<NixOS_GitHub> nixpkgs/master d935ca2 Pascal Wittmann: Merge pull request #21367 from psychomario/bspwmupdate...
<LnL> FossiFoo: you don't have to evaluate nixpkgs to install from the cache
<FossiFoo> [root@nirvana:~]# _NIXOS_REBUILD_REEXEC=1 nixos-rebuild switch => error: unknown hash algorithm ‘sha512’
<LnL> is that with nix 1.11.4?
<FossiFoo> no, that's my point
<FossiFoo> nix-install-package --non-interactive --url https://hydra.nixos.org/build/39769495/nix/pkg/nix-1.11.3-x86_64-linux.nixpkg => Installation failed: invalid package contents
<FossiFoo> the cache seems to be broken or such
<LnL> that uses hydra directly to use cache.nixos.org use nix-env -i /nix/store/210wr25ayhy3zswl0mni5848z3hi6a73-nix-1.11.4
<FossiFoo> if you go to the url i pasted, hydra says the package is not there
<FossiFoo> aaaah, that worked
<LnL> things disappear from hydra pretty quickly now so those nixpkg link generally don't work anymore
<FossiFoo> maybe you can add that pointer to https://github.com/NixOS/nixpkgs/issues/15349
<FossiFoo> i would, but i can't log in atm :D
Wizek has joined #nixos
Wizek_ has joined #nixos
filterfish has quit [(Ping timeout: 258 seconds)]
<FossiFoo> hmm. actually that didn't help yet
<FossiFoo> [root@nirvana:~]# nix-env --version => nix-env (Nix) 1.11.4
<FossiFoo> but _NIXOS_REBUILD_REEXEC=1 nixos-rebuild switch still gives the error
<FossiFoo> i guess at this point it is *really* easier to comment out firefox, but... XD
<LnL> well that's unexpected
<FossiFoo> i guess nixos-rebuild is somehow still calling the old version?
<LnL> well that's what the reexec env variable is for
Itkovian has joined #nixos
<LnL> can you eval firefox with the new version of nix?
filterfish has joined #nixos
<LnL> nix-instantiate --eval -E 'with import <nixpkgs> {}; "${firefox}"'
<FossiFoo> https://github.com/NixOS/nix/issues/1113 seems to be related
<LnL> yes, and https://github.com/NixOS/nixpkgs/pull/17631 I couldn't find it first
proteusguy has joined #nixos
<FossiFoo> that eval works
roconnor has quit [(Ping timeout: 260 seconds)]
<LnL> brb
robert` has joined #nixos
<FossiFoo> ah, maybe it's using the nix daemon?
<FossiFoo> the comment in the ticket about root bypassing that does not seem to be true (at least in my version of nixos-rebuild)
<FossiFoo> jupp. that was it. stopped the daemon, not it's updating
<FossiFoo> *now
<FossiFoo> thanks for the help :)
FossiFoo is now known as FossiAFK
Fare has quit [(Ping timeout: 258 seconds)]
Shou has joined #nixos
k2s has joined #nixos
<LnL> huh that's strange, NIX_REMOTE should not be set for root
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
jasonwq has quit [(Ping timeout: 268 seconds)]
derjohn_mobi has quit [(Ping timeout: 268 seconds)]
wangoe has joined #nixos
filterfish has quit [(Ping timeout: 245 seconds)]
Wizek has quit [(Quit: Leaving)]
Wizek has joined #nixos
<FossiAFK> the rebuild script sets it
<FossiAFK> i think it's concerned with the case where we wouldn't actually switch, so i guess that could be modified
<FossiAFK> and now my disk run full
evangeline has quit [(Ping timeout: 264 seconds)]
<FossiAFK> so much yak-shaving.... i love it ;)
phanimahesh has quit [(Ping timeout: 246 seconds)]
thc202 has joined #nixos
MoreTea has joined #nixos
phanimahesh has joined #nixos
phanimahesh has quit [(Client Quit)]
zagy has joined #nixos
zagy has quit [(Client Quit)]
k2s has quit [(Ping timeout: 252 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
sellout- has quit [(Quit: Leaving.)]
<LnL> oh interesting, but that's only for --repair
<LnL> unless it's not on 15.09
<NixOS_GitHub> [nixpkgs] peti closed pull request #21362: Rstudio add desktop file (master...rstudio-add-desktop-file) https://github.com/NixOS/nixpkgs/pull/21362
<NixOS_GitHub> [nixpkgs] peti closed pull request #21369: Update GHC 8.0.2 to RC 2 (master...master) https://git.io/v1jjd
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vMe8Q
<NixOS_GitHub> nixpkgs/master d8a8e1c Matthew Pickering: Update GHC 8.0.2 to RC 2
<NixOS_GitHub> nixpkgs/master 53bc16a Peter Simons: Merge pull request #21369 from mpickering/master...
<LnL> ^ sweet!
dgn has joined #nixos
<NixOS_GitHub> [nixpkgs] 4z3 opened pull request #21371: nginx service: use `default_server` parameter instead of `default` (master...nginx-default) https://github.com/NixOS/nixpkgs/pull/21371
peti has quit [(Quit: WeeChat 1.6)]
peti has joined #nixos
<robert`> Hi there! I am currently trying to debug a haskell package not building with ghcjs (ghcjs-dom-jsffi) it does not build as dependency (cabal version too new or something) - it does build when I check out the sources run cabal2nix and try to build it in the nix-shell. Now I am doing "nix-shell -A haskell.packages.ghcjs.ghcjs-dom-jsffi '<nixpkgs>' --argstr compiler ghcjs" but in the resulting shell no ghcjs is in path - what am I doing
<robert`> wrong? Thanks in advance!
markus1 has joined #nixos
dmi3y has joined #nixos
dmi3y has quit [(Client Quit)]
FRidh has joined #nixos
ebzzry has joined #nixos
dmi3y has joined #nixos
<kmicu> '<nixpkgs>' does not take compiler argument. ‘--argstr compiler ghcjs’ works with your local *.nix recipe with ‘{ … compiler ? "ghcFoo" }:’ and ‘pkgs.haskell.packages.${compiler}.ghcWithPackages’ idiom.
spacekitteh has quit [(Remote host closed the connection)]
<robert`> ok thanks - that explains why it did not help, but leaving it off does not fix the problem.
<robert`> it does work with ghcWithPackages? that's cool to know - thanks!
<LnL> robert`: for haskell packages you can use the .env attribute to get a shell environment
m` has joined #nixos
filterfish has joined #nixos
<robert`> arrgh - thaaank you! `LnL`!
Shou has quit [(Ping timeout: 256 seconds)]
<kmicu> “If you need such an environment because you’d like to compile a Hackage package outside of Nix — i.e. because you’re hacking on the latest version from Git —, then the package set provides suitable nix-shell environments for you already! Every Haskell package has an env attribute that provides a shell environment suitable for compiling that particular package. If you’d like to hack the lens
<kmicu> library, for example, then…” ―
deepwater has joined #nixos
evangeline has joined #nixos
<robert`> Well that's not exactly what I want do do right now. What I want is do exactly what nix does by hand to see how it fails and why and get a clue how to fix it.
<robert`> Thanks for the manual link! Unfortunately I read that aleady and it does not really help me here. Now I have my package.env based shell - how do I retrieve the sources nix would retrieve now?
<mpickering> Is there something magical about fetchgit or have I messed something else up. If I change the rev then the unpackPhase no longer clones submodules
<m`> hi! how do you guys handle auto-suspend on low battery status on your nix laptops?
Shou has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vMe00
<NixOS_GitHub> nixpkgs/master 9f6bd82 Frederik Rietdijk: nvidia-x11: 375.20 -> 375.26
derjohn_mobi has joined #nixos
tommyangelo has joined #nixos
filterfish has quit [(Ping timeout: 258 seconds)]
<LnL> mpickering: I think you might have to explicitly enable submodules
<robert`> Ok the overall question is: How do I debug a haskell packages, the way the manual suggests for regular packages don't seem to fit. (patchPhase was the only one doing something sensible)
<mpickering> robert`: What exactly is going wrong?
<mpickering> LnL: I looked at the derivation and by default it should pull submodules and I am modifying a derivation which previously worked and just changing the commit and hash
Samvh has joined #nixos
<LnL> robert`: you might have to run eg. eval "${configurePhase}" instead of just configurePhase
<NixOS_GitHub> [nixpkgs] globin closed pull request #21360: services.nginx: allow startup with ipv6 disabled (master...services/nginx/ipv6) https://git.io/v1hxK
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/d8478c79128cc5220b47ba3fd2f1dccddaa6e31e
<NixOS_GitHub> nixpkgs/master d8478c7 Felix Richter: services.nginx: allow startup with ipv6 disabled (#21360)...
<Samvh> has anyone here setup nginx on nixos? I'm having some difficulty
<Samvh> I can't figure out how to set up the vhosts
<Samvh> and for most parameters I can figure out how it works, but for vhosts it's not obvious to me
jensens has joined #nixos
<robert`> Thanks LnL, that's indeed better - now it does not try the standard ./configure but tries to run ./Setup - which is better, but fails as there is no Setup - but at least it does the right thing! :-)
<NixOS_GitHub> [nixpkgs] globin closed pull request #21371: nginx service: use `default_server` parameter instead of `default` (master...nginx-default) https://github.com/NixOS/nixpkgs/pull/21371
<robert`> Samvh - I can send you a working config of mine - wait a bit
<Samvh> ah that would be great
<LnL> robert`: I think that the haskell mkDerivation has some extra phasees
<LnL> robert`: you can also just run genericBuild if you want to do everything at once
<robert`> LnL how do I figure them out (I am really struggling with finding anything in nixpkgs :-( )
<robert`> Thank you! I was there already I think, ok let's try again :-)
<robert`> Samvh: http://lpaste.net/350382
<Samvh> thanks!
herzmeister has joined #nixos
<Samvh> I was actually trying to set up using the nix variables though
<robert`> Hope that helps - turns out I am not using the vhost option - I just use httpConfig
<Samvh> like I can set services.nginx.recommended... and stuff
<Samvh> and there is a similar option for vhosts
<Samvh> right ok, so this is what you put in services.nginx.httpConfig?
<robert`> Yeah - I just realized that, wait a bit - maybe I can make sense of it.
herzmeister has quit [(Remote host closed the connection)]
<robert`> basically - I have more server sections, I just posted one.
<Samvh> ok
<Samvh> also I tried setting services.nginx.statusPage = true but for some reason I can't seem to visit this statusPage
<Samvh> which is not too important but I'm just trying to learn the nix way of configuring things ;) so it would be nice if I could get it to work
<robert`> what do you have and how is it failing?
<robert`> let's stay with virtualHosts for now
<Samvh> well for vhosts I don't really have anything - I see ${vhosts} gets included, but it doesn't seem to expect a string
<Samvh> if you look at the link I sent, from line 114 or so
<Samvh> I'm just not sure what kind of configuration structure it expects
<robert`> ah - I missed that too.
<robert`> there it is ..
<Samvh> if I look at the config that's generated it includes 1 default server {} section
<Samvh> I didn't
<Samvh> that does make it look a bit more manageable
<Samvh> let me just play with that and see if I can figure it out :) thanks!
phreedom has quit [(Remote host closed the connection)]
<Samvh> I don't feel entirely at home yet in the documentation :)
<Samvh> but this should help for sure, also for other packages
<robert`> I would use it like that: http://lpaste.net/1677560826489208832
<robert`> btw. thanks for pointing me to that, I think those options have not been there yet when I set up my server.
<robert`> me neither when it comes to hacking, but options are pretty good actually.
<Samvh> in your snippet I don't yet see how that would configure the root directory on my system where to look for files
<Samvh> do you know how that would be set?
<Samvh> I'm new to nginx as well, that's making the situation worse :P
<Samvh> hm I guess the root param
<Samvh> I will just play with it a bit by myself, thanks for directing me
<robert`> the root option might be your friend: http://lpaste.net/1677560826489208832
<Samvh> :)
pi3r has joined #nixos
Itkovian has joined #nixos
ebzzry has quit [(Ping timeout: 268 seconds)]
Samvh has quit [(Quit: Page closed)]
Itkovian has quit [(Client Quit)]
Samvh has joined #nixos
Itkovian_ has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/c8982c015c82de2fcf97e60399d1461076b9d42b
<NixOS_GitHub> nixpkgs/master c8982c0 Robin Gloster: salt: fix patch after upstream code change...
Itkovian_ has quit [(Client Quit)]
mudri has joined #nixos
Itkovian has joined #nixos
Itkovian has quit [(Client Quit)]
wangoe has quit [(Quit: WeeChat 1.5)]
ixxie has joined #nixos
herzmeister has joined #nixos
Itkovian has joined #nixos
dmi3y has quit [(Quit: dmi3y)]
Itkovian has quit [(Client Quit)]
dmi3y has joined #nixos
Shou has quit [(Ping timeout: 258 seconds)]
johann__ has joined #nixos
FRidh has quit [(Remote host closed the connection)]
dmi3y has quit [(Quit: dmi3y)]
jensens has quit [(Ping timeout: 260 seconds)]
Shou has joined #nixos
dmi3y has joined #nixos
johann__ has quit [(Read error: No route to host)]
jensens has joined #nixos
oida has joined #nixos
jophish has quit [(Remote host closed the connection)]
nh2_ has joined #nixos
johann__ has joined #nixos
johann__ has quit [(Read error: No route to host)]
m` has quit [(Ping timeout: 250 seconds)]
<ToxicFrog> So I think I have my first real complaint about nix (and, specifically, the first place where it's dramatically worse than SUSE or Debian): 'nixos-rebuild's UX.
<ToxicFrog> If I do `zypper update`, it tells me how much it needs to download (important for bandwith-constrained sites) and how much space on disk this will take (important for space-constrained systems) and waits for confirmation
<ToxicFrog> And then gives me one line per thing it's downloading, telling me what package and version, how far along it is, ETA, and how many things, in total, it has left to do.
<ToxicFrog> (and similarly when installing)
<LnL> ToxicFrog: nixos-rebuild dry-build shoul show you what will be downloaded
<ToxicFrog> nixos-rebuild gives me no up front idea of what the cost of this is going to be; when downloading, it gives me ~5 lines per package, with the actual package name buried at the end of the has and most of the output consisting of curl's progress meter
<ToxicFrog> (and no idea what the overall progress of the operation is -- it's been downloading stuff for five minutes, is this going to take ten minutes or three hours?)
<robert`> LnL many thanks for your help I am finally getting somewhere and stop feeling lost _all_ the time.
johann__ has joined #nixos
<ToxicFrog> And then when building, it gives me arbitrarily many lines per package because all the build-script and install-script output gets dumped to the terminal, but still no indication of overall progress then when building it
<ToxicFrog> Is there an open bug for this? If not, should I file one, and/or attempt a patch?
<LnL> ToxicFrog: -Q will hide the build output
<LnL> robert`: :D
<ToxicFrog> LnL: that helps a bit, but doesn't address my main point
<LnL> I'm not saying you are wrong, it could be a lot nicer from a users perspective
mudri has quit [(Ping timeout: 268 seconds)]
<ToxicFrog> Hmm. Looks like nixos-rebuild is just a shell script that calls nix-build to do the real work, so that's where I should file the bug, and write the patch if I can
m3tti has joined #nixos
<LnL> I suggest you add feedback there
<robert`> Wuuuuhuuuu! I finally fixed a package - awesome! Expect a PR after Christmas ;-)
<robert`> LnL, without your help I woud have given up!
<LnL> happy to help, feel free to cc me in your pr (@LnL7 on github)
pi3r has quit [(Ping timeout: 256 seconds)]
_rht has joined #nixos
<LnL> nice, the trunk rebuild is finished :)
oida has quit [(Ping timeout: 256 seconds)]
* gchristensen shifts uncomfortably in his seat
<gchristensen> oh *phew* we dont' have that one
<ToxicFrog> LnL: thanks for the pointer!
johann__ has quit [(Quit: Leaving.)]
Samvh has quit [(Ping timeout: 256 seconds)]
Itkovian has joined #nixos
<LnL> gchristensen: oh we don't?
m0rphism has quit [(Quit: WeeChat 1.4)]
sdothum has joined #nixos
<gchristensen> no
<gchristensen> and thank goodness
abcrawf has quit [(Remote host closed the connection)]
mudri has joined #nixos
johann__ has joined #nixos
robert` has quit [(Remote host closed the connection)]
<LnL> I tried to get curl out of the cmake closure, but apparently it insists on having a bunch of dependencies like that
<gchristensen> isn't it in the stdenv?
<LnL> not in the linux stdenv no
abcrawf has joined #nixos
<LnL> but a lot of packages do depend on it
<ToxicFrog> Ok, filed some feedback in the first one, may have a go at implementing part of it over the holidays if wee-slack/AoC/ttymor/general system administration stuff doesn't eat all the computer time
<gchristensen> ah
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
MoreTea has quit [(Ping timeout: 260 seconds)]
m3tti has quit [(Ping timeout: 258 seconds)]
<gchristensen> domenkozar: can you restart all failed jobs on this evaluation? https://hydra.nixos.org/eval/1316047
<NixOS_GitHub> [nixpkgs] grahamc pushed 2 new commits to master: https://github.com/NixOS/nixpkgs/compare/c8982c015c82...3c10e68c40eb
<NixOS_GitHub> nixpkgs/master cbe1218 Matt McHenry: plex: 1.2.7 -> 1.3.3
<NixOS_GitHub> nixpkgs/master 3c10e68 Matt McHenry: plex: fix a minor syntax issue in systemd ExecStart
<7IZAAVXNB> [nixpkgs] globin pushed 2 new commits to master: https://github.com/NixOS/nixpkgs/compare/3c10e68c40eb...501e485e75ea
<7IZAAVXNB> nixpkgs/master f381232 Lancelot SIX: libgcrypt: 1.7.3 -> 1.7.5...
<7IZAAVXNB> nixpkgs/master 501e485 Lancelot SIX: gnupg21: 2.1.16 -> 2.1.17...
<17WAAUEO5> [nixpkgs] globin closed pull request #21310: gnupg21: 2.1.16 -> 2.1.17 (master...update_libgcrypt) https://git.io/v1Nim
nh2_ has quit [(Ping timeout: 256 seconds)]
dmi3y has quit [(Quit: dmi3y)]
oida has joined #nixos
Samvh has joined #nixos
dmi3y has joined #nixos
nh2_ has joined #nixos
ok2 has joined #nixos
<domenkozar> gchristensen: done
oida has quit [(Ping timeout: 250 seconds)]
nh2_ has quit [(Read error: Connection reset by peer)]
FRidh has joined #nixos
<FRidh> domenkozar: am I correct nobody is maintaining openstack oslo? I might put in a couple of meta.broken then since it would make upgrading certain python packages easier then.
<domenkozar> FRidh: I'm not interested maintaining (read: have no capacity) openstack atm
<domenkozar> there is someone making PRs for my modules patches
<domenkozar> so he might be
k0001 has joined #nixos
inf-rec has joined #nixos
sellout- has joined #nixos
sellout- has quit [(Max SendQ exceeded)]
sellout- has joined #nixos
nh2_ has joined #nixos
<inf-rec> I am trying to define a x cursor theme to be used system wide. This requires me to define /share/icons/default, and as far as I know the best way to define something in /share is to let a package define them.
<inf-rec> However when I try to do it like this in my environment.systemPackages: (pkgs.callPackage ({ stdenv }: stdenv.mkDerivation rec { ... }) {}) it will give me an infinite recursion error.
<inf-rec> Any idea how I can prevent this from happening?
Itkovian has joined #nixos
mizu_no_oto has joined #nixos
roconnor has joined #nixos
Itkovian has quit [(Client Quit)]
rly has joined #nixos
<rly> What was the portable way to install something via nix-env? Something like nix-env -f '<nixpkgs>' -iA foo ?
<LnL> that should work
<rly> LnL: yeah, I already see what I did wrong.
<rly> LnL: thanks.
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
jensens has quit [(Ping timeout: 252 seconds)]
fpletz has quit [(Ping timeout: 258 seconds)]
fpletz has joined #nixos
dmi3y has quit [(Quit: dmi3y)]
<NixOS_GitHub> [nixops] edolstra closed pull request #576: Attempt to fix an issue introduced by #548 (master...fix-548) https://git.io/v1jAk
johann__ has quit [(Quit: Leaving.)]
johann__ has joined #nixos
alx741 has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to staging: https://git.io/vMeyI
<NixOS_GitHub> nixpkgs/staging 2fe61cb Frederik Rietdijk: pythonPackages.lockfile: 0.10.2 -> 0.12.2
<NixOS_GitHub> nixpkgs/staging fd23914 Frederik Rietdijk: pythonPackages.sphinx: 1.4.6 -> 1.5.1
tommyangelo has quit [(Ping timeout: 258 seconds)]
mkoenig has joined #nixos
eacameron has joined #nixos
roconnor_ has joined #nixos
roconnor has quit [(Quit: Konversation terminated!)]
Fare has joined #nixos
JagaJaga has joined #nixos
eacameron has quit [(Remote host closed the connection)]
pi3r has joined #nixos
FareTower has joined #nixos
AllanEspinosa has joined #nixos
eacameron has joined #nixos
uralbash has quit [(Quit: Leaving.)]
Fare has quit [(Ping timeout: 258 seconds)]
k2s has joined #nixos
tommyangelo has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
Itkovian has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
_rht has quit [(Quit: Connection closed for inactivity)]
eacameron has quit [(Ping timeout: 252 seconds)]
ixxie has quit [(Ping timeout: 258 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<inf-rec> The recursion was caused by referencing ${config.system.path} in my package, using /run/current-system/sw instead did solve it
dmi3y has joined #nixos
Itkovian has joined #nixos
dmi3y has quit [(Client Quit)]
<NixOS_GitHub> [nixpkgs] bachp opened pull request #21375: gitlab-runner: 1.8.0 -> 1.9.0 (master...gitlab-runner-1.9.0) https://git.io/vMeH0
Itkovian_ has joined #nixos
k2s has quit [(Ping timeout: 260 seconds)]
dmi3y has joined #nixos
FareTower has quit [(Ping timeout: 258 seconds)]
Itkovian has quit [(Ping timeout: 248 seconds)]
zagy has joined #nixos
FareTower has joined #nixos
nh2_ has quit [(Ping timeout: 252 seconds)]
<musicmatze> Can someone tell me why the hell the unstable channel is _again_ 14 days old?
<musicmatze> Why the hell are we so bad at keeping it up to date=
<musicmatze> ?*
FareTower has quit [(Ping timeout: 246 seconds)]
Itkovian has joined #nixos
Itkovian_ has quit [(Ping timeout: 248 seconds)]
katyucha has quit [(Quit: leaving)]
<LnL> probably because of the nix changes on hydra, there's an unstable build in the queue that looks green
<musicmatze> LnL: what nix changes?
<LnL> the introduction of user namespaces caused some issues (eg. the go testsuite)
<LnL> and we juist had a rebuild on master for some security fixes
tommyangelo has quit [(Ping timeout: 245 seconds)]
<musicmatze> hmh... seems I have no clue what user namespaces are ... so I guess I have to learn some new concepts here :-)
<LnL> anyway the nixos channel updated yesterday and unstable should very soon http://hydra.nixos.org/build/45277191#tabs-constituents
<Profpatsch> Will user namespaces enable a store which is in another location than /nix/store?
systemfault has joined #nixos
<Profpatsch> (but doesn’t require rebuilding everything because the paths change?)
<FossiAFK> LnL: if i read that rebuild script correctly, it explicitly *not* for repair since that would not make sense with the daemon anyway
<Profpatsch> Hm, I forgot who the ghcjs maintainers are again.
<FossiAFK> but all other cases seem to use it by default, even for root
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
nh2_ has joined #nixos
eacameron has joined #nixos
Itkovian has joined #nixos
mkoenig has quit [(Read error: Connection reset by peer)]
Itkovian has quit [(Client Quit)]
Itkovian has joined #nixos
FossiAFK has quit [(Ping timeout: 260 seconds)]
mkoenig has joined #nixos
dmi3y has quit [(Quit: dmi3y)]
johann__ has quit [(Quit: Leaving.)]
amarsman has quit [(Quit: amarsman)]
nh2_ has quit [(Ping timeout: 250 seconds)]
nh2_ has joined #nixos
dmi3y has joined #nixos
systemfault has quit [(Quit: Bye!)]
pi3r has quit [(Ping timeout: 245 seconds)]
zagy has quit [(Quit: Leaving.)]
hotfuzz_ has joined #nixos
nh2_ has quit [(Ping timeout: 246 seconds)]
hotfuzz has quit [(Ping timeout: 258 seconds)]
wak-work has quit [(Remote host closed the connection)]
dmi3y has quit [(Quit: dmi3y)]
Sonarpulse has joined #nixos
johann__ has joined #nixos
derjohn_mobi has quit [(Ping timeout: 248 seconds)]
amarsman has joined #nixos
wangoe has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
johann__ has quit [(Quit: Leaving.)]
copumpkin has joined #nixos
phreedom has joined #nixos
johann__ has joined #nixos
stepcut_ has quit [(Remote host closed the connection)]
stepcut has joined #nixos
nh2_ has joined #nixos
johann__ has quit [(Client Quit)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
obadz has quit [(Quit: WeeChat 1.5)]
stepcut has quit [(Ping timeout: 246 seconds)]
Itkovian has joined #nixos
nh2_ has quit [(Read error: Connection reset by peer)]
zagy has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
dgn has quit [(Quit: dgn)]
johann__ has joined #nixos
johann__ has quit [(Client Quit)]
goodwill has quit [(Quit: ...)]
<gchristensen> domenkozar: thank you! tested passed because of it.
goodwill has joined #nixos
<gchristensen> 16.09 has more passing builds than it has in a long time, only ~42 failures :o
LnL has quit [(Quit: exit 1)]
johann__ has joined #nixos
johann__ has quit [(Client Quit)]
stepcut has joined #nixos
johann__ has joined #nixos
johann__ has quit [(Client Quit)]
zagy has quit [(Quit: Leaving.)]
sellout- has quit [(Quit: Leaving.)]
FRidh has quit [(Quit: Konversation terminated!)]
nh2_ has joined #nixos
stepcut has quit [(Remote host closed the connection)]
wangoe has quit [(Ping timeout: 258 seconds)]
nh2_ has quit [(Ping timeout: 258 seconds)]
stepcut has joined #nixos
rly has quit [(Ping timeout: 246 seconds)]
uralbash has joined #nixos
wangoe has joined #nixos
rly has joined #nixos
LnL has joined #nixos
<LnL> !m gchristensen
<[0__0]> You're doing good work, gchristensen!
rly has quit [(Quit: leaving)]
k0001 has quit [(Remote host closed the connection)]
AllanEspinosa has quit [(Ping timeout: 250 seconds)]
oida has joined #nixos
stepcut has quit [(Remote host closed the connection)]
MichaelRaskin has joined #nixos
johann__ has joined #nixos
xadi has quit [(Ping timeout: 260 seconds)]
johann__ has quit [(Client Quit)]
ryanartecona has joined #nixos
eacameron has quit [(Ping timeout: 246 seconds)]
eacameron has joined #nixos
zagy has joined #nixos
akaWolf has quit [(Read error: Connection reset by peer)]
oida has quit [(Ping timeout: 258 seconds)]
akaWolf has joined #nixos
zagy has quit [(Quit: Leaving.)]
johnw has quit [(Quit: ZNC - http://znc.in)]
m3tti has joined #nixos
<m3tti> hi
<m3tti> how can i install the gtk-paper theme in nixos
<m3tti> i've installed it already but it isn't available in lxappearance
ambro718 has joined #nixos
Shou has quit [(Ping timeout: 248 seconds)]
johnw has joined #nixos
<NixOS_GitHub> [nixpkgs] non-Jedi opened pull request #21377: pythonPackages.livereload: init at 2.5.0 (master...pythonPackages.livereload) https://git.io/vMvU6
sellout- has joined #nixos
FareTower has joined #nixos
Shou has joined #nixos
<mudri> I have this ~/.nixpkgs/config.nix: http://nixpaste.lbr.uno/spEJbB5B
<mudri> I'm trying to override the version of Agda (a Haskell package) for global installation.
<mudri> I followed https://nixos.org/nixpkgs/manual/#how-to-override-package-versions-in-a-compiler-specific-package-set, but the override is never called upon and thus silently has no effect.
xadi has joined #nixos
inf-rec has quit [(Ping timeout: 260 seconds)]
Itkovian has joined #nixos
Shou has quit [(Ping timeout: 250 seconds)]
Itkovian has quit [(Client Quit)]
zagy has joined #nixos
<mudri> I'm using nixos-unstable, on which my currently installed GHC has version 8.0.1.
justbeingglad has joined #nixos
justbeingglad has left #nixos []
zagy has quit [(Ping timeout: 250 seconds)]
zagy has joined #nixos
FareTower has quit [(Quit: Leaving)]
m3tti has quit [(Ping timeout: 258 seconds)]
Rotaerk has quit [(Read error: Connection reset by peer)]
herzen has quit [(Remote host closed the connection)]
nh2_ has joined #nixos
Shou has joined #nixos
wangoe has quit [(Ping timeout: 245 seconds)]
nh2_ has quit [(Ping timeout: 252 seconds)]
nh2_ has joined #nixos
fpletz[m] has left #nixos ["User left"]
nh2_ has quit [(Ping timeout: 264 seconds)]
<NixOS_GitHub> [nixpkgs] jagajaga pushed 2 new commits to master: https://git.io/vMvLw
<NixOS_GitHub> nixpkgs/master 0a1278a Alexei Boronine: haxe: 3.1.3 -> 3.2.1
<NixOS_GitHub> nixpkgs/master a45ffc7 Arseniy Seroka: Merge pull request #21205 from boronine/haxe-3.2.1...
m3tti has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vMvLP
<NixOS_GitHub> nixpkgs/master fcbce33 Franz Pletz: bird: 1.6.2 -> 1.6.3
<NixOS_GitHub> nixpkgs/master 61312a9 Franz Pletz: grafana: 4.0.0 -> 4.0.2
xadi has quit [(Ping timeout: 268 seconds)]
ixxie has joined #nixos
ixxie has quit [(Remote host closed the connection)]
sellout- has quit [(Ping timeout: 252 seconds)]
herzen has joined #nixos
stepcut has joined #nixos
sellout- has joined #nixos
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
slack1256 has joined #nixos
<jack[m]> grmbl. $NIX_CORES defaults to 1.
<simpson> TBF that's probably the best non-adaptive default value.
Samvh has quit [(Ping timeout: 258 seconds)]
stepcut has quit [(Remote host closed the connection)]
<jack[m]> Sure. Sure.
<jack[m]> Also, reproducibility, etc.
<viric> year 2016, the minimal nixos installation lacks vim and man.
<viric> year 2016, the minimal nixos installation lacks iso vim and man.
<viric> damn editor
<jack[m]> viric (IRC): I'm pretty sure that's eelco trolling us.
<viric> year 2016, the minimal nixos installation iso lacks vim and man.
<viric> jack[m]: sounds like so
<simpson> viric: Don't worry about it. In the year 2016, Debian's base install does not contain sudo.
<viric> I don't use sudo much, in fact
<jack[m]> viric (IRC): you do everything as root?
<simpson> Sure, sure. It's just a surprising omission.
<jack[m]> ;)
<viric> jack[m]: su -
<viric> sudo is like doing everything as root
<simpson> I *would* like it if a minimal vi were included. I hate nano and am not good with ed.
<viric> 'not good with ed'...
<simpson> jack[m], viric: sudo's got so many cool uses, though. e.g. spawn a shell as a system user $(sudo -i -u user)
<viric> don't tell me the nixos iso includes ed
<simpson> What, it doesn't include ed? It has busybox, and busybox has an ed available.
<viric> busybox has vi too
<simpson> Ooh, yeah, that's right.
<viric> My 8MB NAND router has vi, the nixos installation iso does not
dmi3y has joined #nixos
ambro718 has quit [(Quit: Konversation terminated!)]
ryanartecona has quit [(Quit: ryanartecona)]
dmi3y has quit [(Quit: dmi3y)]
uralbash has quit [(Ping timeout: 248 seconds)]
JagaJaga has quit [(Ping timeout: 256 seconds)]
ambro718 has joined #nixos
ok2 has quit [(Ping timeout: 268 seconds)]
ok2 has joined #nixos
<LnL> lol
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #21326: docker: update service units from upstream (master...docker) https://git.io/v1AFt
stepcut has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #21303: docker: disable socket activation by default (master...patch-6) https://git.io/v1NLf
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
stepcut has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #21378: sudo: 1.8.18p1 -> 1.8.19p1 (master...update/sudo-1.8.19p1) https://git.io/vMvZ0
stepcut has joined #nixos
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
stepcut has quit [(Remote host closed the connection)]
Fare has joined #nixos
FareTower has joined #nixos
k2s has joined #nixos
jazzencat has joined #nixos
ok2 has quit [(Ping timeout: 250 seconds)]
Fare has quit [(Ping timeout: 256 seconds)]
fare__ has joined #nixos
FareTower has quit [(Read error: Connection reset by peer)]
Fare has joined #nixos
k2s has quit [(Remote host closed the connection)]
mudri has quit [(Quit: WeeChat 1.6)]
mudri has joined #nixos
k2s has joined #nixos
fare__ has quit [(Ping timeout: 248 seconds)]
FareTower has joined #nixos
jazzencat has quit [(Quit: WeeChat 1.5)]
k2s has quit [(Client Quit)]
justanotheruser has quit [(Ping timeout: 250 seconds)]
Fare has quit [(Ping timeout: 256 seconds)]
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #21379: igv: 2.3.77 -> 2.3.89 (master...update/igv-2.3.89) https://git.io/vMvco
sitedyno has quit [(Ping timeout: 260 seconds)]
stepcut has joined #nixos
stepcut has quit [(Remote host closed the connection)]
slack1256 has quit [(Ping timeout: 246 seconds)]
<NixOS_GitHub> [nixpkgs] gnidorah opened pull request #21380: qmmp: 1.1.2 -> 1.1.5 (master...master3) https://git.io/vMvCs
stepcut has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #21381: htslib: 1.3.1 -> 1.3.2 (master...update/htslib-1.3.2) https://github.com/NixOS/nixpkgs/pull/21381
systemfault has joined #nixos
FareTower has quit [(Ping timeout: 256 seconds)]
sitedyno has joined #nixos
ryanartecona has joined #nixos
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
stepcut has quit [(Read error: Connection reset by peer)]
<hodapp> Hrmmm... trying to create a package for Turtl, but their GitHub doesn't seem to have tags that track their "released" binaries
<hodapp> but if I understand things right, I still need to pin things to a particular version
stepcut has joined #nixos
<hodapp> so what do I do, just base things around specific commits?
<NixOS_GitHub> [nixpkgs] johbo opened pull request #21382: Darwin gtk2/pygtk quartz backend (master...darwin-pygtk-quartz-backend) https://git.io/vMvWz
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
stepcut has quit [(Ping timeout: 264 seconds)]
hiratara has quit [(Ping timeout: 258 seconds)]
<johbo> hodapp: yes, think that's the only option then
<LnL> yes that's fine, just a little annoying to find the right commits in that case
hiratara has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #21383: parallel: 20161122 -> 20161222 (master...update/parallel-20161222) https://git.io/vMvlH
<hodapp> guess I'll do that then
<hodapp> should be interesting... 3 separate repos are required for the "build"
<hodapp> "build" used loosely, as it's all JS
<LnL> oh boy
<hodapp> oh, nevermind, just 2; I misread
<hodapp> dumb question: how do I find the sha256 for fetchFromGitHub?
<phorse> hodapp: nix-prefetch-git <url>
<LnL> nix-prefetch-url actually
<phorse> LnL: maybe that's why my current project isn't working!
<LnL> and you can also use nix-prefetch-url '<nixpkgs>' -A hello.src for example
<hodapp> these are giving me two different answers
<LnL> phorse: fetchFromGitHub uses the archive tarball urls instead of git
<phorse> LnL: that explains it
<phorse> hodapp: ignore mine
<LnL> and you can use nix-build '<nixpkgs>' -A hello.src --check to make verify if you're unsure if it's correct
<LnL> /make /d
FareTower has joined #nixos
Itkovian has joined #nixos
<hodapp> hrmph. I added turtl-desktop to all-packages.nix in the nixpkgs repo, and have stdenv.mkDerivation rec { ... src = fetchFromGitHub { ... }; } in pkgs/applications/office/turtl-desktop/default.nix, but just get "error: attribute ‘turtl-desktop’ in selection path ‘turtl-desktop.src’ not found"
<hodapp> trying to figure out why...
sellout- has quit [(Quit: Leaving.)]
<hodapp> ahh, needed something like 'nix-prefetch-url . -A turtl-desktop.src'
<hodapp> and the sha256 is the same as nix-prefetch-git o_O
<LnL> oh really?
<hodapp> yeah, looks like it
<LnL> I just nix-build and look what nix expects
<hodapp> now, can I nix-shell my way into this expression when I get lost with what this idiotic JS/npm/node/bower/nwjs/whatever build is expecting, which is almost certainly going to happen?
<LnL> you can get a shell with the build environment using nix-shell -A hello
<hodapp> w00t
<LnL> in there you can run genericBuild or manually run each phase like unpackPhase, ....
Itkovian_ has joined #nixos
<LnL> and you can add --pure if you want to make sure it doesn't get polluted with your system environment
Itkovian has quit [(Ping timeout: 256 seconds)]
<hodapp> to nix-shell?
<hodapp> hmm. not totally sure how to approach this build... I may have to look at how other packages that rely on npm do it
<LnL> for npm you might want to look at node2nix
<hodapp> ahh, okay
Itkovian_ has quit [(Remote host closed the connection)]
<LnL> we have generation tools or some helper functions for most languages
<hodapp> yeah, this looks like 'npm install' on each repo, and then 'make run' to actually execute
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #21384: shotwell: 0.23.5 -> 0.25.2 (master...update/shotwell-0.25.2) https://git.io/vMv4S
Itkovian has joined #nixos
<hodapp> so this doesn't look that bad, though I may have to see what 'make run' actually does
hiratara has quit [(Quit: ZNC - http://znc.in)]
ryanartecona has quit [(Quit: ryanartecona)]
hiratara has joined #nixos
deepwater has quit [(Remote host closed the connection)]
thalll has joined #nixos
<mpickering> is there a pdf build of the nixos manual?
FareTower has quit [(Ping timeout: 260 seconds)]
FareTower has joined #nixos
FareTower is now known as Fare
<NixOS_GitHub> [nixpkgs] symphorien opened pull request #21385: os-prober: init at 1.65 (release-16.09...osprober) https://github.com/NixOS/nixpkgs/pull/21385
mkoenig has quit [(Read error: Connection reset by peer)]
Nycatelos has quit [(Read error: Connection reset by peer)]
mkoenig has joined #nixos
<NixOS_GitHub> [nixpkgs] garbas pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/e08f7afc62cbfe038ce5a5bcc9789c76a6548825
<NixOS_GitHub> nixpkgs/master e08f7af Rok Garbas: pypi2nix: 1.5.0 -> 1.6.0
Nycatelos has joined #nixos
stepcut has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
xwvvvvwx has joined #nixos
m3tti has quit [(Ping timeout: 258 seconds)]
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
stepcut has quit [(Read error: Connection reset by peer)]
stepcut has joined #nixos
justanotheruser has joined #nixos
stepcut has quit [(Remote host closed the connection)]
xwvvvvwx has quit [(Ping timeout: 264 seconds)]
pi3r has joined #nixos
stepcut has joined #nixos
acowley_away is now known as acowley
stepcut has quit [(Remote host closed the connection)]
nh2_ has joined #nixos
stepcut has joined #nixos
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
mkoenig has quit [(Read error: Connection reset by peer)]
slack1256 has joined #nixos
nh2_ has quit [(Read error: Connection reset by peer)]
nh2_1 has joined #nixos
nh2_1 has quit [(Client Quit)]
nh2_ has joined #nixos
Fare has quit [(Quit: Leaving)]
eacamero_ has joined #nixos
eacameron has quit [(Read error: Connection reset by peer)]
stepcut has quit [(Remote host closed the connection)]
nh2_ has quit [(Ping timeout: 250 seconds)]
eacamero_ has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
nh2_ has joined #nixos
stepcut has joined #nixos
Wizek_ has quit [(Ping timeout: 256 seconds)]
Wizek has quit [(Ping timeout: 268 seconds)]