radvendii has joined #nixos
ison111 has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
radvendii has quit [(Quit: WeeChat 1.9)]
vaibhavsagar_ has joined #nixos
\\\\\\\\\\\ has quit [(Remote host closed the connection)]
WinchellsMAndroi has joined #nixos
<WinchellsMAndroi> Does anybody have any experience installing and configuring resilio-sync (formerly btsync) on nixOS?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #26765: network interfaces: restore bridge slaves (master...bridge-slaves-recovery) https://git.io/vQL6Z
NixOS_GitHub has left #nixos []
taktoa has quit [(Remote host closed the connection)]
jsgrant has joined #nixos
svend has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vQACJ
<NixOS_GitHub> nixpkgs/master d07bf42 hectorj: nomad: 0.5.5 -> 0.5.6
NixOS_GitHub has left #nixos []
hellrazor has joined #nixos
hellrazo1 has quit [(Ping timeout: 240 seconds)]
nh2 has quit [(Quit: Leaving.)]
matthew has joined #nixos
matthew is now known as Guest81176
vaibhavsagar_ has quit [(Ping timeout: 260 seconds)]
<Guest81176> Is there a way to access fonts and wallpapers through links in a users home folder? I have wallpapers and fonts both installed but the only way I can find them is by hunting them down via the full path in the nix store.
darlan has joined #nixos
darlan has quit [(Client Quit)]
mkoenig has quit [(Remote host closed the connection)]
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
thc202 has quit [(Ping timeout: 240 seconds)]
<Guest81176> Is there a way to access fonts and wallpapers through links in a users home folder? I have wallpapers and fonts both installed but the only way I can find them is by hunting them down via the full path in the nix store.
<gchristensen> Sonarpulse: ping?
<sidpatil> Guest81176: What program are you trying to access those wallpapers and fonts with?
phinxy has quit [(Ping timeout: 255 seconds)]
<Guest81176> wallpapers I am using nitrogen. For the fonts I am referancing them with i3. The wallpapers are plasma-workspace-wallpapers and the fonts are font-awesome-ttf.
<Guest81176> I can find them through the full store path, but the system (programs) do not seem to be aware of them without being pointed through the store path.
<Guest81176> I assume access should be symlinked somewhere where the path doesnt change and all fonts (or wallpapers) are available.
lambdamu has joined #nixos
lambdamu_ has quit [(Ping timeout: 240 seconds)]
<Guest81176> Icon themes (arc-theme and arc-icon-theme and others) seem to be detected fine. They appear in lxappearance as expected.
<Guest81176> lxappearance doesnt detect the fonts either.
Wizek__ has quit [(Quit: Connection closed for inactivity)]
phinxy has joined #nixos
s33se_ has joined #nixos
s33se has quit [(Ping timeout: 260 seconds)]
mbrgm has quit [(Ping timeout: 260 seconds)]
mbrgm_ has joined #nixos
mbrgm_ is now known as mbrgm
sidpatil has quit [(Ping timeout: 246 seconds)]
tdotdoe has joined #nixos
Zer000 has joined #nixos
ibrahims_ has joined #nixos
jtojnar has quit [(Ping timeout: 260 seconds)]
tdotdoe has quit [(Ping timeout: 240 seconds)]
thaega` has joined #nixos
toppler` has joined #nixos
cstrahan_ has joined #nixos
adulteratedjedi_ has joined #nixos
ocharles_ has joined #nixos
<Zer000> Please help me! I've made a systemd service that fails. Journalctl has no logs unless I do "journalctl _PID=<pid from systemctl status>" and that in turn says "your_service.service: Failed at step CHROOT spawning /nix/store/<hash>-unit-script/bin/your_service-pre-start: No such file or directory"
gridaphobe_ has joined #nixos
nand0p_ has joined #nixos
nz_ has joined #nixos
<Zer000> if I remove the preStart line from my script it complains that it cannot find the executable, but they are both there. It even complained about not finding /run/current-system/sw/bin/python2.7
rsa_ has joined #nixos
<Zer000> I just ran /run/current-system/sw/bin/python2.7 -m SimpleHTTPServer as a test
_c__ has joined #nixos
mythmon_ has joined #nixos
pikajude has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
x1n4u- has joined #nixos
pikajude has joined #nixos
houqp_ has joined #nixos
zetok_ has joined #nixos
jtojnar has joined #nixos
mtncoder[m]1 has joined #nixos
x1n4u- is now known as x1n4u
houqp_ is now known as houqp
chris|_ has joined #nixos
zetok_ is now known as zetok
mythmon_ is now known as mythmon
nand0p_ is now known as nand0p
gridaphobe_ is now known as gridaphobe
nz_ is now known as nz
adulteratedjedi_ is now known as adulteratedjedi
ocharles_ is now known as ocharles
cstrahan_ is now known as cstrahan
chris|_ is now known as chris|
noffle has joined #nixos
jasom has joined #nixos
primeos has joined #nixos
ibrahims_ has quit [(Ping timeout: 240 seconds)]
BlessJah has joined #nixos
markus1199 has quit [(Ping timeout: 260 seconds)]
hydraz has quit [(Ping timeout: 260 seconds)]
hydraz has joined #nixos
hydraz has quit [(Changing host)]
hydraz has joined #nixos
alain[m] has joined #nixos
eqyiel[m] has joined #nixos
jsv[m] has joined #nixos
<Zer000> hang on there must be something i'm doing wrong because a minimal example works
markus1189 has joined #nixos
Supersonic112 has quit [(Ping timeout: 258 seconds)]
slack1256 has quit [(Remote host closed the connection)]
Supersonic112 has joined #nixos
magnetophon has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
gm152 has quit [(Quit: Lost terminal)]
uralbash has joined #nixos
zeus_ has quit [(Ping timeout: 246 seconds)]
himmAllRight has quit [(Ping timeout: 240 seconds)]
zombified has quit [(Ping timeout: 268 seconds)]
CodingWithClass has quit [(Ping timeout: 240 seconds)]
jtojnar has quit [(Ping timeout: 260 seconds)]
CodingWithClass has joined #nixos
himmAllRight has joined #nixos
zombified has joined #nixos
tdotdoe has joined #nixos
justanotheruser has joined #nixos
justan0theruser has quit [(Ping timeout: 260 seconds)]
tdotdoe has quit [(Ping timeout: 248 seconds)]
isHavvy has joined #nixos
justanotheruser has quit [(Client Quit)]
justanotheruser has joined #nixos
Havvy has quit [(Ping timeout: 246 seconds)]
nix-gsc-io`bot has joined #nixos
<swflint> I'm having trouble building a texlive installation. It's having problems on 2up on the lipa.ms.mff.cuni.cz server. Any idea of what to do?
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/359c8c9d9a (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
MP2E has joined #nixos
oahong has quit [(Ping timeout: 240 seconds)]
phinxy has quit [(Read error: Connection reset by peer)]
oahong has joined #nixos
mw has joined #nixos
Ralith_ has quit [(Ping timeout: 268 seconds)]
<swflint> Actually, that server is down.
Ralith_ has joined #nixos
MP2E has quit [(Quit: leaving)]
WinchellsMAndroi has quit [(Ping timeout: 276 seconds)]
justan0theruser has joined #nixos
justan0theruser has quit [(Client Quit)]
justanotheruser has quit [(Ping timeout: 260 seconds)]
justan0theruser has joined #nixos
adisbladis has joined #nixos
zraexy has joined #nixos
chpatrick has joined #nixos
aloiscochard has joined #nixos
MP2E has joined #nixos
dustmote has joined #nixos
dustmote has quit [(Client Quit)]
reinzelmann has joined #nixos
etu has left #nixos ["WeeChat 1.9"]
slack1256 has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
wowi42 has joined #nixos
butchery has joined #nixos
<butchery> using nix-shell with shell.nix what would be the equivilent of --command?
jsgrant has quit [(Quit: Peace Peeps. o/ If you need me asap, message me at msg[(at)]jsgrant.io & I'll try to get back to you within 24-36 hours.)]
butchery has quit [(Quit: leaving)]
rigelk has joined #nixos
MercurialAlchemi has joined #nixos
sibi_ has joined #nixos
rigelk has quit [(Changing host)]
rigelk has joined #nixos
slack1256 has quit [(Remote host closed the connection)]
<hyper_ch> any idea when nixos-unstable channel will be updated?
hellrazor has quit [(Quit: WeeChat 1.9)]
rigelk has quit [(Quit: leaving)]
rigelk has joined #nixos
Filystyn has joined #nixos
leat has joined #nixos
Zer000 has quit [(Quit: Leaving)]
justbeingglad has joined #nixos
Supersonic112 has quit [(Ping timeout: 240 seconds)]
justbeingglad has left #nixos []
Supersonic112 has joined #nixos
reinzelmann has joined #nixos
mudri|srcf has quit [(Ping timeout: 260 seconds)]
mudri|srcf has joined #nixos
Supersonic112 has quit [(Ping timeout: 260 seconds)]
joni has joined #nixos
mudri|srcf has quit [(Ping timeout: 260 seconds)]
Supersonic112 has joined #nixos
joni has quit [(Client Quit)]
joni has joined #nixos
mudri|srcf has joined #nixos
joni has quit [(Client Quit)]
fiveht has joined #nixos
FRidh has joined #nixos
fiveht has quit [(Quit: WeeChat 1.7.1)]
fiveht has joined #nixos
ebzzry has quit [(Ping timeout: 248 seconds)]
[0x4A6F] has quit [(Remote host closed the connection)]
nslqqq has quit [(Ping timeout: 246 seconds)]
nslqqq has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vQAKF
<NixOS_GitHub> nixpkgs/master f59e71e Frederik Rietdijk: heroku: mark as broken
NixOS_GitHub has left #nixos []
Wizek has joined #nixos
Wizek_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti closed pull request #27452: vcsh: Refactor - Remove failing vcsh tests. (master...vcsh) https://git.io/vQNVi
NixOS_GitHub has left #nixos []
CodeWarrior has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jameysharp opened pull request #27462: build-fhs-userenv: Propagate $XAUTHORITY (master...patch-1) https://git.io/vQAi4
NixOS_GitHub has left #nixos []
ertes has quit [(Ping timeout: 255 seconds)]
CodeWarrior has joined #nixos
takle has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
reinzelmann has joined #nixos
Khetzal_ has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #27410: journalwatch & journalwatch service: init at 1.1.0 (master...journalwatch) https://git.io/vQdym
NixOS_GitHub has left #nixos []
Khetzal has joined #nixos
metaphysician has quit [(Quit: Bye.)]
FRidh has quit [(Ping timeout: 258 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #27462: build-fhs-userenv: Propagate $XAUTHORITY (master...patch-1) https://git.io/vQAi4
NixOS_GitHub has left #nixos []
mudri has joined #nixos
metaphysician has joined #nixos
Ivanych has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.03: https://git.io/vQAX3
<NixOS_GitHub> nixpkgs/release-17.03 75f87bc Jamey Sharp: build-fhs-userenv: Propagate $XAUTHORITY...
NixOS_GitHub has left #nixos []
ertes-w has joined #nixos
takle has quit [(Remote host closed the connection)]
yegortimoshenko has quit [(Changing host)]
yegortimoshenko has joined #nixos
yegortimoshenko has quit [(Changing host)]
yegortimoshenko has joined #nixos
jgertm has joined #nixos
arjen-jonathan has joined #nixos
nschoe has joined #nixos
jgertm has quit [(Ping timeout: 255 seconds)]
georges-duperon has joined #nixos
civodul has joined #nixos
jgertm has joined #nixos
arjen-jonathan has quit [(Ping timeout: 260 seconds)]
sigmundv_ has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 248 seconds)]
NickSeagull has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mbrock opened pull request #27463: dapp: v0.5.2 -> v0.5.3 (master...dapp) https://git.io/vQADb
NixOS_GitHub has left #nixos []
<NickSeagull> Has anyone managed to use Stack + GHCJS 7.10.* on NixOS?
newhoggy_ has joined #nixos
<NickSeagull> I'm trying to setup a development environment with these requirements, but I keep getting a ghcjs-pkg error
thc202 has joined #nixos
uralbash has left #nixos []
newhoggy has quit [(Ping timeout: 258 seconds)]
Supersonic112 has quit [(Ping timeout: 248 seconds)]
newhoggy_ has quit [(Ping timeout: 246 seconds)]
jgeerds has joined #nixos
pietranera has quit [(Quit: Leaving.)]
Supersonic112 has joined #nixos
ottidmes has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] symphorien opened pull request #27464: boolector: 1.{5,6} -> 2.4.1 (master...boolector) https://git.io/vQAyM
NixOS_GitHub has left #nixos []
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
zraexy has quit [(Ping timeout: 268 seconds)]
<srhb> NickSeagull: I've never gotten anything to work with Stack on NixOS, but ghcjs yes.
seppellll has quit [(Quit: Leaving)]
zraexy has joined #nixos
<NickSeagull> Thanks srhb, now I have to decide whether to switch to another distro or to adapt my workflow to cabal :P
<ottidmes> NickSeagull: With Nix, what benefits does stack still give you over cabal?
<NickSeagull> The possibility of sharing the project with people that do not use Nix
<ottidmes> NickSeagull: Hah, good point!
<NickSeagull> I love NixOS and my system how it is
<NickSeagull> But I'm not really sure how could I fix this issue :(
<srhb> NickSeagull: stack2nix? :)
<srhb> I think the superior solution is to make people use Nix, of course. :-)
<NickSeagull> lol
<srhb> But if you had a stack.yml and just made your nix expressions autogenerated from that using stack2nix, I guess it should work?
<NickSeagull> And then I would use cabal?
<srhb> NickSeagull: yeah
<srhb> But the project should* build the same for people using stack.
<NickSeagull> That seems interesting
<srhb> Or they could, like, using cabal new-build
<srhb> I think it should work. Give it a try :)
<NickSeagull> Thanks! Gonna try it, will report ASAP
<srhb> Great :)
<ottidmes> NickSeagull: And if that approach does not work for you, how much work is it really to supply both the files necessary for Nix and Stack?
<srhb> The problem is version incompatibility mostly, I think
<srhb> Since the Nix haskell set isn't identical to the Stackage snapshot
<NickSeagull> ottidmes, the main libraries used in the project are fetched from Github, so I guess that it shouldn't be a problem, anyways, I guess it's just a matter of fixing the resolver
<NickSeagull> Btw, whats the derivation of stack2nix? `nix-env -qaP | grep -i stack2nix` doesnt output anything
<ottidmes> srhb: But still, could you not take that into account when writing those files? As long as they work for both versions, you probably need to test them before publishing in some different environment where you do use stack I suppose. Anyway the stack2nix approach is probably preferable, so I would indeed try that first
takle has joined #nixos
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra tagged 1.11.13 at dc6d788: https://git.io/vQAHK
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to master: https://git.io/vQAHi
<NixOS_GitHub> nixpkgs/master 17642b5 Eelco Dolstra: nix: 1.11.12 -> 1.11.13
NixOS_GitHub has left #nixos []
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/75f87bc323 (from 88 minutes ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
<srhb> ottidmes: Sure, but if you have to maintain custom nix derivations for your dependencies anyway, you might as well be using stack2nix to keep them both in sync
<srhb> NickSeagull: It might not be in stable yet
<srhb> NickSeagull: grab it from unstable
MercurialAlchemi has joined #nixos
<ottidmes> srhb: Hence me saying it is preferable to do so over what I suggested as a plan B
<srhb> ottidmes: Oh, sorry, I misunderstood you then.
<domenkozar> niksnut: thanks
<domenkozar> niksnut: can we disable the TMPDIR override our macos slaves have?
<domenkozar> probably in the authorized_keys
roconnor has quit [(Ping timeout: 268 seconds)]
sigmundv_ has quit [(Ping timeout: 260 seconds)]
ThatDocsLady has joined #nixos
cfricke has joined #nixos
seppellll has joined #nixos
roconnor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to release-17.03: https://git.io/vQA7w
<NixOS_GitHub> nixpkgs/release-17.03 9d810dd Rob Vermaas: Add file with GCE image locations, similar to ec2-amis.nix. Will be used by nixops.
NixOS_GitHub has left #nixos []
arjen-jonathan has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to master: https://git.io/vQA7K
<NixOS_GitHub> nixpkgs/master 412bfda Rob Vermaas: Add file with GCE image locations, similar to ec2-amis.nix. Will be used by nixops....
NixOS_GitHub has left #nixos []
freusque has quit [(Quit: WeeChat 1.7.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to release-17.03: https://git.io/vQA7F
<NixOS_GitHub> nixpkgs/release-17.03 e93f268 Rob Vermaas: Add file with Azure image locations, similar to ec2-amis.nix. Will be used by nixops.
NixOS_GitHub has left #nixos []
freusque has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to master: https://git.io/vQA7p
<NixOS_GitHub> nixpkgs/master ec313ab Rob Vermaas: Add file with Azure image locations, similar to ec2-amis.nix. Will be used by nixops....
NixOS_GitHub has left #nixos []
thaega` has quit [(Remote host closed the connection)]
thaega has joined #nixos
<pie_> domenkozar, already handled? https://nvd.nist.gov/vuln/detail/CVE-2017-11176
<ikwildrpepper> domenkozar: is the TMPDIR setting not needed anymore?
<ikwildrpepper> just busy re-installing all macs that are in the office here
<ikwildrpepper> (the hydra.nixos.org ones)
<LnL> not overriding the default TMPDIR will probably cause a bunch of builds to start failing
magnetophon has quit [(Ping timeout: 260 seconds)]
<domenkozar> LnL: why?
<niksnut> is what I did on some macs recently
<NickSeagull> srhb, ottidmes : I get a "failed to parse stack.yaml"
<domenkozar> LnL: but it needs a different path per user
<NickSeagull> Any ideas?
<LnL> same reason, the length of unix socket paths is limited and the default TMPDIR on osx is quite long often causing problems
<niksnut> ikwildrpepper: hm, I may have installed Nix 1.12 on those machines though
<srhb> NickSeagull: What, without the stack.yaml? :P
<LnL> oh the pre-build-hook workaround is no longer neccecary?
<NickSeagull> Err, I do have one ^^
<srhb> NickSeagull: That might help :D
<NickSeagull> I mean, I'm executing `stack2nix .` from the root of my project
<niksnut> LnL: it may still be necessary on 1.11
<niksnut> I think I fixed the segfaults etc on master only
<niksnut> also, looks like I didn't cherry-pick this: https://github.com/NixOS/nix/commit/25230a17a9d0c22f97ed80b1a8f50566a4ff548d
<LnL> oh, I had issues with resolve-system-dependencies segfaulting last time I tried 1.12 on osx
reinzelmann has quit [(Ping timeout: 240 seconds)]
<niksnut> when was that?
<ikwildrpepper> niksnut: so, which version do you want (still upgrading to Sierra, so you have some time still ;)
<LnL> 1-2 months ago I think
<niksnut> 1.12 is probably better since it also has some improvements to the remote build protocol (better error messages in hydra etc)
<ikwildrpepper> ok
<niksnut> but you can use the regular installer and then upgrade to 1.12
reinzelmann has joined #nixos
<ikwildrpepper> will do
<NickSeagull> srhb: Remade the stack.yaml file, the funny thing is that stack2nix uses stack underneath and I get the same error, so cannot convert it into a nix file
<NickSeagull> *sigh*
<srhb> NickSeagull: Without a stack file, I can't really tell you what's wrong.
m0rphism has quit [(Quit: WeeChat 1.8)]
<srhb> NickSeagull: Or even attempt to figure it out.
<NickSeagull> Oh
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
<NickSeagull> Sorry, you meant that
<domenkozar> or what the error is :)
<srhb> I could have been clearer, perhaps. :-)
mpcsh has joined #nixos
<NickSeagull> Sorry, my bad :)
<NickSeagull> The error I'm getting because I'm trying to use GHCJS with Stack. Somehow Cabal is not bundled in ghcjs-pkg database, so when I execute a `stack build --verbose` I get a: "After installing Cabal, the package id couldn't be found" this is because the command `ghcjs-pkg --no-user-package-db field --simple-output Cabal version` fails
<NickSeagull> I've set up Stack to use the system compiler, and I got my own Nix environment for that
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor opened pull request #27465: nixos/lighttpd: misc improvements (master...lighttpd-improvements) https://git.io/vQAAB
NixOS_GitHub has left #nixos []
<NickSeagull> Regular GHC works
<NickSeagull> Somehow GHCJS doesnt
<NickSeagull> srhb: This is the stack.yaml http://lpaste.net/3778052601648513024
<LnL> niksnut: 1.12 seems to work now \o/
gm152 has joined #nixos
<LnL> I'll start using it then :)
<srhb> NickSeagull: I don't understand why you're using stack. Wasn't the point of stack2nix to generate a nix expression from the stack.yaml that you could subsequently run?
<LnL> hmm I get a bunch of killing process 17870: Operation not permitted while using the daemon
<srhb> (and from the cabal file, of course)
<srhb> NickSeagull: Perhaps I missed something.
<NickSeagull> Exactly, but it looks like stack2nix is using stack underneath to generate the nix expression srhb
<srhb> Ah!
<srhb> Hm, I guess I need the entire repo then.
<NickSeagull> Give me a second
pietranera has joined #nixos
<NickSeagull> Thanks domenkozar
<NickSeagull> Will try that
magnetophon has joined #nixos
<srhb> Ah, that looks helpful
simukis has joined #nixos
__Sander__ has joined #nixos
mal_ has joined #nixos
<NickSeagull> Theres the repo
<NickSeagull> :D
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e93f26847e (from 42 minutes ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
pie_ has quit [(Read error: Connection reset by peer)]
pie__ has joined #nixos
jensens has joined #nixos
mudri has quit [(Ping timeout: 255 seconds)]
vaibhavsagar has quit [(Ping timeout: 240 seconds)]
ottidmes has left #nixos ["WeeChat 1.7.1"]
jgertm has quit [(Ping timeout: 240 seconds)]
ThatDocsLady is now known as ThatDocsLady_brb
jensens has quit [(Ping timeout: 255 seconds)]
erictapen has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vQAhs
<NixOS_GitHub> nixpkgs/master 4154279 Jörg Thalheim: zfsUnstable: mark as stable with 4.12
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.03: https://git.io/vQAh2
<NixOS_GitHub> nixpkgs/release-17.03 cf614ba Franz Pletz: zfsUnstable: 0.7.0-rc4 -> 0.7.0-rc5...
NixOS_GitHub has left #nixos []
ThatDocsLady_brb is now known as ThatDocsLady
jensens has joined #nixos
mudri has joined #nixos
gm152 has quit [(Quit: Lost terminal)]
ibrahims has joined #nixos
gm152 has joined #nixos
<gchristensen> niksnut: I was just looking up to see if 1.11.13 was release, I see it was! and website updated! thank you again! with that, I think I'm out of PRs for a bit :P
Filystyn has quit [(Quit: Konversation terminated!)]
magnetophon has quit [(Ping timeout: 260 seconds)]
xadi has joined #nixos
newhoggy has joined #nixos
cinimod has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
<cinimod> I am trying to use `diagrams-haddock` to help build my haddock documentation for Haskell
<cinimod> `nix-shell -p "haskellPackages.ghcWithPackages (pkgs: [pkgs.numeric-ode pkgs.chart-unit pkgs.numhask pkgs.numhask-range pkgs.diagrams-haddock])"`
<cinimod> But I get Setup: Encountered missing dependencies: directory >=1.1 && <1.3
MP2E has quit [(Quit: leaving)]
newhoggy has joined #nixos
<cinimod> I don't see any restrictions on the version of `directory` in the cabal file
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 3 new commits to master: https://git.io/vQxvF
<NixOS_GitHub> nixpkgs/master 638adf2 Tuomas Tynkkynen: iproute: 4.11.0 -> 4.12.0
<NixOS_GitHub> nixpkgs/master 9ea795c Tuomas Tynkkynen: pv: 1.6.0 -> 1.6.6
<NixOS_GitHub> nixpkgs/master 27e503f Tuomas Tynkkynen: strace: 4.17 -> 4.18
NixOS_GitHub has left #nixos []
joehh has joined #nixos
pmade has quit [(Ping timeout: 268 seconds)]
<clever> cinimod: error: attribute ‘numeric-ode’ missing, at (string):1:106
newhoggy has quit [(Ping timeout: 240 seconds)]
* cinimod tries adding `diagrams-haddock` to `default.nix`
<cinimod> clever: this `nix-shell -p "haskellPackages.ghcWithPackages (pkgs: [pkgs.numeric-ode pkgs.chart-unit pkgs.numhask pkgs.numhask-range])"` gives me a nix shell
<cinimod> But I don't have an exectuable called `diagrams-haddock`
newhoggy has joined #nixos
<cinimod> Oh wait a minute
cpennington has joined #nixos
<cinimod> I have a ghc and haddock inside my nix shell
nslqqq has quit [(Ping timeout: 255 seconds)]
<cinimod> $ which ghc /nix/store/0z5wql22yyy9v3p89h4cjbqwx2pip064-ghc-8.0.2-with-packages/bin/ghc
<cinimod>
<clever> and `ghc-pkg list` ?
<clever> [clever@amd-nixos:~]$ nix-shell -p "haskellPackages.ghcWithPackages (pkgs: [ pkgs.chart-unit pkgs.numhask pkgs.numhask-range ])" haskellPackages.diagrams-haddock
<clever> cinimod: i'm thinking this, now diagrams will be in path, rather then ghc
adisbladis has quit [(Ping timeout: 255 seconds)]
<cinimod> ghc-pkg doesn't seem to want to play inside nix :(
<cinimod> ghc-pkg: setupTerm: Couldn't look up terminfo entry "xterm-256color"
<cinimod>
peel has joined #nixos
NickSeagull has quit [(Quit: WeeChat 1.9)]
<clever> try restoring $TERM to a more normal value
<cinimod> clever: I still get Setup: Encountered missing dependencies: directory >=1.1 && <1.3
<clever> from which derivation?
MercurialAlchemi has quit [(Ping timeout: 255 seconds)]
<cinimod> I am not sure I understand the question
peel has quit [(Client Quit)]
<clever> pastebin the entire error
<clever> there should be more lines that give context
<cinimod> Is this something in the default.nix file?
<clever> the output in the console when it gives the error
ixxie has joined #nixos
<clever> builder for ‘/nix/store/ghy607jzpy4ifhxpl486ffgvxbb7gclk-cautious-file-1.0.2.drv’ failed with exit code 1
<cinimod> Seems to be something to do with cautious-file whatever that is
<clever> which cabal file did you read?
<clever> [root@amd-nixos:/tmp]# grep directory cautious-file-1.0.2/cautious-file.cabal build-Depends: base >= 4, base < 5, directory >= 1.1, directory < 1.3, filepath >= 1.2, filepath < 1.4, bytestring >= 0.9, bytestring < 0.11
<clever> the condition is right in the cabal file the error said it was in
<clever> the problem isnt in your cabal file
<clever> its in cautious-file's cabal file
<clever> and diagrams-haddock depends on cautious-file
<cinimod> It's obviously very cautious ;)
Coyin has joined #nixos
<cinimod> But why is it an error? There seems to be versions of directory that satisfy those constraints
<cinimod> 1.1.0.0 is >= 1.1 and < 1.3
<clever> [clever@amd-nixos:~]$ nix-shell -p "haskellPackages.ghcWithPackages (pkgs: [ pkgs.chart-unit pkgs.numhask pkgs.numhask-range ])" 'haskellPackages.diagrams-haddock.override { cautious-file = haskell.lib.doJailbreak haskellPackages.cautious-file; }'
mr-ouss has joined #nixos
<S0rin> Hey, I've changed my nixPath to use a local nixpkgs that's worked fine but now if I try to upgrade using the regular channel it return me error: file ‘nixpkgs-unstable’ was not found in the Nix search path (add it using $NIX_PATH or -I), at /etc/nixos/configuration.nix:10:22
<S0rin> I should have done something wrong because I thought the override was only temporary
nslqqq has joined #nixos
<mr-ouss> what's in the file ~/.nix-channels
<clever> cinimod: the above creates an override on diagrams, to make it use a jailbroken version of cautious file
mudri has quit [(Ping timeout: 248 seconds)]
<S0rin> but my nix-channell --list show 'nixpkgs-unstable http://nixos.org/channels/nixpkgs-unstable' and 'nixos https://nixos.org/channels/nixos-17.03'
mal_ has left #nixos ["WeeChat 1.8"]
<cinimod> clever: you are aptly named - that worked - thanks
<gchristensen> domenkozar: https://github.com/nixos/nix/issues/1468 can be closed
iyzsong has joined #nixos
<mr-ouss> @S0rin try `nix-channel --update` as it seems that the nix-channels file is not reflecting what's the nix path right now
<mr-ouss> @S0rin try `nix-channel --update` as it seems that the nix-channels file is not reflecting what's the nix path has right now
<S0rin> mr-ouss: ok it upgraded the both stable and unstable channels
<gchristensen> yikes, all of unstable is sick
<mr-ouss> @S0rin so now, the names in the NIX PATH should be able to get resolved
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
tmaekawa has joined #nixos
<S0rin> mr-ouss: Still not lucky I think the $NIX_PATH is not updated I still have 'unstable=/home/myuser/nixpkgs' in the end
ibrahims has quit [(Ping timeout: 255 seconds)]
<S0rin> the NIX_PATH var is updated when the system is rebuilded so I need to override it to right place and it will be good on next generation ?
7IZAAQ6H7 has joined #nixos
<7IZAAQ6H7> [nixpkgs] ttuegel pushed 2 new commits to master: https://git.io/vQxIl
<7IZAAQ6H7> nixpkgs/master 0d06192 Thomas Tuegel: breeze-icons: generate icon cache...
<7IZAAQ6H7> nixpkgs/master 827b0e1 Thomas Tuegel: Merge pull request #27458 from ttuegel/bugfix/kde-icon-cache...
7IZAAQ6H7 has left #nixos []
94KAA3YBX has joined #nixos
<94KAA3YBX> [nixpkgs] ttuegel closed pull request #27458: breeze-icons: generate icon cache (master...bugfix/kde-icon-cache) https://git.io/vQAkt
94KAA3YBX has left #nixos []
<S0rin> I will check if rebuilding upgrade the NIX_PATH
erictapen has quit [(Remote host closed the connection)]
tdotdoe has joined #nixos
erictapen has joined #nixos
cinimod has quit [(Ping timeout: 248 seconds)]
<S0rin> The rebuild worked fine but the ${NIX_PATH} var is not updated neither by the -I override or the nixPath = [] in my configuration.nix
tdotdoe has quit [(Ping timeout: 248 seconds)]
<clever> S0rin: the nixPath entry in the configuration.nix lands in a file in /etc after the rebuild, then you must relaunch the shell
stanibanani has joined #nixos
<S0rin> clever: ok
<S0rin> clever: Yes! it worked
<S0rin> clever: thank you
nslqqq has quit [(Ping timeout: 255 seconds)]
<S0rin> clever: It should be sourced to avoid opening a new shell ?
nslqqq has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar pushed 1 new commit to master: https://git.io/vQxtK
<NixOS_GitHub> nixpkgs/master d03178a Domen Kožar: Point to the new mailing list by replacing the old link
NixOS_GitHub has left #nixos []
Kirill[m] has joined #nixos
<Kirill[m]> Is anyone running Nextcloud here? Is everything working ok?
MercurialAlchemi has joined #nixos
<ikwildrpepper> Kirill[m]: works for me, but I used this: https://github.com/bjornfor/nixos-config/blob/master/options/nextcloud.nix
<Kirill[m]> ikwildrpepper: Ok, great. Is it necessary? There's Nextcloud 11.0.1 listed in packages. BTW, would you suggest containerizing it?
<domenkozar> gchristensen: yeah let's update that :)
<gchristensen> domenkozar: I'm about done with nixpkgs
<domenkozar> convert all links to mail-archive.com
<gchristensen> oh no
<domenkozar> or there :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to master: https://git.io/vQxqh
<NixOS_GitHub> nixpkgs/master ef95175 Graham Christensen: manual: update mailing list links
NixOS_GitHub has left #nixos []
<gchristensen> lib/maintainers.nix
<gchristensen> 35: all = "Nix Committers <nix-commits@lists.science.uu.nl>";
<civodul> BTW, Someone™ should update gmane.org to point to the new mailing list
<gchristensen> I emailed them but no reply
gm152 has quit [(Quit: Lost terminal)]
bennofs has joined #nixos
cinimod has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel opened pull request #27466: networkmanager_l2tp: fix build without Gnome (master...bugfix/networkmanager-without-gnome) https://git.io/vQxYX
NixOS_GitHub has left #nixos []
<nixos-users-wiki> "Get Involved" edited by grahamc https://git.io/vQxY5
<nixos-users-wiki> "Home" edited by grahamc https://git.io/vQxYb
ibrahims has joined #nixos
magnetophon has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] grahamc opened pull request #1470: Update mailing list. (master...patch-1) https://git.io/vQxOm
NixOS_GitHub has left #nixos []
<bennofs> On darwin, is it possible to compile with GCC or should everything be compiled with clang?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] domenkozar pushed 3 new commits to master: https://git.io/vQx3T
<NixOS_GitHub> nix/master da2ad30 Graham Christensen: Update the mailing list.
<NixOS_GitHub> nix/master 364f75e Graham Christensen: Update mailing list.
<NixOS_GitHub> nix/master 72462b4 Domen Kožar: Merge pull request #1470 from grahamc/patch-1...
NixOS_GitHub has left #nixos []
takle has quit [(Remote host closed the connection)]
<bennofs> Is there a function in nixpkgs that returns the name of the C compiler? (either 'gcc' on linux or 'clang' on darwin)?
<clever> bennofs: i think $CC and $CXX are set right
<domenkozar> stdenv.cc.cc
<seppellll> <nixpkgs>.stdenv.cc.name
<domenkozar> afaik
<gchristensen> bennofs: I think it isn't
<gchristensen> cc copumpkin
<bennofs> nix-repl> stdenv.cc.cc
<bennofs> «derivation /nix/store/f0nwq7vss95mkd714nx2np9rpw8ab5pb-gcc-5.4.0.drv
<bennofs> .name includes version
<bennofs> hmm, perhaps CC=cc works cross-platform?
<domenkozar> yes
<domenkozar> I got bitten by the same things a few weeks ago
<domenkozar> and this needs documenting :)
<seppellll> bennofs: builtins.parseDrvName nixpkgs.stdenv.cc.name
<seppellll> bennofs: should give you a set like this: { name = "gcc-wrapper"; version = "5.4.0"; }
<gchristensen> domenkozar: / ikwildrpepper https://github.com/NixOS/nixos-homepage/pull/150
mkoenig has joined #nixos
ertesx-w has joined #nixos
bennofs has quit [(Quit: WeeChat 1.9)]
<gchristensen> alright, now the only one left is cabal2nix & the news item :) (I'm ignorig nixos-weekly, should I go fix those?)
bennofs has joined #nixos
ertes-w has quit [(Ping timeout: 255 seconds)]
ertesx-w is now known as ertes-w
<clever> [clever@amd-nixos:~/apps/nixpkgs]$ nix-shell -E 'with import <nixpkgs>{}; clangStdenv.mkDerivation { name = "name"; }'
<clever> dang, clangStdenv sets CC, but the normal stdenv doesnt!
<clever> but the clangStdenv includes a wrapper called cc
cinimod has quit [(Remote host closed the connection)]
<clever> so if you use cc and c++, it will work on both stdenv's
<bennofs> clever:
<bennofs> clever: nix-build -E 'with import <nixpkgs> {}; stdenv.mkDerivation { name = "test"; buildCommand = "echo $CC"; } prints gcc for me
<bennofs> on linux
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bennofs opened pull request #27467: Tom smeets hidlisten (master...TomSmeets-hidlisten) https://git.io/vQxsQ
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bennofs closed pull request #27467: Tom smeets hidlisten (master...TomSmeets-hidlisten) https://git.io/vQxsQ
NixOS_GitHub has left #nixos []
<clever> bennofs: oh, i think the -p was breaking it
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bennofs closed pull request #27031: cnijfilter: init at 2.80 (master...cnijfilter-2-80) https://git.io/vQ0E1
NixOS_GitHub has left #nixos []
cpennington has quit [(Remote host closed the connection)]
<LnL> bennofs: CC is set to clang on darwin
<bennofs> LnL: can I use gcc on darwin as well or do I have to use clang?
<LnL> apparently gcc.stdenv still has some references to clang so it depends
<LnL> adding gcc to the buildInputs works sometimes
ng0 has joined #nixos
tmaekawa has quit [(Remote host closed the connection)]
newhoggy has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
mudri has joined #nixos
ibrahims has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vQxZx
<NixOS_GitHub> nixpkgs/master 9c4b1c8 Peter Hoeg: handbrake: remove leftover file
NixOS_GitHub has left #nixos []
takle has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
ibrahims has joined #nixos
Filystyn has joined #nixos
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 2 new commits to master: https://git.io/vQxcu
<NixOS_GitHub> nixpkgs/master eb6c45b luigy: Fix #27448 argument list too long in fetchzip for darwin....
<NixOS_GitHub> nixpkgs/master 1ea9a69 Shea Levy: Merge branch 'll-fix-fetchzip-darwin' of https://github.com/obsidiansystems/nixpkgs
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy closed pull request #27449: Fix "mv: argument list too long" for fetchzip in darwin. (master...ll-fix-fetchzip-darwin) https://git.io/vQNJA
NixOS_GitHub has left #nixos []
phinxy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to release-17.03: https://git.io/vQxcQ
<NixOS_GitHub> nixpkgs/release-17.03 e4d6399 luigy: Fix #27448 argument list too long in fetchzip for darwin....
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy closed pull request #27459: Fix #27448 argument list too long in fetchzip for darwin. (release-17.03...ll-fix-fetchzip-darwin_17.03) https://git.io/vQAmp
NixOS_GitHub has left #nixos []
cpennington has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bennofs closed pull request #27455: hid-listen: init at 1.01 (master...hidlisten) https://git.io/vQN1Q
NixOS_GitHub has left #nixos []
georges-duperon has quit [(Quit: Leaving)]
cfricke has quit [(Quit: WeeChat 1.9)]
newhoggy has joined #nixos
Rotaerk has quit [(Quit: Leaving)]
LinArcX has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
LinArcX has quit [(Remote host closed the connection)]
<copumpkin> so I've been noodling about something
<copumpkin> what if we adjusted the default mkDerivation to take additional pname and version parameters, as well as a name parameter with a default value combining the other two?
<copumpkin> then anyone specifying a name can continue to do so, but if you start using pname and version (which many packages already do) then you magically still get the right behavior
<copumpkin> we then progressively walk through nixpkgs and start replacing name with pname
<copumpkin> and then we can stop parsing strings to figure out basic versions
<joepie91> I'm in favour of anything that allows for separately inspecting versions of packages :)
<joepie91> just keep in mind the possibility of some things not *having* versions
<copumpkin> yeah
* dtzWill likes this idea of auto-combining basename + version as default
<domenkozar> copumpkin: I proposed that a year ago
<domenkozar> but I think it should be fixed in Nix
<dtzWill> should things not have versions? do we have any of those?
<copumpkin> domenkozar: oh, what happened?
<domenkozar> nothing :) I think it needs more support and a proper plan
<joepie91> dtzWill: I mean, Nix will by definition be packaging things outside the control of Nix and some projects do indeed avoid using versions
<joepie91> dtzWill: so it's certainly a possibility to be accounted for
<joepie91> (even if I think it's stupid not to have versions)
newhoggy has quit [(Ping timeout: 260 seconds)]
<domenkozar> copumpkin: it needs to be implemented in nix, so imperative package management version resolution can be a bit better
<copumpkin> well my point is that once we start taking them in separately in nixpkgs
<dtzWill> joepie91: okay, don't feel strongly about it.. I just haven't seen anything unversioned before! Things tend to at least have a date or git rev
<copumpkin> nix can start assuming that they're separate
<orbekk> Does hydra act as a binary cache, or do I have to enable nix-serve additionally?
<copumpkin> but we can't force nixpkgs users to be on specific versions of nix
<joepie91> I agree with copumpkin for the record, I feel like making the data available will invite feature implementations to actually make use of it
<domenkozar> copumpkin: well it could be backwards compatible
<copumpkin> domenkozar: also, this doesn't seem like it really needs much of a plan, since it won't affect anyone until they start opting into it
<joepie91> and there's- yeah, that
<domenkozar> copumpkin: that's why it needs a plan, because it's a cultural shift
<joepie91> dtzWill: I've seen some pretty bizarrely versioned things in my years of trawling the internet
<joepie91> :p
<joepie91> (or, well, unversioned)
<domenkozar> copumpkin: I mean you can start porting things yourself, but it's probably better for most of community to be on the same page
<copumpkin> oh sure
<copumpkin> so an email to nix-dev pointing at the world's simplest PR to nixpkgs mkDerivation (other language ecosystems can start following separately)
<copumpkin> feel general attitude towards it
<bennofs> nix-devel*
<copumpkin> and then maybe start telling people in PR reviews to use pname+version to start getting it out there more
<copumpkin> while at the same time porting existing packages when we're bored
<domenkozar> yeah some package for example already use pname attribute and need to be assesed
<bennofs> ...being bored ...checks open PR count :D
<domenkozar> but sounds good to me
<disasm> anyone have a gemset.nix for puppet parser and puppet-lint? If not, I'll play with bundix and see if I can get it working.
newhoggy has joined #nixos
<copumpkin> domenkozar: cool! I'll try to come up with a PR in the next day or two and send out an email about it (after maybe getting some initial feedback from you or others)
vaibhavsagar_ has joined #nixos
<domenkozar> \o/
reinhardt has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
erictapen has quit [(Ping timeout: 260 seconds)]
erictapen has joined #nixos
FRidh has joined #nixos
<LnL> orbekk: you can use hydra as a cache url
Gohla has quit [(Quit: Bye.)]
<FRidh> pname and version...interesting discussion. While I push for using them in python-packages.nix, that's just for convencience because it allows a bit more automation. I don't think version should be a parameter to mkDerivation because version is actually a property of the source, and not of a build product.
newhoggy has joined #nixos
sibi_ has quit [(Quit: Connection closed for inactivity)]
tdotdoe has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
MercurialAlchemi has quit [(Ping timeout: 240 seconds)]
wowi42 has quit [(Ping timeout: 260 seconds)]
freusque has quit [(Quit: WeeChat 1.7.1)]
<gchristensen> buildRubyGem uses pname + automatic version setting too
freusque has joined #nixos
ibrahims has quit [(Ping timeout: 248 seconds)]
Teemo has joined #nixos
newhoggy has joined #nixos
<copumpkin> pierron: is it possible to have the type of a submodule depend on another option?
<copumpkin> pierron: basically looking to create a "tagged union" of some sort in the module system
<gchristensen> this sounds like the beginning of some real horrors
<pierron> copumpkin: depend on another option?
<copumpkin> on the value of another option
freusque has quit [(Client Quit)]
<pierron> copumpkin: You can define submodules as part of the config, this might not help you if your submodules are under a named attribute.
<copumpkin> I guess a submodule is distracting from the core of the question
<pierron> copumpkin: otherwise, you can define the implementation for the submodule, based on the parent options.
<copumpkin> imagine the Either type in Haskell: Either String Bool for example
<pierron> copumpkin: don't we have an either type too?
freusque has joined #nixos
<copumpkin> { config }: { mymodule.options.which = mkOption { type = enum [ "left" "right" ]; }; mymodule.options.value = mkOption { type = if config.which == "left" then str else bool; }; }
<copumpkin> we do
<copumpkin> but I was using it to illustrate an actual tagged union
<gchristensen> I know a default value can depend on another module's value, I'd bet the type could too :P
<gchristensen> but I think ... maybe it shouldn't ...
<domenkozar> it's just values all the way down!
* domenkozar ducks
<pierron> copumpkin: We should avoid that, this makes thing hard to document.
ibrahims has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
<copumpkin> pierron: I'm trying to think of how to do options that are meaningless depending on values of other options
<bennofs> FRidh: is it really only a property of the source? does it not make sense to talk about version A and B of a program (=> compiled)?
<copumpkin> it's just a simple sum type in principle
<pierron> copumpkin: You can try, I won't help you take all of us to hell ;) ;)
<gchristensen> !m pierron
<[0__0]> You're doing good work, pierron!
<bennofs> copumpkin: can you not just have an union of submodule types?
<copumpkin> well, if it is possible, then I could see us creating a tagged union option type that handles documentation properly
<bennofs> copumpkin: without the other option that selects the type
ixxie has quit [(Ping timeout: 248 seconds)]
<domenkozar> FRidh: most of the builder is a property of source, although I agree in Nix terms that fetchurl* could infer the version and pname although not always
<pierron> copumpkin: wouldn't it be easier to just have 2 options with different names?
<copumpkin> bennofs: I don't know how it would select between them
<copumpkin> pierron: "the types are too big" :(
* pierron off for tens of minutes…
<copumpkin> you're saying why not have (Maybe String, Maybe Bool)
<pierron> copumpkin: "either str bool" won't work?
* pierron really off now
<copumpkin> in practice the example is more complicated than string or bool :P
iyzsong has quit [(Ping timeout: 276 seconds)]
<bennofs> copumpkin: oh.. so something like: foo = { variant = A; bar = ...; } and foo = { variant = B; qux = ... } ?
<copumpkin> yup
<copumpkin> I was thinking we could fairly easily make a special option type for that sort of thing, that then documents properly
<copumpkin> instead of making the type an arbitrary function, it could be an attrset of other types
Filystyn has quit [(Quit: Konversation terminated!)]
<bennofs> copumpkin: it would probably work if you defined your own types for variantA (typeA) and variantB(typeB), then you could just use either typeA typeB
<copumpkin> so you can enumerate the options, and specify which field controls which one you get
Filystyn has joined #nixos
<copumpkin> I'll sketch this out later :) my goal is to not have to write a bunch of assertions by hand for option combinations that make no sense
erasmas has joined #nixos
<gchristensen> where can I read up on patching binary files in nix? :)
<copumpkin> but documentation is a key concern
<bennofs> gchristensen: hmm, patchelf?
<gchristensen> I mean more sketchy :D like replacing /nix/store/hash-package with something else
newhoggy has joined #nixos
<gchristensen> (oh yes, I'm going there)
<domenkozar> gchristensen: for what purpose?
<bennofs> gchristensen: replaceRuntimeDependencies or however it is called?
<bennofs> gchristensen: system.replaceRuntimeDependencies
<gchristensen> nice
\\\\\\\\\\\ has joined #nixos
ahmedtd has quit [(Quit: No Ping reply in 180 seconds.)]
<domenkozar> gchristensen: I wrote some ugly haskell that takes a directory and vendors all libraries from the given nix path
<gchristensen> neat ...!
<domenkozar> it's for darwin .pkg packaging
ahmedtd has joined #nixos
fxr` has joined #nixos
<domenkozar> poor mans static compilation
<domenkozar> :D
magnetophon has quit [(Read error: Connection reset by peer)]
newhoggy has quit [(Ping timeout: 255 seconds)]
<domenkozar> gchristensen: it works like: parse otool output (ldd on darwin), then vendor the libs, rewrite their dynamic paths
<domenkozar> and do this recursively
<gchristensen> :D
<bennofs> Is there some easy way to configure gtk2, gtk3, qt4 and qt5 styles + icons on NixOS? Or is system.replaceRuntimeDependencies
cfricke has joined #nixos
<bennofs> Or is https://github.com/bennofs/etc-nixos/blob/5fe80d256d0101b1e73c9036d0a7ae6cee2c4267/conf/desktop.nix#L5-L31 still the best way? (not sure if 100% of that is still necessary)
<nixos-users-wiki> "Go" created by Mic92 https://git.io/vQxoT
mr-ouss has quit [(Remote host closed the connection)]
mr-ouss has joined #nixos
<nixos-users-wiki> "Go" edited by Mic92 https://git.io/vQxoO
<copumpkin> niksnut, ikwildrpepper: does hydra distinguish between "the job failed for legitimate reasons" from "the machine is fubar? Never quite sure whether whether we need to jump through hoops to retry builds that fail for infra reasons
<niksnut> yes
newhoggy has joined #nixos
<niksnut> if you see "Aborted" it means it there was some hydra or machine issue
<copumpkin> but it won't retry automatically on a different builder in the same evaluation?
<nixos-users-wiki> "Go" edited by Mic92 https://git.io/vQxo2
<niksnut> well, it will retry
<niksnut> but that might be on the same machine
<copumpkin> oh
<niksnut> though machines are temporarily disabled
<copumpkin> ah
<copumpkin> so I guess this isn't screwed
<copumpkin> it just happened to try repeatedly on dead machines
ibrahims has quit [(Ping timeout: 255 seconds)]
newhoggy has quit [(Ping timeout: 255 seconds)]
ixxie has joined #nixos
stanibanani has quit [(Ping timeout: 255 seconds)]
ahmedtd has quit [(Quit: No Ping reply in 180 seconds.)]
newhoggy has joined #nixos
ahmedtd has joined #nixos
ison111 has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/vQx6A
<NixOS_GitHub> nixpkgs/master 476fc5f Peter Simons: haskell-cautious-file: jailbreak to fix the build
NixOS_GitHub has left #nixos []
pie__ has quit [(Read error: Connection reset by peer)]
pie_ has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar opened pull request #27468: pinentry: add GNOME frontend (master...fix/pinentry-gnome) https://git.io/vQxig
NixOS_GitHub has left #nixos []
<manveru> disasm: let me know how it goes
schoppenhauer has joined #nixos
<copumpkin> pierron: is there a good way to pick out a list of option names and types given a module .nix file?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ma27 opened pull request #27469: programs.zsh.ohMyZsh: add `package` option to make package overrides on module-base easier (master...oh-my-zsh/make-pkg-configurable) https://git.io/vQxXc
NixOS_GitHub has left #nixos []
nixer has joined #nixos
<pietranera> Hi, I use zsh on NiXOs. I have a folder in my $HOME that contains custom zsh completions and it's correctly exported in $fpath. However the completions don't seem to be picked up. Any ideas?
Gohla has joined #nixos
Teemo has left #nixos []
newhoggy has joined #nixos
Gohla has quit [(Client Quit)]
<pierron> copumpkin: { config, lib, pkgs, *options* }: …
<pierron> copumpkin: the options set mirror the config set, but it contains all the declarations.
<pierron> copumpkin: including the list of files which are declaring options.
<pierron> copumpkin: as well as definining options.
Gohla has joined #nixos
<copumpkin> pierron: ah, and because it's lazy, if I don't ask for actual instantiated config, it doesn't bug me that non-optional values aren't defined
<copumpkin> ?
<pierron> also
<tilpner> pietranera - For a command foo, the completion will be _foo. After typing foo <tab>, what does $ type _foo output?
seppellll has quit [(Quit: Leaving)]
newhoggy has quit [(Ping timeout: 255 seconds)]
ryanartecona has joined #nixos
newhoggy has joined #nixos
<copumpkin> pierron: so if I want that from outside the module system
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bennofs pushed 1 new commit to master: https://git.io/vQxyR
<NixOS_GitHub> nixpkgs/master 496dac5 Benno Fünfstück: racer[d]: fix RUST_SRC_PATH...
NixOS_GitHub has left #nixos []
<copumpkin> oh I guess the result of evalModules includes options
<copumpkin> and then I can iterate over that and pull out names and types
<pierron> copumpkin: yes, have a look at how we generate the documentation for NixOS.
<copumpkin> presumably that's what docs do somehow
<copumpkin> yeah
<copumpkin> actually NixOS documentation happens inside the module system
<copumpkin> so that's getting the options argument
<copumpkin> but anyway I think I can figure it out from here
<bennofs> Why is nix-env -qaP so slow...
<bennofs> 5s to evaluate all nix expressions? should't it, in most cases, just have to parse some json-like syntax + do some basic set operations?
newhoggy has quit [(Ping timeout: 240 seconds)]
ahmedtd has quit [(Quit: No Ping reply in 180 seconds.)]
pmade has joined #nixos
ahmedtd has joined #nixos
<gchristensen> is there a way to extract a .nar without putting it in to the nix store?
<clever> gchristensen: one min, i have a trick somewhere
<gchristensen> :o
<gchristensen> tar does't like it when I do tar -c $(nix-store -qR "$exported_path") | sed -e "s#nix/store#_nix_foos#g"
<clever> yeah, its not a tar file
<clever> its a custom format, that omits fields like uid/read/write/mtime
<gchristensen> yeah I know, but NARs are more amenable to this sort of abuse^
<clever> and /nix/store/ isnt a prefix on the paths
<gchristensen> hmm
<clever> all paths start at the root of $out, so $out/bin/foo exists as just "bin/foo" in the nar
<clever> 2017-02-22 22:23:23< clever> $ nix-store --dump a | nix-store --restore b
<gchristensen> ohhh makes sense
<clever> this will copy a to b, serializing it in the process
newhoggy has joined #nixos
<clever> no nix.sqlite metadata is involved, no need for root, and you can just treat it as a tar replacement if you wanted
<clever> 2017-03-13 15:49:05< clever> [clever@amd-nixos:/tmp/fooo]$ curl cache.nixos.org/nar/0b1c57kbqjl78yh5wvna3lgfzldjk12s5a5kkyq49qd07jgy4p0p.nar.xz | unxz | nix-store --restore bdjyhh70npndlq3rzmggh4f2dzdsj4xy-hello-2.10
takle has quit [(Remote host closed the connection)]
<clever> gchristensen: and an example closer to what you wanted
<clever> it downloads a given nar, and unpacks it to a new dir called <hash>-hello-<version>
<bennofs> btw, nix 1.12 has nix ls-nar
vaibhavsagar_ has quit [(Ping timeout: 240 seconds)]
<NickHu> What does the ... mean in a { ... } block in Nix?
<clever> NickHu: it makes it accept any argument
<clever> on its own, the arguments are just dropped, so you cant access the things you havent named
<clever> { pkgs, config, ... } @ args:
pmade has quit [(Quit: ZNC - http://znc.in)]
<clever> but with this syntax, all arguments are put into a set called args
<copumpkin> if you see it in nix-repl, it can also mean an unevaluated thunk
pmade has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
jgeerds has quit [(Quit: Leaving)]
digitus has joined #nixos
schoppenhauer has quit [(Ping timeout: 260 seconds)]
nh2 has joined #nixos
takle has joined #nixos
<pietranera> tilpner `type _foo` says "not found" (sorry for the late reply)
newhoggy has joined #nixos
<pietranera> but `echo $fpath` shows my ~/.zsh_completions directori that contains _foo
<pietranera> /s/shows/contains/
<NickHu> clever: I see, thanks
<tilpner> pietranera - Temporarily put autoload _foo in your .zshrc. Does that make it work?
newhoggy has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] AtnNn opened pull request #27470: RethinkDB 2.3.5 -> 2.3.6 (master...rethinkdb) https://git.io/vQxFG
NixOS_GitHub has left #nixos []
<pietranera> tilpner, now that gives `_foo is an autolad shell function` (but autocomplete does not seem to work)
<tilpner> pietranera - Even after trying to tab-complete?
<tilpner> It should output something else before and after the attempt
<gchristensen> github is gooing dooown....
newhoggy has joined #nixos
<pietranera> it does not seem to work unfortunately, maybe the autoloads are incorrect
<LnL> removing generation 1... :o
<tilpner> pietranera - Please don't just say "it doesn't work", there's way too many potential reasons for that. And just checking, you didn't literally put "_foo" in there, right?
newhoggy has quit [(Ping timeout: 255 seconds)]
reinhardt_ has joined #nixos
reinhardt_ has quit [(Client Quit)]
reinhardt_ has joined #nixos
<disasm> manveru: that went much easier than I expected... https://gist.github.com/disassembler/a84f26e8b2dc3b89b70c280ddb48163b
<manveru> :)
freusque has quit [(Quit: WeeChat 1.7.1)]
magnetophon has joined #nixos
reinzelmann has quit [(Ping timeout: 248 seconds)]
reinhardt has quit [(Ping timeout: 268 seconds)]
<disasm> manveru: although for some reason I got read-only errors running bundix on unstable. Worked great from 17.03 though.
sary has quit [(Ping timeout: 255 seconds)]
<manveru> hmm
<manveru> the nixpkgs-unstable version should actually work perfectly fine
<disasm> so I just copied those 3 files off the 17.03 box I ran bundix on and they work fine from my laptop (unstable)
<disasm> errr bundler
newhoggy has joined #nixos
reinzelmann has joined #nixos
<disasm> oh wait, I lied, I forgot to specify -p bundler when I ran the shell with bundix from unstable
freusque has joined #nixos
sary has joined #nixos
freusque has quit [(Quit: WeeChat 1.7.1)]
newhoggy has quit [(Ping timeout: 248 seconds)]
freusque has joined #nixos
Filystyn has quit [(Quit: Konversation terminated!)]
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to master: https://git.io/vQxAc
<NixOS_GitHub> nixpkgs/master 75d5327 Franz Pletz: gitAndTools.diff-so-fancy: 0.11.4 -> 1.1.0
<NixOS_GitHub> nixpkgs/master 1cf4100 Franz Pletz: lucenepp: 3.0.6 -> 3.0.7
<NixOS_GitHub> nixpkgs/master cb23448 Franz Pletz: graphicsmagick: 1.3.25 -> 1.3.26
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to release-17.03: https://git.io/vQxA4
<NixOS_GitHub> nixpkgs/release-17.03 e6acc07 Franz Pletz: imagemagick: 6.9.8-10 -> 6.9.9-0...
<NixOS_GitHub> nixpkgs/release-17.03 9cbba51 Franz Pletz: imagemagick7: 7.0.6-0 -> 7.0.6-1...
<NixOS_GitHub> nixpkgs/release-17.03 ccb5642 Franz Pletz: graphicsmagick: 1.3.25 -> 1.3.26...
NixOS_GitHub has left #nixos []
<pietranera> tilpner no, I am not using _foo, the file I am using is https://github.com/hashicorp/terraform/blob/master/contrib/zsh-completion/_terraform
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
newhoggy has joined #nixos
<pietranera> I hoped that there was some silly thing I was doing that could be fixed quickly.
<pietranera> I need to check whether my non-NixOS box has the same issue.
erictapen has quit [(Ping timeout: 240 seconds)]
<tilpner> pietranera - That file works for me after running compinit
schoppenhauer has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
jophish has quit [(Ping timeout: 260 seconds)]
<schoppenhauer> ok, "stack init" apparently searches through ALL of my home directory
<schoppenhauer> why does it do this?
<schoppenhauer> (it doesn't terminate, since my home directory is LARGE)
fxr` has quit [(Ping timeout: 240 seconds)]
zeus_ has joined #nixos
ibrahims has joined #nixos
jophish has joined #nixos
<schoppenhauer> who wrote that awful software ;_;
<schoppenhauer> seriously
<tilpner> Where are you running it?
<schoppenhauer> tilpner: on my computer (?)
Guest81176 has quit [(Quit: Lost terminal)]
<tilpner> No, in what directory
<schoppenhauer> tilpner: in my home directory
freusque has quit [(Quit: WeeChat 1.7.1)]
<schoppenhauer> tilpner: I was told to run it, so intero works
newhoggy has joined #nixos
reinhardt_ has quit [(Quit: Leaving)]
<schoppenhauer> tilpner: because intero somehow needs this … or something
<tilpner> I don't think you're supposed to do that. What would you expect it to do, if you provide your home directory as an input?
__Sander__ has quit [(Quit: Konversation terminated!)]
<schoppenhauer> tilpner: I have no idea. Maybe … setting up the system so intero can run?
<schoppenhauer> tilpner: I mean seriously: wtf am I supposed to do to get a working interaction mode?
<tilpner> Probably not converting your home directory into a stack project...
<schoppenhauer> tilpner: ok, so what "installs" stack?
<schoppenhauer> tilpner: ah it is stack setup
<trikl[m]> I switched to fish as a login shell and $PATH only contains /bin:/usr/bin now, why could this be?
<schoppenhauer> ok the problem is, I had no backlog (use the webclient), and "stack setup" crashed my computer because it loaded some large file and filled up my home directory
freusque has joined #nixos
<schoppenhauer> so I forgot to use stack setup
reinzelmann has quit [(Quit: Leaving)]
newhoggy has quit [(Ping timeout: 255 seconds)]
<tilpner> trikl[m] - Try programs.fish.enable = true;
<trikl[m]> tilpner: that worked :)
<pietranera> tilpner thanks for your help. I'll have a look on my other box and investigate further on the NixOS one too. :)
ixxie has quit [(Quit: Lost terminal)]
magnetophon has quit [(Ping timeout: 248 seconds)]
xadi has quit [(Quit: Leaving.)]
FRidh has quit [(Quit: Konversation terminated!)]
mr-ouss has quit [(Remote host closed the connection)]
mr-ouss has joined #nixos
newhoggy has joined #nixos
MinceR has quit [(Ping timeout: 268 seconds)]
<schoppenhauer> ok. now I did stack setup.
<schoppenhauer> and still get the same error.
mr-ouss_ has joined #nixos
arjen-jonathan has quit [(Ping timeout: 248 seconds)]
<schoppenhauer> ok, so apparently there is no easily usable interaction mode for haskell anymore.
<schoppenhauer> what a pity.
magnetophon has joined #nixos
MinceR has joined #nixos
\\\\\\\\\\\ has quit [(Quit: leaving)]
Coyin has quit [(Remote host closed the connection)]
mr-ouss has quit [(Ping timeout: 240 seconds)]
WinchellsM has joined #nixos
<WinchellsM> How do I define `knownHosts` that is referred to in this file?
Coyin has joined #nixos
newhoggy has quit [(Ping timeout: 248 seconds)]
<WinchellsM> It's like it's a global variable
<WinchellsM> I keep getting "undefined variable 'knownHosts' when running `nixos-rebuild switch`
mr-ouss_ has quit [(Ping timeout: 255 seconds)]
<bennofs> WinchellsM: looks to me like that module is just broken
<bennofs> WinchellsM: should probably be entry.knownHosts
erictapen has joined #nixos
jensens has quit [(Ping timeout: 240 seconds)]
<WinchellsM> Is there a way I can change it?
magnetophon has quit [(Ping timeout: 240 seconds)]
<clever> it looks like it should be doing entry.knownHosts
<WinchellsM> Yeah makes sense
<WinchellsM> Is there a way I can change it to entry.knownHosts?
<clever> you would need to clone nixpkgs, checkout the right version for your host, and then edit that file
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vQpfc
<NixOS_GitHub> nixpkgs/master adb178c Robin Gloster: gnomeExtensions.topicons-plus: fix version string...
NixOS_GitHub has left #nixos []
tvon has joined #nixos
ertes-w has quit [(Ping timeout: 248 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/0eb4f6fd25 (from 4 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
newhoggy has joined #nixos
<gchristensen> !!!
<LnL> \o/
<gchristensen> praise hydra
<domenkozar> yay me clicking buttons on hydra helps :)
<gchristensen> what'd you press? "bump to top"?
<domenkozar> and restart
<dash> gchristensen: don't you mean "hail hydra"
<gchristensen> nice
<gchristensen> dash: why yes, thank you _oops
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mguentner opened pull request #27472: python-gnupg: 0.4.0 -> 0.4.1 and enable tests (master...python-gnupg) https://git.io/vQpJK
NixOS_GitHub has left #nixos []
nschoe has quit [(Quit: Program. Terminated.)]
erictapen has quit [(Ping timeout: 260 seconds)]
newhoggy has quit [(Ping timeout: 258 seconds)]
<WinchellsM> How do I see what versions of `btsync-<version_number>` are in nix packages?
<WinchellsM> I tried `nix-env -qa 'btsync*'` and it didn't work
<gchristensen> -qaP '.*btsync.*'
<WinchellsM> Not working
<clever> pkgs/applications/networking/bittorrentsync/generic.nix: name = "btsync-${version}";
<WinchellsM> Maybe it's not in nixpkgs anymore?
<clever> pkgs/top-level/all-packages.nix: bittorrentSync14 = callPackage ../applications/networking/bittorrentsync/1.4.x.nix { };
<clever> pkgs/top-level/all-packages.nix: bittorrentSync20 = callPackage ../applications/networking/bittorrentsync/2.0.x.nix { };
<clever> WinchellsM: the names are non-obvious
<clever> 1.4.111 and 2.3.8 are the versions i get
pxc has joined #nixos
newhoggy has joined #nixos
<WinchellsM> When running `nixos-rebuild switch` with the proper bittorrentSync20, I'm getting a stack of "0 0 0 0 0 0 0 0 --:--:-- <timestamp> --:--:--"
<WinchellsM> Being fed once per second to the console
<WinchellsM> And then "cannot download BitTorrent-Sync_x64.tar.gz from any mirror"
<WinchellsM> bleh
mudri has quit [(Ping timeout: 240 seconds)]
<WinchellsM> It's because bittorrent-sync is now resilio
<WinchellsM> But the resilio-sync package is broken on NixOS
<clever> WinchellsM: rerun with -j1 to unscramble the download progress
newhoggy has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
pietranera has quit [(Quit: Leaving.)]
<NickHu> Is there a way to compile linux binaries for other distros? (I.e. without /nix/store as the interpreter path etc)
bennofs has quit [(Ping timeout: 276 seconds)]
<dash> NickHu: sure, make a chroot
Ivanych has quit [(Ping timeout: 258 seconds)]
<NickHu> dash: got anything I can read about that?
<WinchellsM> I just filed a bug report: https://github.com/NixOS/nixpkgs/issues/27473
newhoggy has joined #nixos
<dash> NickHu: the 'buildFHSChrootEnv' function is most of what you need, have a look in the nixpkgs manual for that
ryanartecona has quit [(Quit: ryanartecona)]
<copumpkin> what's the exact point at which a path reference gets copied to the nix store and the reference returns the store path?
<copumpkin> for example, I'm a little confused by https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/databases/mysql.nix#L16 using cfg.dataDir when dataDir is types.path
<sphalerite[m]> Mic92: do you see any other issues for the systemd timezone PR? https://github.com/NixOS/nixpkgs/pull/26608
<copumpkin> I would've expected that to copy the directory to the store and return that
newhoggy has quit [(Ping timeout: 268 seconds)]
bfrog has quit [(Ping timeout: 246 seconds)]
<copumpkin> like I have a bit of an intuition for when ./foo turns into /nix/store/124jkl1j45kl32j5k1l-foo/ when it gets used in string interpolation
<copumpkin> but not in toString
cfricke has quit [(Quit: WeeChat 1.9)]
<copumpkin> or something like that
<copumpkin> but it feels super imprecise
ryanartecona has joined #nixos
<dash> copumpkin: turning a path into a string copies the path to the store, the string then contains the store path
darlan has joined #nixos
darlan has quit [(Remote host closed the connection)]
<copumpkin> I get that, but I
<copumpkin> am trying to figure out the specifics
<copumpkin> like that mysql example is what confused me
<copumpkin> cfg.dataDir is declared as types.path
<copumpkin> so when someone passes in /var/lib/mysql
<copumpkin> I'd expect it to take that path, copy it to the store, and return /nix/store/1jkljrk2lj5k1lj5kl-mysql
<copumpkin> which is obviously not what's happening or what's desirable in that case
<copumpkin> toString doesn't trigger copying, but string interpolation does
<copumpkin> but mysql is using string interpolation
newhoggy has joined #nixos
zeus_ has quit [(Read error: Connection reset by peer)]
nixer has quit [(Quit: Page closed)]
zeus_ has joined #nixos
pxc has quit [(Ping timeout: 258 seconds)]
newhoggy has quit [(Ping timeout: 276 seconds)]
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
newhoggy has joined #nixos
<joachifm> copumpkin: you mean, dataDir = "/var/lib/mysql" should copy? afair, types.path is just a string that begins with '/', it has no special semantics beyond that
<copumpkin> oh
<Dezgeg> yeah I suppose if you were to set dataDir = /foo you get hosed
<copumpkin> I thought it was using builtins.typeOf x == "path"
<copumpkin> that explains it then
newhoggy has quit [(Ping timeout: 248 seconds)]
pxc has joined #nixos
mudri has joined #nixos
Ivanych has joined #nixos
slack1256 has joined #nixos
vith2 is now known as vith
newhoggy has joined #nixos
<copumpkin> that'll teach me to assume :)
<joachifm> "path" is little bit overloaded
<copumpkin> the comment is right, but if there were, it would do the wrong thing
Ivanych1 has joined #nixos
slack1256 has quit [(Ping timeout: 240 seconds)]
slack1256 has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
Ivanych has quit [(Ping timeout: 246 seconds)]
nh2 has quit [(Ping timeout: 255 seconds)]
newhoggy has joined #nixos
endformationage has joined #nixos
bennofs has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
* dtzWill waves
deep-book-gk_ has joined #nixos
magnetophon has joined #nixos
deep-book-gk_ has left #nixos []
m0rphism has joined #nixos
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
nh2 has joined #nixos
bfrog has joined #nixos
newhoggy has joined #nixos
tmaekawa has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vQpWL
<NixOS_GitHub> nixpkgs/master 8dccc9b Robert Helgesson: eclipse-plugin-checkstyle: 7.3.0 -> 8.0.0
NixOS_GitHub has left #nixos []
newhoggy has quit [(Ping timeout: 260 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
magnetophon has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vQplh
<NixOS_GitHub> nixpkgs/master 65b1613 Vincent Laporte: frama-c: 20161101 (Silicon) -> 20170501 (Phosphorus)
NixOS_GitHub has left #nixos []
bfrog has quit [(Quit: WeeChat 1.8)]
takle has quit [(Remote host closed the connection)]
newhoggy has quit [(Ping timeout: 246 seconds)]
taktoa has joined #nixos
<taktoa> anyone use cabal2nix/nix-shell with cabal-doctest? I'm having issues with it (setupHaskellDepends includes cabal-doctest but it's not available in the nix-shell)
newhoggy has joined #nixos
<taktoa> I fixed it temporarily by adding cabal-doctest to my doctest test-suite build-depends
watersoul has quit [(Ping timeout: 240 seconds)]
krav_ is now known as matrixkrav
<taktoa> but the env attribute in a haskell package should probably include setupHaskellDepends
<taktoa> cc: peti
nullvoid8 has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
<peti> taktoa: Yeah, that sounds like a bug. When setupHaskellDepends was added, I probably forgot to add it to the env as well.
tdotdoe has quit [(Ping timeout: 240 seconds)]
magnetophon has joined #nixos
newhoggy has joined #nixos
watersoul has joined #nixos
takle has joined #nixos
aswanson has joined #nixos
<WinchellsM> In my `configuration.nix` I have
<WinchellsM> services.resilio.enable = true;
<WinchellsM> This seems to be equivalent of
takle has quit [(Remote host closed the connection)]
<WinchellsM> sudo systemctl enable resilio
Ivanych has joined #nixos
<WinchellsM> How do I make it
<WinchellsM> systemctl --user enable resilio?
<WinchellsM> I.e., how do I enable this service for a user?
<WinchellsM> Is there some general NixOS pattern for this?
<bennofs> WinchellsM: there's systemd.user.services, although i don't know if that'll work for resilio
<aswanson> I'm attempting to compile wxwidgets 3.1 and running into an issue with the linking defined in the makefile (I think.) The nix expression I've made is pretty basic but seems to work until I get an error in crt1.o, saying "in function _start, undefined reference to main"
Ivanych1 has quit [(Ping timeout: 240 seconds)]
<bennofs> WinchellsM: I think services that can be used for the system and services that may be run as user services are separate right now
newhoggy has quit [(Ping timeout: 240 seconds)]
<aswanson> I'm seeing references to adding linking flags to the make file on stack overflow, but I don't know how to adjust that kind of stuff inside the nix expression
<Fuuzetsu> sed/patch files; grep in nixpkgs for examples; also it's often useful to see what existing packages in other distributions are doing to verify if such patches are necessary in the first place
civodul has joined #nixos
ryanartecona has joined #nixos
<WinchellsM> @bennofs: the problem is I can't run `systemctl --user enable resilio`, even after installing and enabling it in configuration.nix. I only have access to `sudo systemctl enable resilio`
<bennofs> WinchellsM: yes, because user services and system services are different
<bennofs> WinchellsM: if the module only provides a system service, then there is only a system service
<bennofs> WinchellsM: that's not even specific to NixOS though, available user services and system services are different even if you use "stock" systemd on a "normal" distribution
newhoggy has joined #nixos
<WinchellsM> Ok
arjen-jonathan has joined #nixos
<WinchellsM> Is it still appropriate to make configs in the `/etc/..` folder
<WinchellsM> When a nix package doesn't provide an interface for `configuration.nix`?
<WinchellsM> Or will NixOS gobble them up, or there is no guarantee it will be there or be stable?
<schoppenhauer> hm. what is a good filesystem for /nix/store? ext4 is getting _really_ slow (on a rotational hard disk).
<tilpner> WinchellsM - You can use environment.etc to put files there
<WinchellsM> What do you mean?
<copumpkin> niksnut: I think the mac shakeup made a few things fail spuriously and show up as failed rather than aborted
newhoggy has quit [(Ping timeout: 255 seconds)]
<copumpkin> maybe I'm wrong
<peti> taktoa: The issue is fixed in https://github.com/peti/nixpkgs/commit/bda5e9744a8891702e4e734107b69174a1a58ce3. That patch will be merged to 'master' in a few days. Just need to wait for Hydra to test-build everything properly.
newhoggy has joined #nixos
<taktoa> peti: nice! thanks a lot
tdotdoe has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] MP2E pushed 1 new commit to master: https://git.io/vQpz0
<NixOS_GitHub> nixpkgs/master ccf7b4b Cray Elliott: wine-mono: 4.6.4 -> 4.7.0
NixOS_GitHub has left #nixos []
yaohwq has joined #nixos
<tilpner> WinchellsM - You can use these options [ https://nixos.org/nixos/options.html#environment.etc ] to configure files in /etc. Nix will manage them, so they won't be clobbered
bennofs has quit [(Quit: WeeChat 1.9)]
<yaohwq> hello! i'd like to add unity3d derivation to nixos. is it ok? here is the source i'd like to use: https://forum.unity3d.com/threads/unity-on-linux-release-notes-and-known-issues.350256/
bennofs has joined #nixos
mw has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vQpgm
<NixOS_GitHub> nixpkgs/master 3c98974 Tuomas Tynkkynen: afl: 2.44b -> 2.48b
NixOS_GitHub has left #nixos []
darlan has joined #nixos
<tilpner> yaohwq - Unity is already packaged for NixOS
bennofs has quit [(Ping timeout: 248 seconds)]
<yaohwq> tilpner: thanks!
<tilpner> yaohwq - Make sure to also put programs.unity3d.enable = true; in your nixos-config, seems to be required
newhoggy has joined #nixos
yaohwq has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
newhoggy has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svend opened pull request #27476: terminal-notifier: add shebang line to wrapper (master...terminal-notifier-add-shebang) https://git.io/vQpaU
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 5 new commits to master: https://git.io/vQpaR
<NixOS_GitHub> nixpkgs/master eef6df5 romildo: terminology: wrap libcurl.so in LD_LIBRARY_PATH
<NixOS_GitHub> nixpkgs/master 627724d romildo: ephoto: wrap libcurl.so in LD_LIBRARY_PATH
<NixOS_GitHub> nixpkgs/master 30e086d romildo: rage: wrap libcurl.so in LD_LIBRARY_PATH
NixOS_GitHub has left #nixos []
darlan has quit [(Quit: Communi 3.5.0 - http://communi.github.com)]
spinus has joined #nixos
newhoggy has joined #nixos
vanrein has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] stesie opened pull request #27478: tomboy: 1.15.7 -> 1.15.9 (master...update-tomboy) https://git.io/vQpVu
NixOS_GitHub has left #nixos []
vanrein has quit [(Client Quit)]
pie_ has quit [(Read error: Connection reset by peer)]
pie__ has joined #nixos
Ivanych has quit [(Ping timeout: 240 seconds)]
<spinus> I'm deploying machines with "ssh HOST 'nix-store -r --ignore-unknown bla1 bla2'" and then "nix-copy-closure --to HOST bla3" to copy missing derivations which are built locally (it's copied from what nixops is doing). Question: is it possible to build derivations on remote hosts instead of copying them from localhost?
newhoggy has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aszlig pushed 1 new commit to master: https://git.io/vQpwC
<NixOS_GitHub> nixpkgs/master c71233f aszlig: broadcom_sta: Add patch for supporting Linux 4.12...
NixOS_GitHub has left #nixos []
<joepie91> hrm. does anybody know why Node 6.11.1 has not made it into stable yet?
<joepie91> it was committed to nixpkgs 5 days ago
<gchristensen> was it backported?
<joepie91> no idea, but it should be :P
<joepie91> no clue how to check
<gchristensen> go spelunk in the release-17.03 history
bennofs has joined #nixos
<joepie91> hm, doesn't appear in history for the past 5 days
<clever> spinus: nix-copy-closure can take a .drv from nix-instantiate, then you can run nix-store -r on that remotely
<joepie91> so apparently not backported
<joepie91> how do I resolve that?
<gchristensen> alright, now find the commit for the upgrade in master and `git cherry-pick -x <that-hash>` to release-17.03
<clever> spinus: there is also the build slave stuff, and brb
<joepie91> gchristensen: er, in my own fork of the repo I assume?
<gchristensen> yeah
<joepie91> and then create a PR for that to release-17.03?
<gchristensen> make sure node builds after the cherry-pick, and yep, PR to release-17.03
<joepie91> then I'm going to take a shower first and then give that a shot :)
<spinus> clever: my issue is network, if I understand with build slave, all stuff needs to be pushed from localhost anyway, right? Probably I could setup some build servers + cache, but I don't have that yet
<spinus> what's brb?
<joepie91> RSI...
<gchristensen> joepie91: might want to cherry-pcik first then build while you shower... oh, RSI... me too :(
<bennofs> spinus: be right back ?
<joepie91> not concerned about build time, I have all evening
<joepie91> :P
<WinchellsM> Is there a way to set a folder's owner in the configuration.nix?
<spinus> bennofs, yeah I thought it's that, but looked strange in this sentence for me, I understood something like "there is way X, and brb" (which is way Y) :)
newhoggy has joined #nixos
<clever> spinus: something came up, cant type much now
<spinus> clever: cool cool :-) no worries
<spinus> thanks
<WinchellsM> Bleh -- I meant: is there a way to add a user to a custom group?
<WinchellsM> Thanks
tvon has quit [(Remote host closed the connection)]
newhoggy has quit [(Ping timeout: 255 seconds)]
<WinchellsM> @clever: regarding your first link, were you referring to one of those env functions?
<WinchellsM> With respect to forcing a folder to have an owner?
<niksnut> copumpkin: don't know what the current status of the macs is
<niksnut> ikwildrpepper was reinstalling them
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vQpoh
<NixOS_GitHub> nixpkgs/master db163cd Svend Sorensen: terminal-notifier: add shebang line to wrapper...
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
ng0 has quit [(Quit: Alexa, when is the end of world?)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #27479: gnutls: use 3.5.10 on Darwin for now (release-17.03...gnutls-darwin-no-foundation-backport) https://git.io/vQpKm
NixOS_GitHub has left #nixos []
<clever> WinchellsM: by setting mode and uid on an environment.etc entry, you can control what user owns it
newhoggy has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ocharles pushed 2 new commits to master: https://git.io/vQpKQ
<NixOS_GitHub> nixpkgs/master b5c6543 adisbladis: postgresql-9.2.20 -> postgresql-9.2.21...
<NixOS_GitHub> nixpkgs/master ba1392d Oliver Charles: Merge pull request #27391 from adisbladis/postgres_cves...
NixOS_GitHub has left #nixos []
magnetophon has quit [(Ping timeout: 255 seconds)]
pie__ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to release-17.03: https://git.io/vQp60
<NixOS_GitHub> nixpkgs/release-17.03 41b2c16 Vladimír Čunát: gnutls: use 3.5.10 on Darwin for now...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy closed pull request #27479: backport "gnutls: use 3.5.10 on Darwin for now" to stable (release-17.03...gnutls-darwin-no-foundation-backport) https://git.io/vQpKm
NixOS_GitHub has left #nixos []
<gchristensen> niksnut, ikwildrpepper: ooh cool! I hope the new installer does the business :)
ryanartecona has quit [(Quit: ryanartecona)]
takle has joined #nixos
pie_ has joined #nixos
arjen-jonathan has quit [(Ping timeout: 258 seconds)]
newhoggy has joined #nixos
<WinchellsM> @clever: I'm sorry I'm still confused. I'm looking for a way to do the equivalent of:
<WinchellsM> $ sudo chown user_name:group_name folder_name
<clever> where does folder_name exist?
<WinchellsM> $ sudo chmod g+s folder_name
<WinchellsM> /home/user_name/folder_name
<clever> there is no way to manage things under /home with nixos
<clever> nixos can only manage /etc and /nix
<bennofs> well, you can use a custom activation hook to run arbitrary commands
<clever> it would probably be safer to use a one-shot systemd unit
<clever> the last guy i saw using activation hooks tried to do network, it errored out, and then that broke the entire boot process
ryanartecona has joined #nixos
<clever> though if you think it wont crash and its only a chown and chmod, that can owrk
newhoggy has quit [(Ping timeout: 255 seconds)]
bennofs has quit [(Quit: WeeChat 1.9)]
TheNumb has joined #nixos
<srhb> Is there a pulseaudio equalizer hidden somewhere in nixpkgs?
schoppenhauer has quit [(Ping timeout: 260 seconds)]
<gchristensen> srhb: pavucontrol
<srhb> gchristensen: How do you get that to do equalizing?
<gchristensen> oh maybe I'm lying
<srhb> I think so. :-)
deceract has joined #nixos
newhoggy has joined #nixos
<srhb> Yeah, I think qpaeq is all we have, and that's broken. Maybe I'll take a look at that.
<srhb> Speaking of which, is there a good way of splitting up a package? Say, the package produces binary X with normal inputs, which is very minimal, but I want to split out binary Y which has a lot more dependencies to work correctly.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth closed pull request #26921: consul: 0.7.5 -> 0.8.5 (master...consul-0.8.5) https://git.io/vQcV7
NixOS_GitHub has left #nixos []
<srhb> (qpaeq is such an example, pulseaudio produces it, but it doesn't actually depend on its dependencies)
TheNumb has left #nixos []
newhoggy has quit [(Ping timeout: 260 seconds)]
<srhb> What I'm imagining is "hiding" (not copying to $out) qpaeq with the default arguments to pulseaudio, but making a qpaeq derivation that specifically builds pulseaudio with the required deps
<srhb> ... asked and answered, I suppose.
fiveht has quit [(Quit: WeeChat 1.7.1)]
nullvoid8 has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] primeos pushed 1 new commit to master: https://git.io/vQpXF
<NixOS_GitHub> nixpkgs/master 0d9a0ef Michael Weiss: slop: 6.3.41 -> 6.3.46
NixOS_GitHub has left #nixos []
lsyoyom has quit [(Quit: WeeChat 1.8)]
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
tmaekawa has quit [(Quit: tmaekawa)]
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
tdotdoe has quit [(Ping timeout: 255 seconds)]
takle has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
borsu has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
newhoggy has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin pushed 2 new commits to staging: https://git.io/vQpQ7
<NixOS_GitHub> nixpkgs/staging 0419452 Dan Peebles: Fix Darwin stdenv to work on 10.13...
<NixOS_GitHub> nixpkgs/staging bd2e91e Daniel Peebles: Merge pull request #27318 from copumpkin/darwin-high-sierra...
NixOS_GitHub has left #nixos []
ertes has joined #nixos
takle has joined #nixos
borsu has left #nixos []
deceract has quit [(Ping timeout: 248 seconds)]
ryanartecona has joined #nixos
aborsu has joined #nixos
magnetophon has joined #nixos
newhoggy has joined #nixos
tdotdoe has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
cpennington has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Remote host closed the connection)]
endformationage has quit [(Quit: WeeChat 1.7)]
simukis has quit [(Ping timeout: 246 seconds)]
tvon has joined #nixos
aborsu has quit [(Quit: aborsu)]
tvon_ has joined #nixos
tvon has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vQpbZ
<NixOS_GitHub> nixpkgs/master 7c6b42a Stefan Siegl: keepass: 2.35 -> 2.36
<NixOS_GitHub> nixpkgs/master 11bbd17 Stefan Siegl: keepass-keepasshttp: 1.8.4.1 -> 1.8.4.2
<NixOS_GitHub> nixpkgs/master 5b92a39 Jörg Thalheim: Merge pull request #27477 from stesie/update-keepass...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vQpbl
<NixOS_GitHub> nixpkgs/master 99499a5 Franz Pletz: mitmproxy: use fetchpatch for patch retrieval
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vQpbX
<NixOS_GitHub> nixpkgs/master fe05e16 Stefan Siegl: tomboy: 1.15.7 -> 1.15.9
<NixOS_GitHub> nixpkgs/master b73cf3d Jörg Thalheim: Merge pull request #27478 from stesie/update-tomboy...
NixOS_GitHub has left #nixos []
aborsu has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to master: https://git.io/vQpNE
<NixOS_GitHub> nixpkgs/master e7abb9b Maximilian Güntner: python-gnupg: 0.4.0 -> 0.4.1 and enable tests
<NixOS_GitHub> nixpkgs/master 37d8734 Jörg Thalheim: python-gnupg: move out of python-packages
<NixOS_GitHub> nixpkgs/master 2f9f70b Franz Pletz: Merge pull request #27472 from mguentner/python-gnupg...
NixOS_GitHub has left #nixos []
Wizek__ has joined #nixos
magnetophon has quit [(Ping timeout: 240 seconds)]
deceract has joined #nixos
Filystyn has quit [(Read error: Connection reset by peer)]
Filystyn has joined #nixos
hiratara has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #27464: boolector: 1.{5,6} -> 2.4.1 (master...boolector) https://git.io/vQAyM
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
<mudri> Hi. I'm new to Ruby and I *think* I'm following the instructions in the nixpkgs manual, but this error looks Nix-ish. http://lpaste.net/6540935282831654912
hiratara has joined #nixos
<mudri> Said details in mkmf.log are: http://lpaste.net/357018
<copumpkin> here's a tool I want: give a list of attribute names and tell me the most recent nixpkgs revision that has binary caches for all of them
JameySharp[m] has joined #nixos
<gchristensen> nice
<gchristensen> pro tip: start with https://channels.nix.gsc.io/nixpkgs-unstable/history
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] veprbl opened pull request #1471: Do not try to fill fd_set with fd>=FD_SETSIZE (master...fdsetsize) https://git.io/vQpxG
NixOS_GitHub has left #nixos []
siddharthist has joined #nixos
<LnL> nix-build --dry-run will show you if they are available in the cache
<JameySharp[m]> I think I've walked into the middle of a discussion of the question I wanted to ask, how convenient.
<siddharthist> Has anyone seen an error about "suspicious ownership or permission on /nix/store/....zip" before? I'm using fetchzip to get a source archive but nix won't build with it.
slack1256 has quit [(Remote host closed the connection)]
<JameySharp[m]> Mic92 merged my first pull request a few hours ago (thank you!), including to 17.03, and now I'm wondering how to tell when the updated build will be available.
magnetophon has joined #nixos
<JameySharp[m]> In particular my patch touched buildFHSUserEnv and I'll be wanting a rebuilt steam package using it, which I guess Hydra doesn't build?
ibrahims has quit [(Ping timeout: 240 seconds)]
<nixos-users-wiki> "nix command cookbook" edited by Mic92 https://git.io/vQpp0
sigmundv_ has joined #nixos
<nixos-users-wiki> "nix command cookbook" edited by Mic92 https://git.io/vQppr
magnetophon has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #27463: dapp: v0.5.2 -> v0.5.3 (master...dapp) https://git.io/vQADb
NixOS_GitHub has left #nixos []
gm152 has joined #nixos
ibrahims has joined #nixos
pshendry has joined #nixos
aborsu has quit [(Quit: aborsu)]
<pshendry> Where do I find firewall logs? I've enabled firewall.logRefusedPackets to diagnose an issue, but I don't know where to find it. journalctl -u firewall comes up empty
<clever> pshendry: what about just journalctl -f ?
<clever> i think it might be in "-k kernel" or something like that
newhoggy_ has joined #nixos
<pshendry> clever: ah lemme give that a shot
<clever> [root@router:/etc/nixos/nixcfg]# journalctl -t kernel -b 0
<clever> -- Logs begin at Mon 2017-04-24 18:42:51 UTC, end at Tue 2017-07-18 22:26:19 UTC. --
<clever> Apr 27 16:10:23 router kernel: rejected connection: IN=wan OUT
<clever> ah, it was -t
<pshendry> clever: -t kernel does the trick, thanks a lot!
<clever> tep
<pshendry> now to figure out why I can't find a Samba share with firewall up. TCP 139 445, UDP 137 138 isn't cutting it.
hiratara has quit [(Quit: ZNC - http://znc.in)]
newhoggy has quit [(Ping timeout: 255 seconds)]
hiratara has joined #nixos
joehh has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vQhe4
<NixOS_GitHub> nixpkgs/master 0b3d29d Al Zohali: linux_samus_4_12: init at 4.12.2...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #26038: linux_samus_4_11: init at 4.11.1 (master...linux-samus) https://git.io/vHqXG
NixOS_GitHub has left #nixos []
newhoggy_ has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
Filystyn has quit [(Quit: Konversation terminated!)]
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
magnetophon has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #27366: bump rivet, yoda, lhapdf (master...version_bumps) https://git.io/vQQwF
NixOS_GitHub has left #nixos []
takle has quit [(Remote host closed the connection)]
joehh has joined #nixos
schoppenhauer has joined #nixos
boomshroom has joined #nixos
<boomshroom> Hello!
<boomshroom> I'm looking at playing some Aurora 4x and I'm wondering if anyone has tried snapshotting game saves using Nix. While Aurora requires Wine, I don't think it would be as much of an issue as the fact the save files are stored right in the install directory.
schoppenhauer has quit [(Client Quit)]
<yegortimoshenko> GitHub has changed Nix language color to blue!
<boomshroom> I think it might be possible symlink the stored files into the "build directory" and when the game closes, "build" the state by copying the new saves into the store. Essentially, the saves would be a non-deterministic derivation that depends on playing the game.
pxc has quit [(Ping timeout: 255 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
<boomshroom> I was thinking of doing something similar with Minecraft.
Coyin has quit [(Quit: Leaving)]
<boomshroom> Another problem is that it would be a derivation that depended on itself.
pxc has joined #nixos
<scott> j #robigalia
<scott> (oops, missing /)
Filystyn has quit [(Read error: Connection reset by peer)]
Filystyn has joined #nixos
sary has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jwiegley pushed 2 new commits to master: https://git.io/vQhLO
<NixOS_GitHub> nixpkgs/master 53d1eb0 John Wiegley: coqPackages_8_6.CoLoR: new expression 1.3.0
<NixOS_GitHub> nixpkgs/master 006a512 John Wiegley: coqPackages_8_6.math-classes: New expression (for 8.6) 1.0.6
NixOS_GitHub has left #nixos []
alx741_ has quit [(Quit: alx741_)]
digitus has quit [(Quit: digitus)]
newhoggy has joined #nixos
markus1199 has joined #nixos
markus1189 has quit [(Ping timeout: 240 seconds)]
Sonarpulse has quit [(Ping timeout: 248 seconds)]
pxc has quit [(Ping timeout: 260 seconds)]
schoppenhauer has joined #nixos
darlan has joined #nixos
kier has quit [(Remote host closed the connection)]
<schoppenhauer> "Skipping chat: unkown bundler source" ← has anyone managed to build a custom ruby package for nixos yet?
Filystyn has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vQhqY
<NixOS_GitHub> nixpkgs/master 119a0fe Etienne Laurin: RethinkDB 2.3.5 -> 2.3.6
<NixOS_GitHub> nixpkgs/master 4936e99 Jörg Thalheim: Merge pull request #27470 from AtnNn/rethinkdb...
NixOS_GitHub has left #nixos []
darlan has quit [(Client Quit)]
<schoppenhauer> because the toolchain required seems very complicated.
<schoppenhauer> especially, i wonder what the use of bundix is, when it just ignores everything not being on github.
siddharthist has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<taktoa> yegortimoshenko: I thought that happened a while ago?
pshendry has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vQhqE
<NixOS_GitHub> nixpkgs/master 9ab69a3 Tom Smeets: android-studio-preview: init at 3.0.0.5 canary 6...
<NixOS_GitHub> nixpkgs/master b2cacec Jörg Thalheim: Merge pull request #27354 from TomSmeets/androidstudio-3.0...
NixOS_GitHub has left #nixos []
<yegortimoshenko> taktoa: at least i've received an update just a while ago, for me it was purple just several hours ago
<taktoa> weird
ryanartecona has joined #nixos
thc202 has quit [(Ping timeout: 260 seconds)]
erasmas has quit [(Ping timeout: 255 seconds)]
pxc has joined #nixos
phinxy has quit [(Read error: Connection reset by peer)]
<taktoa> yegortimoshenko: https://github.com/doda/github-language-colors/blob/master/colors.json#L18 looks like it's been the same color since january 2016, unless that #7E7EFF is "purple"
<yegortimoshenko> taktoa: oh, i'm embarassed... thank you. flux didn't start up automatically after reboot
Rotaerk has joined #nixos
<yegortimoshenko> for context, https://justgetflux.com/
<taktoa> lol
<taktoa> no problem
duzzy1 has left #nixos []
sary has joined #nixos
pikajude has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
obadz has quit [(Ping timeout: 240 seconds)]
mudri has quit [(Ping timeout: 260 seconds)]
pikajude has joined #nixos
taktoa has quit [(Remote host closed the connection)]
obadz has joined #nixos