newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #28219: portaudio: 19-20140130 -> 190600-20161030, add jack (master...portaudio) https://git.io/v7H2w
NixOS_GitHub has left #nixos []
phreedom has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
adeohluwa has quit [(Quit: Connection closed for inactivity)]
phreedom has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
endformationage has quit [(Quit: WeeChat 1.9)]
newhoggy has joined #nixos
eacameron has joined #nixos
<srhb> After a rather failed repartitioning adventure, I'm wondering what step I missed. I usually define nixPath (specifically nixpkgs) in configuration.nix but this doesn't seem to apply to nix-env. What do I need to do to make it so? I've clearly forgotten.
<srhb> (I don't use channels, I point nixpkgs at a git checkout)
cornu[m] has joined #nixos
baconicsynergy[m has joined #nixos
sirius[m] has joined #nixos
jyp[m] has joined #nixos
primeos[m] has joined #nixos
Guest30729 has joined #nixos
regnat[m] has joined #nixos
abbafei[m] has joined #nixos
berot3[m] has joined #nixos
indefini has joined #nixos
aspiwack[m] has joined #nixos
scott2 has joined #nixos
peterhoeg has joined #nixos
xj9[m] has joined #nixos
NickHu has joined #nixos
revoltmedia[m] has joined #nixos
davidar has joined #nixos
timclassic has joined #nixos
bachp has joined #nixos
hendrik[m]1 has joined #nixos
M-liberdiko has joined #nixos
TimePath has joined #nixos
Naughtmare[m] has joined #nixos
wak-work has joined #nixos
mith[m] has joined #nixos
Kallegro[m] has joined #nixos
ArdaXi[m] has joined #nixos
AlanPearce[m] has joined #nixos
sudoreboot[m] has joined #nixos
octalsrc[m] has joined #nixos
hl has joined #nixos
matrixkrav has joined #nixos
Drakonis[m] has joined #nixos
copumpkin has joined #nixos
Exee7uvo[m] has joined #nixos
Elephant454[m] has joined #nixos
reactormonk[m] has joined #nixos
herzmeister[m] has joined #nixos
myklam[m] has joined #nixos
thematter[m] has joined #nixos
necronian has joined #nixos
sargon[m] has joined #nixos
spacekitteh[m] has joined #nixos
magnap has joined #nixos
florianjacob has joined #nixos
benkolera has joined #nixos
offlinehacker[m] has joined #nixos
Wysteriary[m] has joined #nixos
spawnthink[m] has joined #nixos
edef[m] has joined #nixos
Yaniel has joined #nixos
dtz has joined #nixos
pstn has joined #nixos
Kirill[m] has joined #nixos
bhipple[m] has joined #nixos
vvs[m] has joined #nixos
ptotter[m] has joined #nixos
BurNiinTRee[m] has joined #nixos
WinterFox[m] has joined #nixos
cwopel has joined #nixos
bennofs[m] has joined #nixos
wmertens[m] has joined #nixos
lecorpsnoir[m] has joined #nixos
qrilka[m] has joined #nixos
StuK[m] has joined #nixos
puffnfresh has joined #nixos
sk23[m] has joined #nixos
Sovereign_Bleak has joined #nixos
yochai[m] has joined #nixos
jsv[m] has joined #nixos
AmineChikhaoui[m has joined #nixos
zimbatm has joined #nixos
dash has joined #nixos
musicmatze[m] has joined #nixos
Dezgeg[m] has joined #nixos
rycee[m] has joined #nixos
admin[m] has joined #nixos
JameySharp[m] has joined #nixos
sphalerite has joined #nixos
DIzFer[m] has joined #nixos
Barnabas[m] has joined #nixos
dibblego[m] has joined #nixos
hedning[m] has joined #nixos
mtncoder[m] has joined #nixos
Oo[m] has joined #nixos
Ralith has joined #nixos
AdamSlack[m] has joined #nixos
kainospur[m] has joined #nixos
dalaing has joined #nixos
jack[m]1 has joined #nixos
bendlas has joined #nixos
seif[m] has joined #nixos
ycy[m] has joined #nixos
qtness[m] has joined #nixos
chominist[m] has joined #nixos
rnhmjoj[m] has joined #nixos
tommyangelo[m] has joined #nixos
a123123123[m] has joined #nixos
Khorne[m] has joined #nixos
trikl[m] has joined #nixos
etcinit[m] has joined #nixos
icetan has joined #nixos
eqyiel[m] has joined #nixos
ninegua[m] has joined #nixos
mhsjlw[m] has joined #nixos
sziszi[m] has joined #nixos
adisbladis[m] has joined #nixos
corngood has joined #nixos
retrry[m] has joined #nixos
danielrf has joined #nixos
jlle[m] has joined #nixos
alain[m]1 has joined #nixos
<srhb> I would normally expect nix-env to obey $NIX_PATH, but clearly that's insufficient.
<NickHu> Is fetchgit.fetchSubmodules broken now?
<srhb> (nix-env -qaP gives no results)
iyzsong has joined #nixos
newhoggy has quit [(Ping timeout: 258 seconds)]
<Nobabs25> how do I set xorg resolution in the config ?
eacameron has quit [(Ping timeout: 258 seconds)]
takle has joined #nixos
_rvl has quit [(Ping timeout: 255 seconds)]
newhoggy has joined #nixos
<bennofs> srhb: ~/.nix-defexpr
xd1le has joined #nixos
magnap has quit [(Ping timeout: 240 seconds)]
WinterFox[m] has quit [(Ping timeout: 240 seconds)]
sudoreboot[m] has quit [(Ping timeout: 240 seconds)]
sk23[m] has quit [(Ping timeout: 246 seconds)]
Ralith has quit [(Ping timeout: 240 seconds)]
AlanPearce[m] has quit [(Ping timeout: 240 seconds)]
matrixkrav has quit [(Ping timeout: 240 seconds)]
ptotter[m] has quit [(Ping timeout: 240 seconds)]
necronian has quit [(Ping timeout: 240 seconds)]
indefini has quit [(Ping timeout: 240 seconds)]
sirius[m] has quit [(Ping timeout: 240 seconds)]
timclassic has quit [(Ping timeout: 240 seconds)]
benkolera has quit [(Ping timeout: 240 seconds)]
qtness[m] has quit [(Ping timeout: 240 seconds)]
AdamSlack[m] has quit [(Ping timeout: 240 seconds)]
Drakonis[m] has quit [(Ping timeout: 240 seconds)]
regnat[m] has quit [(Ping timeout: 240 seconds)]
offlinehacker[m] has quit [(Ping timeout: 240 seconds)]
Guest30729 has quit [(Ping timeout: 240 seconds)]
Kallegro[m] has quit [(Ping timeout: 240 seconds)]
hedning[m] has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 246 seconds)]
myklam[m] has quit [(Ping timeout: 246 seconds)]
hendrik[m]1 has quit [(Ping timeout: 246 seconds)]
Elephant454[m] has quit [(Ping timeout: 246 seconds)]
bennofs[m] has quit [(Ping timeout: 246 seconds)]
jyp[m] has quit [(Ping timeout: 246 seconds)]
wak-work has quit [(Ping timeout: 246 seconds)]
cornu[m] has quit [(Ping timeout: 246 seconds)]
dibblego[m] has quit [(Ping timeout: 246 seconds)]
abbafei[m] has quit [(Ping timeout: 246 seconds)]
musicmatze[m] has quit [(Ping timeout: 246 seconds)]
bendlas has quit [(Ping timeout: 246 seconds)]
sphalerite has quit [(Ping timeout: 276 seconds)]
TimePath has quit [(Ping timeout: 276 seconds)]
etcinit[m] has quit [(Ping timeout: 255 seconds)]
jack[m]1 has quit [(Ping timeout: 255 seconds)]
mith[m] has quit [(Ping timeout: 255 seconds)]
reactormonk[m] has quit [(Ping timeout: 255 seconds)]
Naughtmare[m] has quit [(Ping timeout: 255 seconds)]
ArdaXi[m] has quit [(Ping timeout: 255 seconds)]
spawnthink[m] has quit [(Ping timeout: 255 seconds)]
bachp has quit [(Ping timeout: 255 seconds)]
primeos[m] has quit [(Ping timeout: 255 seconds)]
corngood has quit [(Ping timeout: 240 seconds)]
chominist[m] has quit [(Ping timeout: 240 seconds)]
StuK[m] has quit [(Ping timeout: 240 seconds)]
edef[m] has quit [(Ping timeout: 240 seconds)]
Sovereign_Bleak has quit [(Ping timeout: 240 seconds)]
pstn has quit [(Ping timeout: 240 seconds)]
ycy[m] has quit [(Ping timeout: 264 seconds)]
dalaing has quit [(Ping timeout: 264 seconds)]
NickHu has quit [(Ping timeout: 240 seconds)]
jlle[m] has quit [(Ping timeout: 240 seconds)]
eqyiel[m] has quit [(Ping timeout: 240 seconds)]
copumpkin has quit [(Ping timeout: 240 seconds)]
ninegua[m] has quit [(Ping timeout: 246 seconds)]
mhsjlw[m] has quit [(Ping timeout: 246 seconds)]
trikl[m] has quit [(Ping timeout: 246 seconds)]
a123123123[m] has quit [(Ping timeout: 246 seconds)]
JameySharp[m] has quit [(Ping timeout: 246 seconds)]
mtncoder[m] has quit [(Ping timeout: 246 seconds)]
unlmtd has quit [(Ping timeout: 246 seconds)]
davidar has quit [(Ping timeout: 246 seconds)]
xj9[m] has quit [(Ping timeout: 246 seconds)]
retrry[m] has quit [(Ping timeout: 246 seconds)]
icetan has quit [(Ping timeout: 246 seconds)]
Khorne[m] has quit [(Ping timeout: 246 seconds)]
rycee[m] has quit [(Ping timeout: 246 seconds)]
admin[m] has quit [(Ping timeout: 246 seconds)]
jsv[m] has quit [(Ping timeout: 246 seconds)]
<srhb> bennofs: Oh right. Symlink that to nixpkgs?
bhipple[m] has quit [(Ping timeout: 258 seconds)]
vvs[m] has quit [(Ping timeout: 258 seconds)]
berot3[m] has quit [(Ping timeout: 258 seconds)]
thematter[m] has quit [(Ping timeout: 258 seconds)]
baconicsynergy[m has quit [(Ping timeout: 258 seconds)]
puffnfresh has quit [(Ping timeout: 258 seconds)]
M-liberdiko has quit [(Ping timeout: 258 seconds)]
Oo[m] has quit [(Ping timeout: 255 seconds)]
qrilka[m] has quit [(Ping timeout: 255 seconds)]
octalsrc[m] has quit [(Ping timeout: 255 seconds)]
scott2 has quit [(Ping timeout: 255 seconds)]
dash has quit [(Ping timeout: 255 seconds)]
dtz has quit [(Ping timeout: 255 seconds)]
spacekitteh[m] has quit [(Ping timeout: 255 seconds)]
alain[m]1 has quit [(Ping timeout: 255 seconds)]
adisbladis[m] has quit [(Ping timeout: 255 seconds)]
rnhmjoj[m] has quit [(Ping timeout: 255 seconds)]
tommyangelo[m] has quit [(Ping timeout: 255 seconds)]
wmertens[m] has quit [(Ping timeout: 255 seconds)]
lecorpsnoir[m] has quit [(Ping timeout: 255 seconds)]
Kirill[m] has quit [(Ping timeout: 255 seconds)]
sargon[m] has quit [(Ping timeout: 255 seconds)]
Barnabas[m] has quit [(Ping timeout: 255 seconds)]
newhoggy has quit [(Ping timeout: 246 seconds)]
seif[m] has quit [(Ping timeout: 276 seconds)]
AmineChikhaoui[m has quit [(Ping timeout: 276 seconds)]
peterhoeg has quit [(Ping timeout: 276 seconds)]
revoltmedia[m] has quit [(Ping timeout: 276 seconds)]
kainospur[m] has quit [(Ping timeout: 276 seconds)]
BurNiinTRee[m] has quit [(Ping timeout: 276 seconds)]
DIzFer[m] has quit [(Ping timeout: 276 seconds)]
Yaniel has quit [(Ping timeout: 276 seconds)]
zimbatm has quit [(Ping timeout: 276 seconds)]
herzmeister[m] has quit [(Ping timeout: 276 seconds)]
aspiwack[m] has quit [(Ping timeout: 276 seconds)]
hl has quit [(Ping timeout: 258 seconds)]
danielrf has quit [(Ping timeout: 264 seconds)]
Dezgeg[m] has quit [(Ping timeout: 264 seconds)]
yochai[m] has quit [(Ping timeout: 264 seconds)]
cwopel has quit [(Ping timeout: 264 seconds)]
Wysteriary[m] has quit [(Ping timeout: 264 seconds)]
florianjacob has quit [(Ping timeout: 255 seconds)]
<xd1le> So I updated nixos-unstable (and rebooted), and now my emacs seems to not follow my Xresources (i.e. it shows the menu, toolbar etc. even though I've disabled it in Xresources). Other Xresources settings seem to be set fine though. Was wondering if anyone knew anything about this?
sziszi[m] has quit [(Ping timeout: 276 seconds)]
Exee7uvo[m] has quit [(Ping timeout: 276 seconds)]
<bennofs> srhb: i think you need a symlink in that directory
<bennofs> srhb: like ln -s /nixpkgs ~/.nix-defexpr/nixpkgs
<bennofs> iirc
mkoenig has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
<xd1le> (and I don't think the nix expression for emacs changed either, so I'm bit stumped :o )
<srhb> bennofs: Looks like symlinking nixpkgs to ~/.nix-defexprs is sufficient, thanks :)
kiloreux has quit [(Remote host closed the connection)]
takle has joined #nixos
newhoggy has quit [(Ping timeout: 248 seconds)]
takle has quit [(Ping timeout: 248 seconds)]
<lverns> does anyone here know how to *read* flags that are set by `nix-env --set-flag` ?
newhoggy has joined #nixos
eacameron has joined #nixos
eacameron has quit [(Remote host closed the connection)]
<tilpner> lverns - They appear to just be parts of the meta attrset of a derivation. $ nix-env --query --meta --json -a shows attributes like priority, but that's only the CLI way to get to them
<tilpner> Maybe try accessing them with pkgs.something.meta.priority
<lverns> tilpner: thanks, I'll try those
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ef026e02fc (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
xd1le has quit [(Quit: Using Circe, the loveliest of all IRC clients)]
mbrgm has quit [(Ping timeout: 246 seconds)]
mbrgm has joined #nixos
ison111 has quit [(Ping timeout: 240 seconds)]
bennofs has quit [(Ping timeout: 255 seconds)]
phinxy has quit [(Read error: Connection reset by peer)]
phinxy has joined #nixos
phinxy has quit [(Read error: Connection reset by peer)]
zennist` has joined #nixos
zennist has quit [(Ping timeout: 240 seconds)]
rnhmjoj[m] has joined #nixos
<rnhmjoj[m]> `services.xserver.resolutions`
<gchristensen> Ankhers: ping me if you need help with docbook :)
jtojnar has quit [(Remote host closed the connection)]
<Ankhers> gchristensen: Will do. I have found a couple things that I couldn't find in your current ports (lists, bold) but a quick google search fixed that.
<gchristensen> Ankhers: awesome :) people are scared of docbook, but after spending a few hours with it I think they're mostly biased against XML
unlmtd has joined #nixos
zennist` has quit [(Ping timeout: 255 seconds)]
<Ankhers> gchristensen: I can understand that sentiment. I don't enjoy writing XML. I'm hoping that after a while I can figure out how to get emacs to do the "ugly" parts for me. Thanks for pointing out those command by the way. Helping out already.
<gchristensen> you're welcome, yeah they make it a lot nicer
<gchristensen> nxml is supposed to be really nice, so there is surely lots else it ca ndo
takle has joined #nixos
ambro718 has quit [(Ping timeout: 246 seconds)]
takle has quit [(Ping timeout: 246 seconds)]
ison111 has joined #nixos
zennist` has joined #nixos
ebzzry has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
zennist` has quit [(Ping timeout: 246 seconds)]
takle has joined #nixos
cornu[m] has joined #nixos
baconicsynergy[m has joined #nixos
abbafei[m] has joined #nixos
jyp[m] has joined #nixos
indefini has joined #nixos
xj9[m] has joined #nixos
sirius[m] has joined #nixos
primeos[m] has joined #nixos
regnat[m] has joined #nixos
berot3[m] has joined #nixos
Guest65834 has joined #nixos
peterhoeg has joined #nixos
bachp has joined #nixos
aspiwack[m] has joined #nixos
revoltmedia[m] has joined #nixos
scott2 has joined #nixos
timclassic has joined #nixos
davidar has joined #nixos
hendrik[m]1 has joined #nixos
NickHu has joined #nixos
mith[m] has joined #nixos
Naughtmare[m] has joined #nixos
M-liberdiko has joined #nixos
TimePath has joined #nixos
wak-work has joined #nixos
Kallegro[m] has joined #nixos
puffnfresh has joined #nixos
sudoreboot[m] has joined #nixos
octalsrc[m] has joined #nixos
AlanPearce[m] has joined #nixos
ArdaXi[m] has joined #nixos
Exee7uvo[m] has joined #nixos
matrixkrav has joined #nixos
Elephant454[m] has joined #nixos
hl has joined #nixos
copumpkin has joined #nixos
Drakonis[m] has joined #nixos
myklam[m] has joined #nixos
spacekitteh[m] has joined #nixos
herzmeister[m] has joined #nixos
florianjacob has joined #nixos
magnap has joined #nixos
reactormonk[m] has joined #nixos
ycy[m] has joined #nixos
necronian has joined #nixos
offlinehacker[m] has joined #nixos
thematter[m] has joined #nixos
edef[m] has joined #nixos
Wysteriary[m] has joined #nixos
sargon[m] has joined #nixos
spawnthink[m] has joined #nixos
pstn has joined #nixos
benkolera has joined #nixos
Yaniel has joined #nixos
dtz has joined #nixos
bhipple[m] has joined #nixos
bennofs[m] has joined #nixos
WinterFox[m] has joined #nixos
BurNiinTRee[m] has joined #nixos
cwopel has joined #nixos
vvs[m] has joined #nixos
Kirill[m] has joined #nixos
ptotter[m] has joined #nixos
sk23[m] has joined #nixos
Sovereign_Bleak has joined #nixos
lecorpsnoir[m] has joined #nixos
mtncoder[m] has joined #nixos
qrilka[m] has joined #nixos
zimbatm has joined #nixos
musicmatze[m] has joined #nixos
dash has joined #nixos
DIzFer[m] has joined #nixos
jsv[m] has joined #nixos
StuK[m] has joined #nixos
dibblego[m] has joined #nixos
Ralith has joined #nixos
bendlas has joined #nixos
sphalerite has joined #nixos
Barnabas[m] has joined #nixos
hedning[m] has joined #nixos
wmertens[m] has joined #nixos
Oo[m] has joined #nixos
jack[m]1 has joined #nixos
dalaing has joined #nixos
rycee[m] has joined #nixos
JameySharp[m] has joined #nixos
yochai[m] has joined #nixos
kainospur[m] has joined #nixos
Dezgeg[m] has joined #nixos
AdamSlack[m] has joined #nixos
seif[m] has joined #nixos
chominist[m] has joined #nixos
qtness[m] has joined #nixos
tommyangelo[m] has joined #nixos
a123123123[m] has joined #nixos
trikl[m] has joined #nixos
corngood has joined #nixos
icetan has joined #nixos
Khorne[m] has joined #nixos
mhsjlw[m] has joined #nixos
sziszi[m] has joined #nixos
eqyiel[m] has joined #nixos
etcinit[m] has joined #nixos
adisbladis[m] has joined #nixos
ninegua[m] has joined #nixos
admin[m] has joined #nixos
retrry[m] has joined #nixos
AmineChikhaoui[m has joined #nixos
alain[m]1 has joined #nixos
danielrf has joined #nixos
jlle[m] has joined #nixos
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
Supersonic112_ is now known as Supersonic112
zennist` has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #28222: notmuch: 0.24.2 -> 0.25 (master...notmuch) https://git.io/v7HrQ
NixOS_GitHub has left #nixos []
felipedvorak has joined #nixos
q6AA4FD has quit [(Remote host closed the connection)]
zennist` has quit [(Ping timeout: 240 seconds)]
zennist` has joined #nixos
inflames has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
zennist` has quit [(Remote host closed the connection)]
zennist` has joined #nixos
Nobabs25 has quit [(Quit: Leaving)]
newhoggy has joined #nixos
zennist` has quit [(Ping timeout: 240 seconds)]
ebzzry has quit [(Ping timeout: 258 seconds)]
newhoggy has quit [(Ping timeout: 246 seconds)]
sellout- has quit [(Quit: Leaving.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] RocketPuppy opened pull request #28224: Literate: init (master...add-literate) https://git.io/v7HoB
NixOS_GitHub has left #nixos []
lverns has quit [(Ping timeout: 255 seconds)]
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
felipedvorak has quit [(Ping timeout: 255 seconds)]
newhoggy has quit [(Ping timeout: 240 seconds)]
<elvishjerricco> Anyone had much luck with NixOS containers? I'm trying to use one as a simple way to spin up an isolated local postgres instance. But I seem to lose the ability to even ping the container after a couple of minutes of idling.
dhess has joined #nixos
newhoggy has joined #nixos
felipedvorak has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
zennist` has joined #nixos
<gchristensen> Ankhers: great work on #3! I'll do some review in the morning :) thank you! :D
<Ankhers> gchristensen: Sounds good.
<gchristensen> Ankhers: overall, how did it go for you?
newhoggy has joined #nixos
zennist` has quit [(Ping timeout: 260 seconds)]
schoppenhauer has quit [(Ping timeout: 240 seconds)]
<Ankhers> gchristensen: The process is easy enough. The hardest part was remembering the proper attributes to use for links (xlink:href vs linkend) and the combination of `<screen><xi:include /></screen`. But I created a snippet for the latter and I seem to just be flying through it now.
<gchristensen> awesome :) good to hear! about the same for me
<gchristensen> some things (my usage of docbook elements is evolving): some of your <literal>'s could be <command>s or <filename>s
<Ankhers> I can go through and switch those around.
schoppenhauer has joined #nixos
<Ankhers> I'm sure you saw it, but I also made a different PR for the build system.
<gchristensen> overall looks good, I've got to head to bed though. I'll do a more thorough review in the AM :)
<Ankhers> Sounds good. I should probably do the same.
<gchristensen> I sure did, also looked good
* gchristensen waves
newhoggy has quit [(Ping timeout: 248 seconds)]
b has quit [(Quit: Lost terminal)]
xd1le has joined #nixos
takle has joined #nixos
zennist` has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
<Myrl-saki> I set my rpath to /lib/ but it still doesn't find the library, but it does if I use LD_LIBRARY_PATH
<Myrl-saki> Is this normal?
<Myrl-saki> (Exporting from Nix to a different OS)
zennist` has quit [(Remote host closed the connection)]
zennist` has joined #nixos
newhoggy has joined #nixos
zennist` has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Ping timeout: 240 seconds)]
Wizek_ has quit [(Ping timeout: 276 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
<clever> Myrl-saki: can you gist the logs it generates if you set the LD_DEBUG=all env var?
<Myrl-saki> clever: Oh right thanks. I forgot how to generate a "stack trace" lol
Nobabs27 has joined #nixos
jellowj has joined #nixos
Nobabs27 has quit [(Remote host closed the connection)]
q6AA4FD has joined #nixos
<Myrl-saki> file=libc.musl-x86.so.1 [0]; needed by /lib/libz.so.1 [0]
<Myrl-saki> clever:
<Myrl-saki> clever: And they're both in the same directory..
newhoggy has joined #nixos
phreedom has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Ping timeout: 248 seconds)]
<elvishjerricco> Figured out my issue with nixos-containers. The NixOS manual says to add `networking.networkmanager.unmanaged = [ "interface-name:ve-*" ];`, and I didn't realize this was necessary for more than just allowing the container to access the internet. I need to learn more about networking =P
phreedom has joined #nixos
mizu_no_oto has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
leat has quit [(Ping timeout: 246 seconds)]
<clever> Myrl-saki: when ld.so handles the requirements for libz, it will use the rpath on libz
<clever> Myrl-saki: does libz have /lib in its rpath?
<Myrl-saki> clever: Mhm.
<Myrl-saki> Does rpath mean relativepath?
newhoggy has joined #nixos
<clever> i dont think so
<Myrl-saki> clever: File directory is /lib{libz,musl}
<Myrl-saki> Err
<Myrl-saki> clever: File directory is /lib/{libz,musl}
xd1le has quit [(Quit: Using Circe, the loveliest of all IRC clients)]
<nixos-users-wiki> "FAQ" edited by yater https://git.io/v7HiA
<clever> Myrl-saki: what does "patchelf --print-rpath /lib/libz.so.1" say?
newhoggy has quit [(Ping timeout: 246 seconds)]
<Myrl-saki> clever: It has no rpath...
<Myrl-saki> That explains some things lol
<clever> Myrl-saki: and --print-interpreter on the main binary your using?
<Myrl-saki> clever: Oh. They're different interpreters.
<clever> i suspect that ld.so normally has a default search path, that nixpkgs turned off
<Myrl-saki> clever: One is by musl and one is by glibc
<Myrl-saki> Or somtehing.
<clever> so you need to use an unpatched ld.so
<Myrl-saki> Ah
<Myrl-saki> Just `ld-linux.so.2`
<Myrl-saki> Adding /lib to ld-linux.so.2's rpath gets me a segfault
takle has joined #nixos
<clever> ld.so is a special binary
<clever> from what ive seen, ld.so is a dynamic executable without any interpreter set on it
<Myrl-saki> Yep
<clever> which is weird, i didnt think that elf worked like that
<Myrl-saki> Setting rpath breaks ld-linux lmao
<Myrl-saki> clever: I think the easiest fix is to set zlib's rpath.
<clever> i think its something that has to be compiled into the ld.so
takle has quit [(Ping timeout: 240 seconds)]
<Myrl-saki> clever: I should try using ld-musl as my interpreter
eacameron has joined #nixos
<clever> bbl
eacameron has quit [(Ping timeout: 240 seconds)]
adeohluwa has joined #nixos
xd1le has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<rodarmor> Does anyone happen to know which package provides the `tic` binary? (The terminfo compiler.)
<rodarmor> I seem to have the `tic` man page installed, but can't find the binary :/
leat has joined #nixos
newhoggy has joined #nixos
Acou_Bass has quit [(Ping timeout: 240 seconds)]
jellowj has quit [(Quit: WeeChat 1.7.1)]
<rodarmor> Found it, it's in the ncurses package, but looks like the package doesn't include the `bin` directory
hamishmack has quit [(Quit: hamishmack)]
takle has joined #nixos
simukis_ has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
xd1le has quit [(Quit: Toodaloo padawans! 👣)]
newhoggy has quit [(Remote host closed the connection)]
<nixos-users-wiki> "bitlbee" edited by yater https://git.io/v7HXI
newhoggy has joined #nixos
hamishmack has joined #nixos
phreedom has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] casey opened pull request #28226: ncurses: put tic binary in bin (master...ncurses-tic) https://git.io/v7HXG
NixOS_GitHub has left #nixos []
phreedom has joined #nixos
Acou_Bass has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
zennist` has joined #nixos
rcschm has joined #nixos
<rcschm> hi, i am trying to install HaRe in ghcWithPackages and i keep getting this error:
<rcschm> test/Main.hs:12:1: error: Failed to load interface for ‘Spec’
newhoggy has joined #nixos
<rcschm> is this nix specific or something to with with ghc dependencies? i tried bringing in hspec but that doesn't seem to solve anything.
<rcschm> tks for any help.
hamishmack has quit [(Quit: hamishmack)]
newhoggy has quit [(Ping timeout: 260 seconds)]
zennist` has quit [(Ping timeout: 246 seconds)]
oida_ has joined #nixos
oida has quit [(Ping timeout: 240 seconds)]
zeus_ has quit [(Remote host closed the connection)]
<clever> rcschm: you must use ghcWithPackages to get ghc packages
silver_hook has joined #nixos
silver_hook has quit [(Changing host)]
silver_hook has joined #nixos
Wizek has quit [(Quit: Connection closed for inactivity)]
<clever> rcschm: or indirectly use it, via the haskellPackages frameworks in nixpkgs
ShalokShalom has joined #nixos
zeus_ has joined #nixos
hamishmack has joined #nixos
zeus_ has quit [(Ping timeout: 255 seconds)]
<Myrl-saki> packageOverrides = pkgs: rec {
<Myrl-saki> webkitgtk = pkgs.webkitgtk216x;
<Myrl-saki> haskellPackages = pkgs.haskell.packages.${compiler}.override {
<Myrl-saki> I should have just pastebinned the whole source lol
<Myrl-saki> http://ix.io/z6C
<Myrl-saki> Why isn't the `webkitgtk` being applied to the succeeding override?
<clever> Myrl-saki: if you only want to affect one thing, you can insert it into the {} for its callPackage
<clever> foo = pkgs.callPackage ./foo.nix { bar = pkgs.bar123; };
<clever> now foo winds up getting bar123, when it asked for only bar
newhoggy has joined #nixos
<Myrl-saki> clever: I did that yet it still errors about broken package.
<clever> and if you follow the --show-trace output?
<Myrl-saki> while evaluating the attribute ‘propagatedBuildInputs’ of the derivation ‘reflex-dom-0.4’ at /etc/nixos/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:85:11:
<Myrl-saki> clever: webkitgtk is an indirect dependency going straight to hackagelPackages.nix.
<Myrl-saki> If that makes it any different.
<Myrl-saki> clever: Oh wait. That's not exactly what I did. Sorry. Let me change some things.
<clever> 77527 }) {inherit (pkgs.gnome3) webkitgtk;};
<clever> hackage-packages.nix does things like this
newhoggy has quit [(Ping timeout: 246 seconds)]
<Myrl-saki> clever: So... local cabal2nix?
<clever> might help
<Myrl-saki> I'll do your advice first.
FRidh has joined #nixos
<Myrl-saki> Yep. Doing that doesn't typecheck.
<Myrl-saki> I'll just do local cabal2nix.
ShalokShalom_ has joined #nixos
<clever> brb
takle has joined #nixos
ShalokShalom has quit [(Ping timeout: 276 seconds)]
newhoggy has joined #nixos
eacameron has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
eacameron has quit [(Ping timeout: 246 seconds)]
<nixos-users-wiki> "FAQ" edited by yater https://git.io/v7HMM
Turion has joined #nixos
<srhb> Why is it that zpools are often organized as pool/root/rootmount, with pool and root having no mountpoints and rootmount being the third level
<srhb> I mean, couldn't I simply mount poolname as root?
Ivanych has joined #nixos
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
zraexy has quit [(Ping timeout: 240 seconds)]
<ben> I dunno about the third level but the second level makes sense if you wanna rotate between different system roots?
<Myrl-saki> Errr
<Myrl-saki> Does GHC have new error reporting?
<Myrl-saki> I'm getting messages with `no | warning'
newhoggy has joined #nixos
zarel has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
Ivanych has quit [(Ping timeout: 255 seconds)]
<clever> srhb: i just use pool/root pool/nix and pool/home for my systems
newhoggy has joined #nixos
<srhb> clever: Corresponding to /, /nix and /home ?
<clever> yep
<srhb> I did feel like this seemed needlessly complicated
<srhb> I wonder if I can sensible redo it online...
<clever> and i left the pool itself with the default mountpoint, so zfs places it at /pool/
<srhb> Probably shouldn't try :-P
adeohluwa has quit [(Quit: Connection closed for inactivity)]
<srhb> clever: What's the point of that, I wonder?
<clever> i use it for bulk storage of things that dont fall into the other 3 classes
<srhb> Ah.
<clever> but i think its mainly a left-over, from when you dont set the mountpoint
<clever> zfs expects those filesystems to land at /pool/, /pool/nix/, /pool/home/ and /pool/root/
<clever> and it all acts like one big directory
<srhb> Right.
<srhb> But we have to use legacy on NixOS anyway, right?
<clever> legacy is only a requirement for things that stage-1 is mounting
<clever> which would be / and /nix
<clever> but i have ran into problems where zfs doesnt mount other things right on its own sometimes, so it helps to just make everything legacy
<srhb> Yeah, okay. Seems very low maintenance anyway.
newhoggy has quit [(Ping timeout: 246 seconds)]
iyzsong has quit [(Read error: Connection reset by peer)]
iyzsong has joined #nixos
Sonarpulse has quit [(Ping timeout: 246 seconds)]
xd1le has joined #nixos
newhoggy has joined #nixos
ylwghst has joined #nixos
zennist` has joined #nixos
newhoggy has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/v7Hyr
<NixOS_GitHub> nixpkgs/staging 2a8cd14 Frederik Rietdijk: Merge remote-tracking branch 'upstream/master' into HEAD
NixOS_GitHub has left #nixos []
zennist` has quit [(Ping timeout: 255 seconds)]
phdoerfler has joined #nixos
newhoggy has joined #nixos
ylwghst has quit [(Ping timeout: 246 seconds)]
_rvl has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
ShalokShalom_ is now known as ShalokShalom
phreedom has quit [(Ping timeout: 246 seconds)]
Fannar has joined #nixos
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 246 seconds)]
zennist` has joined #nixos
bennofs has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [(Changing host)]
vandenoever has joined #nixos
gnuhurd has joined #nixos
zennist` has quit [(Ping timeout: 260 seconds)]
DutchWolfie has joined #nixos
DutchWolfie has quit [(Changing host)]
DutchWolfie has joined #nixos
thc202 has joined #nixos
ambro718 has joined #nixos
rpifan has quit [(Quit: Leaving)]
Fannar_ has joined #nixos
Fannar_ has quit [(Client Quit)]
Fannar has quit [(Ping timeout: 240 seconds)]
_rvl has quit [(Quit: Leaving)]
zennist` has joined #nixos
<ambro718> How to build just one thing on a different machine? I don't want to mess with automatic remote building.
zennist` has quit [(Ping timeout: 255 seconds)]
gnuhurd has quit [(Remote host closed the connection)]
ambro718 has quit [(Ping timeout: 258 seconds)]
<LnL> the easiest way is probably to copy over the drv with nix-copy-closure and nix-store -r that
<mbrgm> could someone who's on latest nixos-unstable please try to `nix-env -i python3` ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #28227: set-source-date-epoch-to-latest.sh: ignore generated files (master...patch-49) https://git.io/v7HHy
NixOS_GitHub has left #nixos []
xd1le has quit [(Quit: Toodaloo padawans! 👣)]
newhoggy has joined #nixos
xd1le has joined #nixos
roundhouse has joined #nixos
<roundhouse> Hi, I have a systemd script that needs to access the program "openssl". If I add a line to systemd.services.<name>.preStart = "openssl genrsa ..." it complains about not finding openssl, even though it is installed. Any advice?
<Myrl-saki> roundhouse: `${openssl}/bin/openssl`?
<LnL> the paths of systemd services is empty by default
ambro718 has joined #nixos
<roundhouse> LnL: can I modify the path to include the binaries of a certain package?
<LnL> yes systemd.services.<name>.path = [ foo ]; iirc
<LnL> or just use the absolute path like Myrl-saki suggested
hotfuzz has joined #nixos
<roundhouse> Myrl-saki: Thanks, works like charm.
hotfuzz_ has quit [(Ping timeout: 240 seconds)]
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
mpcsh has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
arianvp2 has joined #nixos
<srhb> mbrgm: Looks fine.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to gcc-6: https://git.io/v7HQy
<NixOS_GitHub> nixpkgs/gcc-6 6899c7f Vladimír Čunát: Merge branch 'master' into gcc-6
<NixOS_GitHub> nixpkgs/gcc-6 505e942 Vladimír Čunát: stdenv: resurrect the allowedRequisites check...
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
Jackneilll has joined #nixos
Infinisil has joined #nixos
catch22__ has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
MoreTea has joined #nixos
gnuhurd has joined #nixos
takle has quit [(Remote host closed the connection)]
<MoreTea> hmm, do the one-click-installer links still work?
Kingsquee has joined #nixos
takle has joined #nixos
michaelpj has joined #nixos
<mbrgm> srhb: strange... it's complaining about $out/bin/pip missing for me :-/
<MoreTea> no, found some working links.
<srhb> mbrgm: abdb58e40 ?
<mbrgm> srhb: yup
<srhb> mbrgm: Guess your config broke it then?
<mbrgm> nix-shell -p python3 works though... :-/
newhoggy has quit [(Remote host closed the connection)]
<FRidh> use the attribute, so nix-env -iA python3
<FRidh> ah, that error, yes
<mbrgm> FRidh: same problem
takle has quit [(Ping timeout: 246 seconds)]
<FRidh> yes, I know
<mbrgm> is it a known issue?
<FRidh> yes, fixing it now
<FRidh> forgot about it
<mbrgm> FRidh: could you highlight me with the commit/PR link when done? I'm curious about what's the problem
<mbrgm> thx for taking care of it! :)
<FRidh> mbrgm: python and pip refer to python3 and pip3. At some point I removed ensurepip, but did not remove the symbolic link
ylwghst has joined #nixos
gnuhurd has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] michaelpj opened pull request #28228: Overlays: allow overlays to be specified as a file (master...overlays-file) https://git.io/v7H5s
NixOS_GitHub has left #nixos []
gnuhurd has joined #nixos
<mbrgm> FRidh: I also worked around it by commenting the `ln ...` in the postInstall, but then I was wondering 1) why this problem did not appear earlier, as git-blame showed that --without-ensurepip was added in february and 2) why it works in a nix-shell... you just explained 1), but 2) is confusing to me... :-/
takle has joined #nixos
<FRidh> mbrgm: they all build the derivation, and the resulting derivation works fine. `nix-env` however, seems to follow/validate symbolic links and that's why it errors: the link is broken
<MoreTea> Where would the one-click installer file format be documented?
<MoreTea> I'm expecially curious why both a .drv file and the realized store path are included
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 3 new commits to staging: https://git.io/v7H5g
<NixOS_GitHub> nixpkgs/staging 3b56eda Frederik Rietdijk: python34: remove symlink to pip...
<NixOS_GitHub> nixpkgs/staging 53d2838 Frederik Rietdijk: python35: remove symlink to pip...
<NixOS_GitHub> nixpkgs/staging 748589b Frederik Rietdijk: python36: remove symlink to pip...
NixOS_GitHub has left #nixos []
vvs[m] has left #nixos ["User left"]
<MoreTea> (i'm trying to reverse-engineer from cat $(readlink $(which nix-install-package)) )
mkoenig has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
<Infinisil> Regarding that, why is nix-install-package not available for nix 1.12?
<sphalerite> MoreTea: the readlink there is superfluous ;)
<mbrgm> FRidh: ah, I see. thank you for the explanation!
DutchWolfie has quit [(Quit: Konversation terminated!)]
takle has joined #nixos
b has joined #nixos
b is now known as Guest78574
Wizek_ has joined #nixos
Infinisil has quit [(Ping timeout: 246 seconds)]
Infinisil has joined #nixos
<Infinisil> (my internet is kinda dead)
yegods_ has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
<sphalerite> I'm very confused as to how to use go2nix. Does it work with godeps at all?
joepie91_to_go_ has joined #nixos
<Infinisil> Ah, nix-install-package has been removed.. https://github.com/NixOS/nix/issues/831
ixxie has joined #nixos
eacameron has joined #nixos
<ixxie> how can I find the shell launch command for google-chrome
<Infinisil> ixxie: Binaries are in the packages /bin directory
<Infinisil> But I admittedly don't know how to get the packages directory from just the package name in nixpkgs
<Infinisil> That is from the installed version
<Infinisil> For me it seems to be google-chrome-stable
eacameron has quit [(Ping timeout: 258 seconds)]
<Myrl-saki> Infinisil: I fell asleep just 10 or so minutes after. :P
<Infinisil> Myrl-saki: ;)
<srhb> Infinisil: $(nix-build <nixpkgs> -A package) should give the path :)
<cmcdragonkai> I just found out that the LD_LIBRARY_PATH is not being set within a nix-shell for the C libraries I bring in
<cmcdragonkai> as part of buildInputs
<Infinisil> srhb: But that might build it
<cmcdragonkai> Why do I need to explicitly set LD_LIBRARY_PATH to the libPaths of the runtimeLibs?
<cmcdragonkai> Of the buildInputs I mean
<srhb> Infinisil: Only if it doesn't exist :-P
<Infinisil> srhb: It does build it when you installed it previously, but the channel updated since then
<Myrl-saki> Infinisil: On the other hand, I'm planning to just have a local hackage-packages.nix
<Myrl-saki> Infinisil: Maybe set it to copy stackage.
<srhb> Infinisil: Sure.
<Myrl-saki> NixOS used to have lts*, right? Is the script for generating those available?
<Infinisil> Myrl-saki: there is nix-env -q that lists user installed packages
takle has joined #nixos
<Infinisil> Oh wait, i don't think you mean that, what do you mean by lts*?
<Myrl-saki> Infinisil: http://stackage.org/
<ixxie> Infinisil: thanks :)
<Infinisil> Ahh
<srhb> Myrl-saki: iirc they're deprecated.
<Myrl-saki> srhb: Right.
<srhb> Myrl-saki: The main hackage set should correspond mostly to Stackage... Nightly I think?
<Myrl-saki> srhb: Yep, and I want lts*
* srhb nods
<Myrl-saki> I have way too many overrides I might as well make my own package repo lol
<srhb> Go forth and stackage2nix :-)
<Myrl-saki> Oh cool, there's stack2nix, actually.
<Myrl-saki> Checking what it provides.
<srhb> That's different though
<srhb> That's for generating expressions from stack projects.
<srhb> stackage2nix is basically hackage2nix with the versions taken from stackage, if I recall correctly.
takle has quit [(Ping timeout: 246 seconds)]
<Myrl-saki> srhb: Where's the script? I can't seem to nix-shell to it.
joepie91_to_go_ has quit [(Ping timeout: 258 seconds)]
<Infinisil> srhb: Are you sure that exists? I can't find anything in nixpkgs..
<Infinisil> There is hackage2ni
<Myrl-saki> srhb: Thanks so much omg
<Infinisil> Why is this not in nixpkgs??
<srhb> Infinisil: No one added it?
dpino has quit [(Ping timeout: 240 seconds)]
<Myrl-saki> I just realized something. With stackage2nix, stack shouldn't be that useful, right?
<srhb> Myrl-saki: Correct.
<srhb> Stack is generally not useful on nix.
<Myrl-saki> srhb: I didn't know any other build tools, and Cabal is quite arcane magic to me. :P
<srhb> cabal-install ?
<Myrl-saki> srhb: Yeah.
<Myrl-saki> srhb: It's more of that there are a lot of instructions?
<srhb> Generally you just forget about the stack.yaml and use cabal build, cabal repl
<Myrl-saki> "How to instantiate sandbox..." etc. etc.
<srhb> You won't need sandboxes either in NIx.
<Infinisil> stackage2nix looks pretty dead tbh, does it still work?
<Myrl-saki> Infinisil: There's one way to find out. :P
<srhb> Myrl-saki: So really, you'll only be using configure, build and repl
<srhb> Myrl-saki: And the cabal file you'll already be used to from using Stack.
<Myrl-saki> srhb: Ahh
<Myrl-saki> srhb: What does `configure` do?
<srhb> Find the deps etc.
<srhb> It'll be run by cabal build automatically if needed.
takle has joined #nixos
<srhb> Infinisil: I think the latest iterations live in some branches of cabal2nix
<srhb> bennofs might know
<srhb> peculiar, I just had to build mono to install steam on nixos-unstable
<srhb> And it succeeded.
<srhb> I wonder why it wasn't in the cache.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #28215: dateutils: 0.4.1 -> 0.4.2 (master...update/dateutils-0.4.2) https://git.io/v7Hza
NixOS_GitHub has left #nixos []
takle has quit [(Ping timeout: 240 seconds)]
xd1le has quit [(Quit: Toodaloo padawans! 👣)]
ylwghst has quit [(Quit: Lost terminal)]
<Myrl-saki> srhb: What's the advantage of cabal over pure nix?
<angerman> srhb, Myrl-saki: sadly that still needs some work. Not sure how well it works on Linux though. On macOS there are some rather annoying issues with how cabal2nix works.
<srhb> Myrl-saki: Not using cabal is no fun at all, you'd have to manually string together ghc commands to get libraries etc.
ylwghst has joined #nixos
bennofs has quit [(Ping timeout: 240 seconds)]
<srhb> Myrl-saki: The Nix way is generally considered Nix + cabal-install
<ylwghst> does anyone use tor-browser?
<srhb> angerman: Thanks for the update :)
takle has joined #nixos
<Myrl-saki> srhb: :|
<Myrl-saki> Whoops
<Myrl-saki> Didn't mean to ping.
takle has quit [(Ping timeout: 246 seconds)]
<srhb> Myrl-saki: I don't understand why that's a problem. :) Under the hood, Stack uses Cabal (the library) as well.
<Myrl-saki> srhb: Nono. That's fine. Dun worry.
<srhb> Myrl-saki: cabal-install (the cabal *command*) is just another, (arguably more direct) interface to that
<srhb> :)
<srhb> I would love if Stack supported nix better though (as in, for actual Haskell deps)
<srhb> But I'm not prepared to give up my binary caches :-P
<MoreTea> FRidh: thanks, I tried to click that link in the train over a 4G connection, but it didn't resolve.
<Myrl-saki> srhb: I enjoy seeing the lines scroll when compiling. :D
inflames has quit [(Ping timeout: 240 seconds)]
<MoreTea> sphalerite: I know, wanted to see which package provided nix-install-package.
inflames has joined #nixos
<MoreTea> I'm interested in nix-install-package to have some URL to install a package for my kubernix project
<srhb> Myrl-saki: lens takes so long! :-)
<Myrl-saki> srhb: An excuse for me to do other stuff.
<Myrl-saki> :P
<srhb> Hehe
<Myrl-saki> What reads `libraryHaskellDepends`, mkDerivation or callPackage?
takle has joined #nixos
<LnL> the haskell mkDerivation
<Myrl-saki> Ah, so stdenv is wrong.
Ivanych has joined #nixos
<Infinisil> MoreTea: nix-install-package is not going to be in the next nix version
<LnL> yeah, isn't that deprecated?
Turion has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 276 seconds)]
<Myrl-saki> Yay. That works.
<Myrl-saki> Or not.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jpierre03 opened pull request #28229: alt-ergo: use https instead of http to fetch archive (master...pr-alt-ergo) https://git.io/v7HFA
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v7Hbe
<NixOS_GitHub> nixpkgs/master b9b0049 Peter Hoeg: tboot: 1.8.2 -> 1.9.6
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/v7Hbv
<NixOS_GitHub> nixpkgs/master 35a2687 Tristan Helmich: emby: 3.2.22.0 -> 3.2.26.0
<NixOS_GitHub> nixpkgs/master 48541d4 Joachim F: Merge pull request #28181 from fadenb/emby...
NixOS_GitHub has left #nixos []
takle has joined #nixos
bennofs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] seppeljordan opened pull request #28230: python: Don't link python3 executables if they don't exist (master...fix-python-links) https://git.io/v7HbJ
NixOS_GitHub has left #nixos []
Infinisil has quit [(Read error: Connection reset by peer)]
sellout- has joined #nixos
<Myrl-saki> This is going to sound stupid. How do I have a nix-shell which can only access $out?
takle has quit [(Ping timeout: 276 seconds)]
<ambro718> does someone have suggestions for improving experience on tablets? I got quite a lot to run on ASUS T102HA, however some things need improvement: Touchpad does not work, touchscreen works but Plasma apps don't understand scrolling (it is as if I clicked and dragged when I scroll; Chromium works perfetcly though even does zoom with two finger action), lack of on-screen keyboard (does Plasma have it and I just need to install?)
<ambro718> also cursor moves to finger position when touchign touchscreen... something doesn't understand the touchscreen is a touchscreen?
<ixxie> ambro718: have you fiddled with libinput options: https://nixos.org/nixos/options.html#libinput
<ambro718> I will try thanks
betaboon has joined #nixos
betaboon has quit [(Changing host)]
betaboon has joined #nixos
<Myrl-saki> Gah
<Myrl-saki> How do I run buildPhase etc. under nix-shell?
Turion has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jpierre03 opened pull request #28231: acoustid-fingerprinter: use https to fetch package (master...pr-acoustid-fingerprinter) https://git.io/v7HbE
NixOS_GitHub has left #nixos []
<ylwghst> where are stored C header files?
ixxie has quit [(Quit: Lost terminal)]
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] wizzup opened pull request #28232: automake: 1.15 -> 1.15.1 (master...update-automake) https://git.io/v7Hb5
NixOS_GitHub has left #nixos []
<ambro718> weird, apparently the touchpad is found by kernel and Xorg ("ASUS HID Device ASUS HID Device Touchpad") but it emits no events, even cat on the event node produces nothing
takle has quit [(Ping timeout: 240 seconds)]
takle_ has joined #nixos
takle_ has quit [(Remote host closed the connection)]
takle has joined #nixos
AndreasO has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #28232: automake: 1.15 -> 1.15.1 (master...update-automake) https://git.io/v7Hb5
NixOS_GitHub has left #nixos []
AndreasO has quit [(Remote host closed the connection)]
FRidh has quit [(Quit: Konversation terminated!)]
newhoggy has joined #nixos
metaphysician has quit [(Ping timeout: 248 seconds)]
newhoggy has quit [(Ping timeout: 240 seconds)]
Wizek has joined #nixos
metaphysician has joined #nixos
luigy_ has left #nixos []
Mateon3 has joined #nixos
Mateon2 has quit [(Ping timeout: 260 seconds)]
Mateon3 is now known as Mateon2
<sphalerite> why is docker so horribly broken
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jpierre03 opened pull request #28233: aescrypt: use https to fetch archive (master...pr-aescrypt) https://git.io/v7HNi
NixOS_GitHub has left #nixos []
<tilpner> sphalerite - What about it is broken?
<sphalerite> tilpner: everything. I've got an old debian server that's running a bunch of docker containers and migrating the services to a new nixos server is a pain because docker is so messed up. I can run docker stop <container> for instance, which hangs for a while then returns success, but if I then try to docker rm the container it complains that it's still running
<sphalerite> tilpner: not asking for help, just complaining ;)
roundhouse has quit [(Ping timeout: 240 seconds)]
ylwghst has quit [(Ping timeout: 240 seconds)]
<tilpner> Why would you migrate containers? Just rebuild them on the other side, and transfer volumes, no?
wigust has joined #nixos
<sphalerite> tilpner: I want to move them to nixos services as much as possible
<sphalerite> ambro718: does evtest on the device also not report anything?
<gchristensen> sphalerite: I wasn't planning on being quite as thorough as you are, thank you :o
<sphalerite> haha
<Myrl-saki> When I use nix-shell on haskellPackages' https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/generic-builder.nix , the definition of `configurePhase` and `buildPhase` remains default.
<Myrl-saki> Oh, use `eval "$..."`
<mbrgm> does anyone know how to fix this error when building a nix package: configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
<sphalerite> mbrgm: which apckage?
<mbrgm> sphalerite: I'm trying to package the nemo filemanager... got past it now by executing 'autoreconf -i' in the preconfigurePhase
<sphalerite> mbrgm: rather than adding it like that, add autoreconfHook to buildInputs :)
newhoggy has joined #nixos
<mbrgm> sphalerite: I'll try
<avn> mbrgm: pool autoreconfHook to nativeBuildInputs
<avn> s/pool/put/
<mbrgm> hmm... when manually building this, should it get executed automatically when running `configurePhase` ?
<mbrgm> i.e. nix-shell, `unpackPhase`, ...
<ambro718> sphalerite: actually, evdev (and "cat") *does* report events, I must have used trie wrong device before. Xorg log seems normal: http://ideone.com/n8aseD
<fpletz> mbrgm: autoreconfHook adds a new phase: autoreconfPhase
<sphalerite> oh yes, sorry, nativeBuildInputs not buildInputs
<ambro718> I see EV_ABS and other events which look reasonable --> why would it not work then?
<sphalerite> ambro718: that's good to know. Do you know which Xorg input driver you're using for it?
<ambro718> sphalerite: the Xorg log I pasted says evdev
newhoggy has quit [(Ping timeout: 240 seconds)]
<ambro718> it even says "configuring as touchpad"
<mbrgm> fpletz: ty!
<sphalerite> ambro718: can you paste any xserver-related parts of your config somewhere?
aliqua has joined #nixos
<ambro718> sphalerite: http://ideone.com/MkWNOw
<ambro718> nothing that would affect this touchpad
<pmeunier> Hi! I'm having problems with nixops on google compute engine. The deployment starts ok, but ends with the ExecStart for "google-instance-setup.service" is not found. Any clue?d
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
<pmeunier> (the machine is up and working, btw, but nixops is reporting "unable to activate new configuration")
<sphalerite> ambro718: Does setting services.xserver.libinput.enable = true; help?
newhoggy has joined #nixos
yegortimoshenko has joined #nixos
goibhniu has joined #nixos
<yegortimoshenko> when i change services.xserver.deviceSection, or any serivec.xserver.*section for that matter, i don't see any x11 configs getting rebuilt on `nixos-rebuild switch`. i also am pretty sure that my config is getting ignored. has anyone had this issue?
<yegortimoshenko> s/serivec/services/
betaboon has quit [(Quit: This computer has gone to sleep)]
takle has quit [(Ping timeout: 255 seconds)]
newhoggy has quit [(Ping timeout: 255 seconds)]
Guest78574 has quit [(Quit: Page closed)]
iyzsong has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
Infinisil has joined #nixos
ylwghst has joined #nixos
garbas has joined #nixos
simukis_ has quit [(Quit: simukis_)]
newhoggy has joined #nixos
simukis_ has joined #nixos
betaboon has joined #nixos
betaboon has quit [(Changing host)]
betaboon has joined #nixos
<ambro718> sphalerite: yes that fixed it, thanks! seems to work all right including scrolling
<ambro718> now, why is that not the default...
<sphalerite> great
<sphalerite> because whether it works varies between hardware
<ambro718> there are quite some configs like that that I need to get in the habit of enabling else random things don't work
newhoggy has quit [(Ping timeout: 246 seconds)]
<ambro718> pulseaudio is another, else audio doesn't work
yegortimoshenko has quit [(Ping timeout: 246 seconds)]
ShalokShalom has quit [(Remote host closed the connection)]
Turion has quit [(Ping timeout: 255 seconds)]
yegortimoshenko has joined #nixos
<betaboon> can anyone help with python-packages in overlays ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to staging: https://git.io/v7HpG
<NixOS_GitHub> nixpkgs/staging 36f6e4c mimadrid: sqlite: 3.19.3 -> 3.20.0
<NixOS_GitHub> nixpkgs/staging d64621f Vladimír Čunát: Merge #27910: sqlite: 3.19.3 -> 3.20.0
NixOS_GitHub has left #nixos []
<srhb> betaboon: More specifically?
<betaboon> i am struggeling with a service i wrote, that is using packages and dependencies from an overlay. the current problem is what seems like a pyhon3 package pulling in a python2-setuptools. a more detailed writeup is here: https://gist.github.com/betaboon/a4212f102d5238155825dd160473410a
tmaekawa has quit [(Remote host closed the connection)]
tmaekawa has joined #nixos
takle has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/ef026e02fc (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to staging: https://git.io/v7HpS
<NixOS_GitHub> nixpkgs/staging f21cd84 Vladimír Čunát: mesa: maintenance 17.1.5 -> 17.1.6
<NixOS_GitHub> nixpkgs/staging ebafe1d Vladimír Čunát: libdrm: 2.4.81 -> 2.4.82
NixOS_GitHub has left #nixos []
yegortimoshenko has quit [(Read error: Connection reset by peer)]
tmaekawa has quit [(Ping timeout: 255 seconds)]
takle has quit [(Ping timeout: 276 seconds)]
newhoggy has joined #nixos
takle has joined #nixos
roundhouse has joined #nixos
ebzzry has joined #nixos
<Myrl-saki> Well
<Myrl-saki> Using nix-build alone is too slow for me.
<Infinisil> Myrl-saki: Use nix-shell for development
newhoggy has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 246 seconds)]
<Myrl-saki> Infinisil: Right.
newhoggy has joined #nixos
<Myrl-saki> Infinisil: But $out is read-only
<betaboon> srhb: any idea ?
ebzzry_ has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
ebzzry__ has joined #nixos
<Infinisil> Myrl-saki: I actually haven't ever developed with nix-shell
ebzzry has quit [(Ping timeout: 240 seconds)]
Mateon2 has quit [(Remote host closed the connection)]
<Infinisil> But you shouldn't really need to install it anyways
<Infinisil> As with development on other distros, nobody installs programs while developing them, it's always being tested in a `build` directory or so
<felipedvorak> I've been experiencing a funny problem. I'm running nix under Arch, but please bear with me. nix works just fine if I open up a terminal with Zsh, but as soon as I launch tmux, the zsh instance can't see the nix path _until_ I launch zsh manually from within the instance that cant see it, then it can!
newhoggy has joined #nixos
<felipedvorak> Tried searching and asking on Arch but nothing.
ebzzry_ has quit [(Ping timeout: 258 seconds)]
<felipedvorak> Maybe my next stop will be #tmux.
<Infinisil> Myrl-saki: Probably I should've mentioned this: With your CellGame, you should really separate build and installing, you currently build directly into $out
<Infinisil> felipedvorak: The nix path gets probably set from your .zshrc or .zshenv
<felipedvorak> Infinisil: .zshenv
<Infinisil> felipedvorak: Yeah, that means only processes started from zsh will have that set
<felipedvorak> But I do start tmux from zsh
tmaekawa has joined #nixos
<Infinisil> huh
<felipedvorak> This is what I don't understand.
<Myrl-saki> Infinisil: Ah, I changed the build system a bit.
<Myrl-saki> Infinisil: I should really stop the habit of "comment in case I need for later" lmao
<felipedvorak> Infinisil: Maybe nix requires a specific umask? I use 077 because paranoia. Maybe that is what is affecting it?
<Infinisil> felipedvorak: Hmm, is tmux launching zsh by default?
newhoggy has quit [(Ping timeout: 240 seconds)]
<felipedvorak> Infinisil: Yes
<Infinisil> Myrl-saki: I think that's what git is for :P
<felipedvorak> And the zsh it launches is the blind one
avn has quit [(Quit: Lost terminal)]
<Myrl-saki> Infinisil: Exactly why I need to stop that habit. :P
<Myrl-saki> Infinisil: The more I use it, the less I use git too.
ebzzry__ has quit [(Ping timeout: 246 seconds)]
<Infinisil> felipedvorak: You could have a look at htop, you can check the env vars, process tree, whihc command got run for which process
<Infinisil> with htop, can recommend
<felipedvorak> hmm
<Infinisil> Within htop: "t" to toggle process tree, "e" to see the env vars of a process, under nix "p" is very helpful to not display the long /nix/store paths
newhoggy has joined #nixos
<felipedvorak> I can find terminal>zsh>tmux a
<felipedvorak> But down there, there is tmux>zsh
<felipedvorak> So maybe this is because Systemd
<Infinisil> Maybe
<felipedvorak> Infinisil: wow, thanks for the tip, that env list was new to me but quite useful
<Infinisil> felipedvorak: Do you have `export NIX_PATH=...` or just `NIX_PATH=...` in your .zshenv?
<felipedvorak> and to my surprise, the tmux that launches zsh DOES include the path containing nix
<Infinisil> But zsh then doesn't anymore?
<felipedvorak> [ -e ~/.nix-profile/etc/profile.d/nix.sh ] && source ~/.nix-profile/etc/profile.d/nix.sh
newhoggy has quit [(Ping timeout: 240 seconds)]
apeyroux_ has joined #nixos
<Infinisil> Hmm right
ison111 has quit [(Ping timeout: 246 seconds)]
tmaekawa has quit [(Ping timeout: 248 seconds)]
<Infinisil> So the tmux process directly under systemd does have NIX_PATH set correctly but the forked zsh from that doesn't?
<felipedvorak> Infinisil: the bizarre... all zsh from tmux where I cant access nix commands _DO_ have the correct path
<felipedvorak> They both have!
<sphalerite> also useful for htop: this patch https://github.com/lheckemann/dotfiles/blob/master/htop-stripstore.patch to replace store paths with "$" — makes it a lot more readable
<Infinisil> felipedvorak: What is the error?
<felipedvorak> /o\
<Infinisil> sphalerite: Pressing "p" does work on the executables name, strips all but the filename
<sphalerite> Infinisil: but not other store paths in the cmdline
<felipedvorak> Infinisil: The Zsh instance under Tmux that "can't" see nix _does_ have nix in the $PATH.
<Infinisil> sphalerite: Yeah, but I sometimes like that, it's possible to find used config files like that
<sphalerite> and just p doesn't seem to be working for all the processes
<Infinisil> felipedvorak: What means "can't" see nix?
ebzzry has joined #nixos
<Infinisil> sphalerite: Which ones don't for you?
<felipedvorak> Commands arent available
<sphalerite> although that might be my patch's fault x)
apeyroux has quit [(Quit: Lost terminal)]
newhoggy has joined #nixos
apeyroux_ has quit [(Client Quit)]
<Infinisil> felipedvorak: Ah, so your $PATH must be wrong then
<Infinisil> ah
apeyroux has joined #nixos
<Infinisil> Is $PATH correct under these processes? Is there some .nix-profile thing in there?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 3 new commits to master: https://git.io/v7HjH
<NixOS_GitHub> nixpkgs/master beec141 Peter Hoeg: ddclient: assign group for ddclient
<NixOS_GitHub> nixpkgs/master d4f4f41 Peter Hoeg: ddclient: minor packaging cleanups
<NixOS_GitHub> nixpkgs/master 4ce76d9 Peter Hoeg: ddclient nixos module: follow best practice for running daemons...
NixOS_GitHub has left #nixos []
<Infinisil> /home/user/.nix-profile/bin has to be in $PATH to run the nix commands
<felipedvorak> PATH=/home/baika/.nix-profile/bin:/home/baika/.nix-profile/sbin:/usr/local/sbin:/usr/local/bin:/...
<Infinisil> felipedvorak: Okay, do you have `nix-env`, etc. in one of these dirs? What does `which nix-env` say?
<felipedvorak> I do, if I just open a terminal and use nix it works just fine..
<felipedvorak> but if I open tmux from that very terminal, the zsh inside cant see the commands
<felipedvorak> even though it DOES have the PATH
<Infinisil> `which nix-env`?
<felipedvorak> nix-env not found
<Infinisil> W e i r d
newhoggy has quit [(Ping timeout: 248 seconds)]
<bennofs> felipedvorak: isn't tmux client-server based?
ebzzry has quit [(Read error: Connection reset by peer)]
<bennofs> felipedvorak: perhaps the server uses a different PATH?
ebzzry has joined #nixos
ison111 has joined #nixos
<felipedvorak> bennofs: I have just looked at the ENV VARS for the server and they _do_ include the correct PATH.
nwuensche has joined #nixos
<felipedvorak> Damn, I just launched a new Tmux window, "which nix-env" there returns "nix-env not found" and looking at the ENV VARS for that very instance it DOES include the nix path.
<felipedvorak> I'm lost.
<Infinisil> That does sound very strange indeed
<Infinisil> Are all nix installed programs unavailable?
roundhouse has quit [(Ping timeout: 260 seconds)]
<felipedvorak> AND, to make things even worse, from inside the blind Zsh, if I run zsh, the new zsh _CAN_ see nix just fine.
<felipedvorak> Infinisil: all
<Infinisil> but arch installed stuff works?
<felipedvorak> Yep
<Infinisil> felipedvorak: What happens when you set PATH exclicitly to the correct thing in the non-working shell?
<felipedvorak> wait
<Infinisil> Might be worth a try (although I have no idea how that would solve it)
<Infinisil> btw, there is also the `env` command that prints the environment
<felipedvorak> It works
<felipedvorak> echo $PATH there shows a PATH without nix
<felipedvorak> if I export the correct PATH it works
<Infinisil> hwhat
newhoggy has joined #nixos
ebzzry_ has joined #nixos
<ambro718> what do I need to do to enter kernel menuconfig? I am getting an error about missing ncurses.
<felipedvorak> hmmm
<Infinisil> echo $PATH does not have the nix dirs? without manually changing it then? felipedvorak
phinxy has joined #nixos
<felipedvorak> If I open a new blind shell and do $ env | grep PATH it shows me a PATH without nix but it DOES include a NIX_PATH set
<Infinisil> ambro718: Maybe nix-env -iA nixos.ncurses works
<felipedvorak> Infinisil: exactly.
<Infinisil> felipedvorak: Ah, well NIX_PATH is something different, unrelated
<felipedvorak> Ok
<Infinisil> has nothing to do with where binaries are looked up
<ambro718> Infinisil: well nix-shell -p ncurses does not so that probably doesn't as well (don't wanna dirty my environment...)
ebzzry has quit [(Ping timeout: 246 seconds)]
<Infinisil> felipedvorak: Throw an `echo hi` in .zshenv /.zshrc and see if that gets executed when starting tmu
<Infinisil> x
<Infinisil> ambro718: What kernel menuconfig are you talking about?
<ambro718> Infinisil: enter kernel source and do "make menuconfig"
newhoggy has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ehmry pushed 1 new commit to master: https://git.io/v7QeE
<NixOS_GitHub> nixpkgs/master 3fde711 Jean-Pierre PRUNARET: acoustid-fingerprinter: use https to fetch package
NixOS_GitHub has left #nixos []
<Infinisil> ambro718: Soo, you're using nix-shell -A <kernel> or smth like that?
<felipedvorak> Infinisil: it does
fakenullie has joined #nixos
<ambro718> nix-shell -p ncurses
<Infinisil> felipedvorak: How about an `echo $PATH` before the sourcing of nix stuff, and again after that
avn has joined #nixos
<felipedvorak> Infinisil: the bizarre happens.. BOTH include the nix path but it still CANT see nix at all
<ambro718> Infinisil: figured it out, added pkgconfig as well
<Infinisil> ambro718: You're trying to compile the kernel without using nixpkgs?
<ambro718> Infinisil: no I'm trying to enable some options
<ambro718> since using menuconfig is much more productive if you don't know exactly what you need to enable
<Infinisil> felipedvorak: And echo $PATH does not? Damn
<felipedvorak> yes..
<felipedvorak> this has been haunting me for months
newhoggy has joined #nixos
<bennofs> felipedvorak: i think nix's profile scripts have a check to prevent them from being sourced twice
<bennofs> felipedvorak: look at env and check for var names with two underscores
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] avnik opened pull request #28236: wineUnstable: 2.13 -> 2.14 (master...wine-update) https://git.io/v7Qe1
NixOS_GitHub has left #nixos []
<bennofs> felipedvorak: oh, if [ -n "$HOME" ] && [ -n "$USER" ]; the
<bennofs> felipedvorak: is either of these unset when you source nix.sh ?
nwuensche has quit [(Quit: Leaving)]
ebzzry_ has quit [(Remote host closed the connection)]
ebzzry has joined #nixos
<Infinisil> bennofs: I mean, he said the nix paths are included in $PATH after nix.sh is sourced
<bennofs> oh hmm well right
<bennofs> perhaps something later in your init sequence overrides $PATH?
<felipedvorak> bennofs: both appear to be set correctly
<bennofs> for example, /etc/profile has:
<bennofs> PATH="/usr/local/sbin:/usr/local/bin:/usr/bin"
<bennofs> export PATH
newhoggy has quit [(Ping timeout: 240 seconds)]
<felipedvorak> hmm
<felipedvorak> bennofs: /etc/profile does contain those lines
fakenullie has left #nixos ["WeeChat 1.5"]
<Infinisil> felipedvorak: Ohh, try making tmux execute `zsh -x`
<Infinisil> It shows what is being executed
ebzzry has quit [(Ping timeout: 246 seconds)]
<felipedvorak> So it is called AFTER .zshenv?
ebzzry has joined #nixos
<Infinisil> Seems like it, i mean it has to be changed somehow
<ambro718> my laptop/tablet suspends fine but the only way to wake it up is to press something on the keyboard, except if I detach and reattach the keyboard then nothing will wake it up
newhoggy has joined #nixos
<ambro718> power button and volume buttons are only keys on the tablet itself and neither wake it up
felipedvorak has quit [(Ping timeout: 246 seconds)]
<ylwghst> Infinisil: do you know how can i provide correct to C headers and whre they are while ./configure sources?
<ylwghst> path
<Infinisil> ambro718: I only know that this is being managed with systemd, via the suspend target
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 5 new commits to staging: https://git.io/v7Qv3
<NixOS_GitHub> nixpkgs/staging 1784840 Vladimír Čunát: dbus: maintenance 1.10.20 -> 1.10.22
<NixOS_GitHub> nixpkgs/staging b53d4c6 Vladimír Čunát: gdk-pixbuf: maintenance 2.36.6 -> 2.36.8
<NixOS_GitHub> nixpkgs/staging bbdb8f5 Vladimír Čunát: gkt3: maintenance 3.22.16 -> 3.22.18
NixOS_GitHub has left #nixos []
<Infinisil> ylwghst: Not sure, but there are some `NIX_...` env vars, that I believe might have what you need
Mateon3 has joined #nixos
<Infinisil> ylwghst: env | grep NIX
newhoggy has quit [(Ping timeout: 246 seconds)]
ebzzry has quit [(Ping timeout: 258 seconds)]
ebzzry has joined #nixos
<ylwghst> nothing about gcc in < env
<mbrgm> is there a way to specify the `make` targets to build without setting the whole `buildPhase` ?
<LnL> you can use makeFlags
<ylwghst> I do actually think they are in tgmath.h
<ylwghst> /nix/store/2m6v6lnmnf9521ixd5v0x4qrmjkn30ws-gcc-5.4.0/lib/gcc/x86_64-unknown-linux-gnu/5.4.0/../../../../include/c++/5.4.0/
<mbrgm> LnL: ty
<ylwghst> but without luck checking for libevent directory... configure: WARNING: We found the libraries for libevent, but we could not find the C header files. You may need to install a devel package.
<ylwghst> configure: error: Missing headers; unable to proceed.
<catern> is there a way to reimplement the functionality of Nix path literals, on path strings? specifically I want to hash and copy something into the store at evaluation time
<catern> but I want to be able to selectively filter what I copy
<LnL> ylwghst: nix automatically configures the search paths for you, you can see the full list of arguments that are passed to gcc with NIX_DEBUG = 1;
<catern> so I need something more customizable than path literals
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] avnik opened pull request #28237: qt5: Fallback to mktemp -d for temporary QT root. (staging...qt5-mktemp) https://git.io/v7Qv6
NixOS_GitHub has left #nixos []
felipedvorak has joined #nixos
<Infinisil> ylwghst: And I think nix uses `CC` vars to specify general C compiler stuff, so it's not tied to GCC
<Infinisil> catern: builtins.filterSource?
<catern> Infinisil: yes, but I want to do it *before* the path is copied in to the store
<Infinisil> catern: That's what it does
<catern> Infinisil: with builtins.filterSource I have two copies of the sources in the store, right?
<catern> one filtered and one unfiltered
<Infinisil> catern: Nope
<catern> woah
<Infinisil> I'm pretty sure it filters it before coping it
<catern> okay, so it does evaluation magic I guess?
<Infinisil> That's why a builtin is needed
<catern> ah
<catern> I see
<catern> perfect!
<Infinisil> :)
<catern> thanks :)
newhoggy has quit [(Ping timeout: 255 seconds)]
eacameron has joined #nixos
<ylwghst> LnL: I can't proceed
<felipedvorak> Damn, I was disconnected.
<felipedvorak> Anything that I may have missed?
<Infinisil> felipedvorak: Nope :P
<felipedvorak> Infinisil: thanks
<Infinisil> Well there were some messages, but nothing for your problem
<felipedvorak> ok
<Infinisil> felipedvorak: You could also ask in #tmux and #linux
<felipedvorak> Yeah, I'll do that.
<felipedvorak> Thanks for the attention.
<Infinisil> felipedvorak: Np ;)
newhoggy has joined #nixos
<yorick> shlevy: what's your full fwupd nix config?
<yorick> making a module would be a good idea I think
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nbp pushed 2 new commits to master: https://git.io/v7Qfe
<NixOS_GitHub> nixpkgs/master d60b288 Michael Peyton Jones: Nixpkgs manual: expand documentation for overlays
<NixOS_GitHub> nixpkgs/master 5bc183e Michael Peyton Jones: Overlays: fix some documentation nits
NixOS_GitHub has left #nixos []
eacameron has quit [(Ping timeout: 246 seconds)]
newhoggy has quit [(Ping timeout: 248 seconds)]
<catern> Infinisil: argh argh :(
<catern> Infinisil: filterSource only works on top-level things!
HTTP_____GK1wmSU has joined #nixos
HTTP_____GK1wmSU has left #nixos []
newhoggy has joined #nixos
Ivanych has quit [(Ping timeout: 248 seconds)]
Ivanych has joined #nixos
<Infinisil> catern: What do you mean by top-level things?
simukis_ has quit [(Quit: simukis_)]
newhoggy has quit [(Ping timeout: 246 seconds)]
simukis_ has joined #nixos
<catern> Infinisil: files and directories directly under the path
<catern> it doesn't recurse down to all the files and directories under the path, only the top
<Infinisil> catern: What are you trying to do exactly?
simukis_ has quit [(Client Quit)]
simukis_ has joined #nixos
<catern> copy sources into the store, without .git or built artifacts in those sources
tmaekawa has joined #nixos
ebzzry_ has joined #nixos
<catern> wait, so, is it not just the top? the manual suggests it is...
* catern tests
<Infinisil> I'd think it's not, but I admittedly haven't tested it
taeradan has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
ylwghst has quit [(Ping timeout: 248 seconds)]
<Infinisil> It's in the docs: https://nixos.org/nix/manual/#ssec-builtins
Turion has joined #nixos
ebzzry has quit [(Ping timeout: 255 seconds)]
<catern> right
<catern> hmm, it does say "tree"
<catern> I was reading that as "directory"
<Infinisil> catern: You can use builtins.trace to figure out what it actually does
<catern> ah, it really does walk the whole tree
<catern> okay, it works for me :)
<catern> thanks again
newhoggy has quit [(Ping timeout: 240 seconds)]
<Infinisil> catern: You could alse use builtins.readDir and the others if you need
<Infinisil> catern: Np ;)
tmaekawa has quit [(Ping timeout: 255 seconds)]
newhoggy has joined #nixos
gnuhurd has quit [(Remote host closed the connection)]
Ivanych has quit [(Quit: Leaving.)]
tmaekawa has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #28238: Far2l 2017 07 13 (master...far2l-2017-07-13) https://git.io/v7QJM
NixOS_GitHub has left #nixos []
Ivanych has joined #nixos
ebzzry_ has quit [(Ping timeout: 240 seconds)]
ylwghst has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
newhoggy has joined #nixos
rtj has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
zraexy has joined #nixos
sary has quit [(Ping timeout: 246 seconds)]
phdoerfler has quit [(Quit: Leaving.)]
sary has joined #nixos
inflames has quit [(Ping timeout: 246 seconds)]
newhoggy has joined #nixos
ShalokShalom has joined #nixos
rcschm has quit [()]
taeradan has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
Infinisil has quit [(Quit: studying for tomorrows exam..)]
newhoggy has joined #nixos
cathod has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
<cathod> hey, I downloaded a binary I can't execute because of "/bin/bash: bad interpreter: No such file or directory", do you know how I can patch it?
ison111 has quit [(Ping timeout: 276 seconds)]
bgamari has quit [(Ping timeout: 240 seconds)]
<tilpner> cathod - Sounds like you downloaded a script. If the first line of that file looks like #!/bin/bash, you can simply replace it with #!/usr/bin/env bash
HTTP_____GK1wmSU has joined #nixos
rtj has quit [(K-Lined)]
HTTP_____GK1wmSU has quit [(K-Lined)]
bgamari has joined #nixos
newhoggy has joined #nixos
<cathod> tilpner: exactly, i should have check! thanks
ylwghst has quit [(Quit: Lost terminal)]
newhoggy has quit [(Ping timeout: 276 seconds)]
<betaboon> I finaly got nixpkgs-overlays working correctly with python2 and python3 packages, thank whoever-had-a-say-in-this ...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/v7QkB
<NixOS_GitHub> nixpkgs/master 206faac Daiderd Jordan: gcc: fix clang build...
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] michaelpj opened pull request #28240: Nixpkgs config: NIXPKGS_CONFIG -> <nixpkgs-config> (master...nixpkgs-config) https://git.io/v7QII
NixOS_GitHub has left #nixos []
newhoggy has quit [(Ping timeout: 240 seconds)]
aristid has quit [(Ping timeout: 240 seconds)]
bgamari has quit [(Ping timeout: 246 seconds)]
aristid has joined #nixos
newhoggy has joined #nixos
gnuhurd has joined #nixos
Jackneillll has joined #nixos
endformationage has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
Jackneilll has quit [(Ping timeout: 240 seconds)]
gnuhurd has quit [(Ping timeout: 240 seconds)]
cathod has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
ixxie has joined #nixos
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] benley opened pull request #28241: kubernetes-helm: 2.5.0 -> 2.5.1 (master...helm-2.5.1) https://git.io/v7QIh
NixOS_GitHub has left #nixos []
newhoggy has quit [(Ping timeout: 246 seconds)]
FRidh has joined #nixos
gnuhurd has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/v7QLY
<NixOS_GitHub> nixpkgs/master 7ebcd39 Frederik Rietdijk: Merge commit '4c49205' into HEAD
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #27806: Kdeconnect: add sshfs dependency and provide NixOS module (master...kdeconnect_fixes) https://git.io/v74BB
NixOS_GitHub has left #nixos []
bgamari has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #28230: python: Don't link python3 executables if they don't exist (master...fix-python-links) https://git.io/v7HbJ
NixOS_GitHub has left #nixos []
rpifan has joined #nixos
<ixxie> gchristensen: fixed what you asked, and ported pill 6 to boot ;)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #28233: aescrypt: use https to fetch archive (master...pr-aescrypt) https://git.io/v7HNi
NixOS_GitHub has left #nixos []
newhoggy has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh force-pushed python-wip from beba8e9 to 38ea988: https://git.io/vzaOS
<NixOS_GitHub> nixpkgs/python-wip 38ea988 Johannes Frankenau: pythonPackages.lxml: 3.7.2 -> 3.8.0
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
simukis_ has quit [(Quit: simukis_)]
eacameron has joined #nixos
takle has quit [(Remote host closed the connection)]
newhoggy has quit [(Ping timeout: 255 seconds)]
takle has joined #nixos
simukis_ has joined #nixos
eacameron has quit [(Ping timeout: 276 seconds)]
joepie91_to_go_ has joined #nixos
rpifan has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #28242: clipster: 1.0.1 -> 1.2.5 (master...clipster) https://git.io/v7Qt3
NixOS_GitHub has left #nixos []
<gnuhurd> god dammit, why is compiling anything on nixos so hard
takle has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
eacameron has joined #nixos
sigmundv__ has joined #nixos
joepie91_to_go_ has quit [(Ping timeout: 240 seconds)]
Piece_Maker has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
yegods_ has quit [(Remote host closed the connection)]
yegods has joined #nixos
Acou_Bass has quit [(Ping timeout: 248 seconds)]
Piece_Maker is now known as Acou_Bass
<obadz> gnuhurd: it's easier than anywhere else, if you care to ever rebuild it again…
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v7Qt7
<NixOS_GitHub> nixpkgs/master 2d5a04e Franz Pletz: nixos/agetty: override upstream default...
NixOS_GitHub has left #nixos []
hotfuzz_ has joined #nixos
yegods has quit [(Ping timeout: 246 seconds)]
yegods has joined #nixos
hotfuzz has quit [(Ping timeout: 246 seconds)]
yegods_ has joined #nixos
bgamari has quit [(Ping timeout: 260 seconds)]
Myrl-saki has quit [(Ping timeout: 240 seconds)]
yegods has quit [(Ping timeout: 246 seconds)]
eacameron has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
alain[m]1 has left #nixos ["User left"]
bennofs has quit [(Ping timeout: 246 seconds)]
<catern> is there a way to reliably detect from my build script if I am inside a Nix build? both from nix-build or from nix-shell
<FRidh> catern: $IN_NIX_SHELL
<catern> FRidh: is that also set during nix-builds?
eacamero_ has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5bc183ebf8 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
betaboon has quit [(Quit: This computer has gone to sleep)]
betaboon has joined #nixos
<betaboon> FRidh: i just solved my overlays+python2+python3 problem :)
<FRidh> catern: $ nix-build -E 'with import <nixpkgs>{}; stdenv.mkDerivation { name = "foo"; unpackPhase = ":"; buildPhase = "env | grep NIX "; }'
<FRidh> betaboon: great!
bgamari has joined #nixos
<FRidh> by the way, I replied on your gist.
newhoggy has joined #nixos
eacamero_ has quit [(Ping timeout: 240 seconds)]
<betaboon> ah, i didnt notice. thanks.
<catern> FRidh: eh? I mean, I can see it is not set during nix-builds, so that doesn't work for me :)
<betaboon> turned out i had to explicitly pass pythonPackages to callPackage for the python3 packages, like so: https://github.com/betaboon/nixcfg/blob/master/packages/top-level/python-packages.nix
<FRidh> betaboon: but why are you calling all those packages?
<FRidh> are you using your own definitions?
<catern> what about NIX_BUILD_TOP?
<catern> is it reasonable to use that to determine whether I am inside Nix?
<betaboon> FRidh: the packages/top-level is my own directory, not nixpkgs/pkgs/top-level. I just tried to emulate the structure of nixpkgs.
<FRidh> I would imagine that to be one of the more "reliable" env vars to use yes
<FRidh> betaboon: okay
<FRidh> you could make it a list of names and then map the callPackage function ;)
<betaboon> is there a more elegant solution for the 'inherit pythonPackages' for every callPackage-call in that file ?
<FRidh> It depends when/how callPackage is defined.
newhoggy has quit [(Ping timeout: 240 seconds)]
<FRidh> if you use a python overlay, and then self.callPackage where self is the self from the Python package set, then, if your packages have parameters for each package and such, it would automatically fill it.
newhoggy has joined #nixos
Mlkmt has joined #nixos
<FRidh> catern: you could of course also export an env var yourself in your nix-build
<Mlkmt> Hi, I'm trying to install nixos on a laptop with emmc, and uefi, I managed to install, but I'm stuck at first boot
<Mlkmt> It seems that at stage 1 it tries to read the rpbm and that timeouts
<Mlkmt> And makes the whole disk unavailable
yegods has joined #nixos
<Mlkmt> I'll take a screenshot of the logs
newhoggy has quit [(Ping timeout: 246 seconds)]
yegods_ has quit [(Ping timeout: 246 seconds)]
<gchristensen> ixxie: awesome! today has turned in to a busy day, but I'm going to try and review when I can.
<betaboon> FRidh i don't hink i completly understand. could you elaborate some more ?
newhoggy has joined #nixos
<FRidh> betaboon: your package expressions are function that have `pythonPackages` as parameter. If you would instead put the individual dependencies as parameters, then self.callPackage will fill the arguments
bgamari has quit [(Ping timeout: 246 seconds)]
<betaboon> the overlay-self, not the python-override-self, right ?
<Mlkmt> Any ideas? Maybe there's an option to tell boot stage 1 to ignore the rpbm partition (?)
<Mlkmt> I had previously installed ubuntu on this laptop and could boot
newhoggy has quit [(Ping timeout: 246 seconds)]
simukis_ has quit [(Quit: simukis_)]
simukis_ has joined #nixos
Mlkmt has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
Mlkmt has joined #nixos
simukis_ has quit [(Client Quit)]
eacameron has joined #nixos
simukis_ has joined #nixos
<tilpner> Mlkmt - What does your hardware-configuration.nix look like?
tokudan has joined #nixos
eacameron has quit [(Remote host closed the connection)]
newhoggy has quit [(Ping timeout: 248 seconds)]
phinxy has quit [(Read error: Connection reset by peer)]
phinxy has joined #nixos
Mlkmt has quit [(Ping timeout: 260 seconds)]
phinxy has quit [(Max SendQ exceeded)]
phinxy has joined #nixos
<FRidh> betaboon: the python-override-self
<FRidh> as that one knows about the python attributes
newhoggy has joined #nixos
<betaboon> that one claims to not have a callPackage oO
bgamari has joined #nixos
<FRidh> oh, super.callPackage, sorry
<betaboon> hm same
Mlkmt has joined #nixos
ShalokShalom has quit [(Quit: No Ping reply in 180 seconds.)]
<tilpner> Mlkmt - What does your hardware-configuration.nix look like?
<betaboon> FRidh: this is my starting point: https://github.com/betaboon/nixcfg/blob/master/packages/overlay.nix#L7 i changed to "inherit (python-super) callPackage;"
ylwghst has joined #nixos
newhoggy has quit [(Ping timeout: 248 seconds)]
ShalokShalom has joined #nixos
<FRidh> betaboon: its really confusing you shadow the names from nixpkgs
<betaboon> I'm sorry xD
<ylwghst> Systemd.services here i can define own service?
<FRidh> betaboon: change your python-packages.nix to `self: super: { aniso8601 = ..... } `
<tilpner> Mlkmt - I was hoping it would mention the UUID from the screenshot :/
<FRidh> betaboon: so remove { callPackage, pythonPackages }: rec
newhoggy has joined #nixos
<FRidh> and remove lines 7 and 8 from overlay.nix
<FRidh> as well as python-self: python-super:
simukis_ has quit [(Remote host closed the connection)]
<Mlkmt> that's weird
<Mlkmt> I'll reinstall with this hardware-configuration
ison111 has joined #nixos
<gnuhurd> if I build something using nix-build, and I have a result directory, if I delete it will it delete the store path as well?
<ixxie> gchristensen: figured as much :) I am just happy you started the effort in the first place. Let me know if I can do anything else; I'll check in a week and if there are still some pills missing I can give a hand again ^^
<Mlkmt> mmm, this is even weirder tilpner
<Mlkmt> findfs uuid=70ebcd7f-6653-49f6-83a0-304931d08bde findfs: unable to resolve 'uuid=70ebcd7f-6653-49f6-83a0-304931d08bde'
newhoggy has quit [(Ping timeout: 240 seconds)]
<Mlkmt> sorry, ignore that
<Mlkmt> it was UUID=
<tilpner> Mlkmt - I hardly know anything about emmc. Is there a reason it would repartition itself? Did you repartition it? Any other reason UUIDs might change?
<tilpner> Alternatively, mount it by label instead of UUID
Infinisil has joined #nixos
<Mlkmt> I did mount it by label
<Mlkmt> it's weird... maybe it's something gummiboot does?
<Mlkmt> I had ignored the uuid
Lisanna has joined #nixos
<Mlkmt> I'll change the hardware config to point device to by-labe
<Mlkmt> l
bennofs has joined #nixos
Lisanna has quit [(Client Quit)]
newhoggy has joined #nixos
Lisanna has joined #nixos
yegods has quit [(Ping timeout: 246 seconds)]
yegods has joined #nixos
phinxy has quit [(Read error: Connection reset by peer)]
Mlkmt has quit [(Ping timeout: 260 seconds)]
phinxy has joined #nixos
<ylwghst> is there any alternative or alternative client to evernote in nixpkgs?
newhoggy has quit [(Ping timeout: 258 seconds)]
Mlkmt has joined #nixos
phinxy has quit [(Max SendQ exceeded)]
phinxy has joined #nixos
<betaboon> FRidh: i still end up with "attribute 'callPackage' missing". these are the changes i did: https://github.com/betaboon/nixcfg/commit/bc190f40c30a71b2b4a15c1de9c4c9db5a0fd4d9
<Mlkmt> alright, here it goes
acyed has joined #nixos
newhoggy has joined #nixos
<michalrus> Hey, does nixos-install destroy data on the root partition in some side directory?
<michalrus> Or rather, is there a chance that it will be destroyed?
<Infinisil> michalrus: Nope
<michalrus> Awesome, thanks! =)
<Infinisil> michalrus: It only uses /tmp and installs everything into /nix I'm 99% sure
<michalrus> Kay, cool!
<michalrus> I’m planning to move my dad’s machine from debian to nixos and it has only one partition (for / & /home), so I planned to leave /home as is.
<Infinisil> Ah, you're talking about nixos-install, i thought of the nix install. But yeah, nixos-install is also not destructive at all
<michalrus> OK
Mlkmt has quit [(Ping timeout: 260 seconds)]
<Infinisil> michalrus: Sounds good, should be pretty easy to take over to nixos
<michalrus> Yeah, and it’s his second machine, so I’ve already got a configuration.nix.
<Infinisil> By just mounting the /home partition to /mnt/home when installing
<michalrus> I was just worried about this /home
newhoggy has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
acyed has quit [(Ping timeout: 246 seconds)]
aristid has quit [(Quit: WeeChat 1.9)]
<Infinisil> michalrus: Does he not have backups??
<betaboon> FRidh: nope same thing. did you consider that the "self: super:" in python-packages.nix is actually the one passed from super.python3.override{ packageOverride = } =
newhoggy has quit [(Ping timeout: 240 seconds)]
ylwghst has quit [(Quit: Lost terminal)]
<FRidh> betaboon: you pushed the changes?
newhoggy has joined #nixos
aristid has joined #nixos
<betaboon> FRidh: the removal of L3? no
<FRidh> you do not pass in any super
<FRidh> or what did you mean?
<betaboon> no I'm not passing in any super
DutchWolfie has joined #nixos
DutchWolfie has quit [(Changing host)]
DutchWolfie has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
<FRidh> no wait
wigust has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
<FRidh> I don't see what's wrong here. Do you have a trace?
justbeingglad has joined #nixos
justbeingglad has left #nixos []
newhoggy has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 14 new commits to staging: https://git.io/v7QsO
<NixOS_GitHub> nixpkgs/staging ebdbc08 Tuomas Tynkkynen: xorg: Split some man outputs from doc...
<NixOS_GitHub> nixpkgs/staging 9f2f74d Tuomas Tynkkynen: ffmpeg: Add man output
<NixOS_GitHub> nixpkgs/staging 3f29eb8 Tuomas Tynkkynen: ghostscript: Add man output
NixOS_GitHub has left #nixos []
Infinisil has quit [(Ping timeout: 276 seconds)]
tmaekawa has quit [(Quit: tmaekawa)]
DutchWolfie has quit [(Quit: Konversation terminated!)]
newhoggy has joined #nixos
bgamari has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
olejorgenb[m] has joined #nixos
<betaboon> FRidh: i just pushed a commit, i still run into: attribute ‘callPackage’ missing, at /root/nixcfg/packages/top-level/python-packages.nix:2:4
newhoggy has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
watersoul has quit [(Ping timeout: 240 seconds)]
<FRidh> (I would put the contents of overlay.nix into all-packages.nix because that's what you are changing)
newhoggy has joined #nixos
<michalrus> Infinisil: he has some, but I wouldn’t want to count on them. =P
phreedom has joined #nixos
<betaboon> FRidh: just pushed a commit doing that, still same problem
newhoggy has quit [(Ping timeout: 240 seconds)]
Infinisil has joined #nixos
watersoul has joined #nixos
eacamero_ has joined #nixos
taktoa has joined #nixos
slack1256 has joined #nixos
newhoggy has joined #nixos
roundhouse has joined #nixos
eacamero_ has quit [(Ping timeout: 248 seconds)]
<FRidh> betaboon: not sure but I think it may play a role that you pass in `pkgs` and `pythonPackages` in some of the python expressions
<betaboon> I'll try to remove that
<FRidh> replacing pythonPackages with self may work as well though
newhoggy has quit [(Ping timeout: 248 seconds)]
eacameron has joined #nixos
ixxie has quit [(Ping timeout: 246 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
bennofs1 has joined #nixos
<michalrus> Hey, anyone one on GNOME?
<sphalerite> Any zfs wizards here know a way to split a fs into two, e.g. if I have /var/lib in the same fs as / and want to move it to its own?
<johnw> zfs create a new filesystem
<johnw> cp -pR or rsync the /var/lib into the new filesystem (after mounting it somewhere)
<clever> sphalerite: ive been thinking about doing that on my NAS, the only thing i can think of is to create a new filesystem and move the contents over while the system is offline
<johnw> rm -fr /var/lib, then change the mountpoint for the new filesystem to /var/lib and unmount/remount it
<sphalerite> so no way to get COW to do its maagic and not require any shifting around of the data?
<johnw> none that I know of
newhoggy has joined #nixos
<sphalerite> :(
<johnw> it's a filesystem property, not a pool property
bennofs has quit [(Ping timeout: 276 seconds)]
<clever> linux thinks the 2 filesystems are on seperate partitions, so it cant do an atomic move via rename()
<clever> and i dont know of any special zfs utils that would optimize it
<clever> so that only leaves a very expensive option, dedup, but that would only work if the original data had been written when dedup was on
<sphalerite> I was hoping zfs would make this sort of thing easy and not require much thinking ahead on my behalf >.>
<Infinisil> What's the benefit of putting /var/lib into its own dataset?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/v7QZT
<NixOS_GitHub> nixpkgs/master a0aae85 Frederik Rietdijk: Python: move some attributes together with the rest of the Python-related attributes.
NixOS_GitHub has left #nixos []
<sphalerite> So I can set properties on it
<sphalerite> like reservation and autosnapshot
<Infinisil> Hmm right, so which ones do you want to set there, I'm interested
<Infinisil> Fair enough
<sphalerite> I don't need to autosnapshot the nix store because it's all built from expressions. I don't need to autosnapshot /etc because I manage the history of that with git
Filystyn has quit [(Ping timeout: 240 seconds)]
<sphalerite> but it's nice to have backups of all the mutable stuff :)
newhoggy has quit [(Ping timeout: 240 seconds)]
newhoggy_ has joined #nixos
<clever> sphalerite: i try to keep /nix in its own dataset, so i can turn snapshots off there
<Infinisil> I'm still thinking about the perfect zfs setup for nixos
<clever> and then / is pretty small most of the time
<sphalerite> and my dad runs some science experiments that will sometimes eat up all the disk space. I don't want that to crash my databases. Hence the reservation (and probably a quota on where that stuff lives, because I don't want it slowing down the system by filling up the pool)
<clever> Filesystem Size Used Avail Use% Mounted on
<clever> amd/root 22G 6.8G 15G 31% /
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh opened pull request #28244: Python: build 2.7 and 3.6 packages on Hydra again (master...hydrapython) https://git.io/v7QZl
NixOS_GitHub has left #nixos []
<sphalerite> clever: yeah, I have nix on its own too
<clever> a large chunk of that 6gig is systemd/coredump
<clever> and the journal
<Infinisil> What about having a dataset for /home and /root?
<bennofs1> somehow I always end up with this:
<clever> nothing for /root
<clever> but i do have one for /home
<bennofs1> /dev/sda6 70G 69G 529M 100% /
<sphalerite> tank/root used 488M -
<Infinisil> bennofs1: Could it be the case that you're not using zfs :O
<sphalerite> (tank/root is mounted on /)
<bennofs1> Infinisil: would zfs solve that?
aristid has quit [(Quit: WeeChat 1.9)]
<Infinisil> I'll make it so tank itself is /
newhoggy_ has quit [(Ping timeout: 260 seconds)]
<Infinisil> bennofs1: Well, with zfs you wouldn't need to balance space between different filesystems, just a single pool, create as many as you want from that without worrying about how much each gets
<sphalerite> bennofs1: the compression might help in the short term, but if your pool is that full you'll start having massive performance issues
<clever> updated the gist with compression info
<clever> i'm seeing as much as 2x compression on /nix and / for my desktop
<clever> and /nix has 75gig
<Infinisil> Having one for /var/lib would be nice..
<Infinisil> Is there any program that doesn't put system wide var stuff in /var/lib?
<sphalerite> of course
<sphalerite> most stuff logs to /var/log, for instance (either via journald or independently. The latter is a pain)
<Infinisil> Ah right, I guess I mean valuable data
<sphalerite> nginx logs to /var/spool/nginx in the default nixos config
<sphalerite> logs are valuable data
aristid has joined #nixos
<Infinisil> Eh, it's not like I'm losing user data when trashing logs
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v7QZS
<NixOS_GitHub> nixpkgs/master 9c3702a Vladimír Čunát: busybox: downgrade 1.27.1 -> 1.26.2...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to release-17.03: https://git.io/v7QZ9
<NixOS_GitHub> nixpkgs/release-17.03 1bdc06e Tim Steinbach: linux: 4.12.6 -> 4.12.7...
<NixOS_GitHub> nixpkgs/release-17.03 6a886d5 Tim Steinbach: linux: 4.9.42 -> 4.9.43...
NixOS_GitHub has left #nixos []
<sphalerite> I find my web server access logs to be highly valuable :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/v7QZQ
<NixOS_GitHub> nixpkgs/master 59e3468 Tim Steinbach: linux: 4.12.6 -> 4.12.7
<NixOS_GitHub> nixpkgs/master 5c29873 Tim Steinbach: linux: 4.9.42 -> 4.9.43
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/v7QZh
<NixOS_GitHub> nixpkgs/master c0769dc Joachim Fasting: nixos/hardened profile: increase ASLR entropy
NixOS_GitHub has left #nixos []
<Infinisil> To each their own I guess
mounty has quit [(Ping timeout: 258 seconds)]
<clever> Infinisil: i have also made a bash script that can fully automate a nixos install on zfs: https://github.com/cleverca22/nix-tests/blob/master/kexec/justdoit.nix#L33
newhoggy has joined #nixos
mizu_no_oto has joined #nixos
<Infinisil> clever: Yeah, I have something similar (+ a bit more to reset it, so you can test it easily)
jensens has joined #nixos
mounty has joined #nixos
ylwghst has joined #nixos
<Infinisil> I just bought 3 memory sticks, which I can now use for a fancy fully encrypted internal disk and booting from any one of the sticks which all contain keys to decrypt it secured with a password
ixxie has joined #nixos
<bennofs1> 0
<Infinisil> In the process of automating it
ixxie has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/v7Qnm
<NixOS_GitHub> nixpkgs/master f913554 Frederik Rietdijk: python.pkgs.gst-python: fix Python 3 build
<NixOS_GitHub> nixpkgs/master d0d8724 Frederik Rietdijk: python.pkgs.gst-python: move expression
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #27805: pythonPackages.gst-python: Use correct package set (master...gst-python3) https://git.io/v74Ww
NixOS_GitHub has left #nixos []
<betaboon> FRidh: just did that. same result :/
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
<Infinisil> Btw I wouldn't mind anybody looking at my PR to update Radicale, which hasn't seen a single reaction in 2 weeks :') https://github.com/NixOS/nixpkgs/pull/27826
aristid has quit [(Ping timeout: 255 seconds)]
newhoggy has quit [(Ping timeout: 255 seconds)]
<bennofs1> oh, we are over 400 PRs? i remember the number being close to 300...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/v7Qn8
<NixOS_GitHub> nixpkgs/master 09e0cc7 mimadrid: Update homepage attributes: http -> https...
<NixOS_GitHub> nixpkgs/master 13bbaee Frederik Rietdijk: Merge pull request #27881 from mimadrid/fix/http-https...
NixOS_GitHub has left #nixos []
<FRidh> it can go from 300 to 400 in a matter of days...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #25065: binder and pybind11 packages (master...binder) https://git.io/v9v06
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #23077: Python weasyprint and dependencies (master...wp) https://git.io/vDpPC
NixOS_GitHub has left #nixos []
roundhouse has quit [(Ping timeout: 240 seconds)]
hotfuzz has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #19853: pythonPackages.mayavi and dependencies (master...mayavi) https://git.io/vPpAA
NixOS_GitHub has left #nixos []
<simpson> Huh. LyX uses aspell, but adding aspellDicts.en to the same environment that I've got lyx in doesn't cause LyX to see my dictionary.
<simpson> Anybody else done this adventure before?
simukis_ has joined #nixos
<FRidh> but it can find aspell?
<FRidh> aspell checks profiles for dictionaries if I recall correctly
<bennofs1> simpson: there's some code in nixos to set ASPELL_CONF based on profile afaik
hotfuzz_ has quit [(Ping timeout: 246 seconds)]
<bennofs1> and it will only check one profile, because that variable does not support multiple dirs
aristid has joined #nixos
<FRidh> I implemented aspellWithDicts once
<FRidh> pure version
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #28238: far2l: unstable-2017-05-09 -> unstable-2017-07-13 (master...far2l-2017-07-13) https://git.io/v7QJM
NixOS_GitHub has left #nixos []
<simpson> Oh, it uses hunspell. And also there's a configuration option for the path to dictionaries, which apparently isn't autodetected well.
eacameron has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #28241: kubernetes-helm: 2.5.0 -> 2.5.1 (master...helm-2.5.1) https://git.io/v7QIh
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #28242: clipster: 1.0.1 -> 1.2.5 (master...clipster) https://git.io/v7Qt3
NixOS_GitHub has left #nixos []
<Infinisil> Sometimes I feel like FRidh is the only one ever closing PR's *claps*
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #28229: alt-ergo: use https instead of http to fetch archive (master...pr-alt-ergo) https://git.io/v7HFA
NixOS_GitHub has left #nixos []
<sphalerite> Ooh ooh, do mine next! https://github.com/NixOS/nixpkgs/pull/25274
<simpson> Yep, I needed to tell it to look in, say, /nix/store/b711j78hnpylkybyzjxz3nb1svl811wx-hunspell-dict-en-us-wordlist-2014.11.17/share/hunspell.
<ylwghst> ${nixos.tor}
newhoggy has joined #nixos
<ylwghst> can be this used to get tor bin path?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #28217: vscode: 1.14.2 -> 1.15.0 (master...vscode_1_15_0) https://git.io/v7H2e
NixOS_GitHub has left #nixos []
<FRidh> Infinisil: ha, definitely not. Sometimes people have their own "sprints"
<FRidh> just started cleaning up some of my old PR's
<sphalerite> ylwghst: depends on where. In a nix expression within a string literal, yes
<FRidh> figured I might as well try to get the open PR's to below 400 again :)
nikivi has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<ylwghst> sphalerite: thats my case
<ylwghst> sphalerite: what i will exactly get?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/v7Qcf
<NixOS_GitHub> nixpkgs/master 8933aca mimadrid: byobu: 5.112 -> 5.121
<NixOS_GitHub> nixpkgs/master 719a76c Frederik Rietdijk: Merge pull request #28213 from mimadrid/update/byobu-5.121...
NixOS_GitHub has left #nixos []
<sphalerite> ylwghst: the store path to tor. You'll probably want to use "${pkgs.tor}/bin"
<ylwghst> sphalerite: i want to use it within ExecStart= in my systemd service defined in configuration.nix
eacameron has quit [(Ping timeout: 246 seconds)]
newhoggy has quit [(Ping timeout: 240 seconds)]
python476 has joined #nixos
Filystyn has quit [(Read error: Connection reset by peer)]
<ylwghst> clever: thx
<ylwghst> wait
Infinisil has quit [(Quit: I'm not doing shit while in IRC)]
<ylwghst> theres daemon available in nixpkgs?
<clever> its in the nixos side of things
<clever> just set services.tor.enable = true; and it will be installed and configured for you
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #28062: motu-client: 1.0.8 -> 1.4.0 (master...update_motu-client) https://git.io/v7XcH
NixOS_GitHub has left #nixos []
<ylwghst> good
<catern> hey #nixos, I have various repositories checked out on my system, each with a default.nix to build them, and I need to locate different versions of nixpkgs for each of them
<sphalerite> so much SSH spam coming from China…
<catern> how should I approach this?
<catern> changing my NIX_PATH each time I want to work on a different project is... really lame...
<sphalerite> catern: you could use direnv to set the NIX_PATH
nikivi has joined #nixos
<catern> I was thinking about it but that's a bit heavyweight I think
<manveru> direnv is awesome :D
<catern> isn't Nix supposed to free us from that kind of environmental manipulation, after all?
<sphalerite> no, it's just supposed to make it predictable :)
Mlkmt has joined #nixos
<manveru> if you want pure... sure, but usually you want somewhat impure if you work on in a project :P
<clever> catern: instead of importing <nixpkgs>, just import (builtins.fetchurl foo), where foo is what you would have put into NIX_PATH
<catern> so what I've been considering right now is
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #25804: gensim: added Gensim 2.1.0 and related tools (master...gensim-2.1.0) https://git.io/v9dCa
NixOS_GitHub has left #nixos []
<catern> having the default.nix do an (import ./base.nix)
<clever> catern: skip relying on NIX_PATH and just put the nixpkgs url directly into the default.nix
<catern> where base.nix points directly to the nixpkgs I want to use
<catern> then I can easily customize it etc.
newhoggy has joined #nixos
<catern> clever: hmm interesting
<manveru> i do it by having a nixpkgs.nix per project that has a fetchTarball for the commit of nixpkgs i use for it
<manveru> looks like that
<catern> that makes a lot of sense for individual projects
<manveru> use like that: with import (import ./nixpkgs.nix) {};
<catern> although in my case, that kind of versioning information is maintained outside the individual repositories, in a large list of commit hashes from each repo
<catern> so hardcoding a version of nixpkgs in my repo is weird
<catern> the version of nixpkgs would rather be injected in to the repo
hamishmack has quit [(Quit: hamishmack)]
<catern> hmm....
<manveru> well, if your default.nix is part of the repo...
<catern> the default.nix is just a function
<catern> it takes all the deps as parameters
<manveru> i mean you can always pass nixpkgs as an argument to it
<catern> yes, but doing that manually on the command line is annoying
<manveru> that's why you set a default
<manveru> { nixpkgs ? (fetchTarball { url = "foo" sha256 = "bar"; }) }: yay
newhoggy has quit [(Ping timeout: 246 seconds)]
<manveru> that way you can build it with another nixpkgs easily, but have a working default
<clever> if you call the argument pkgs, then pkgs.callPackage can populate it for you
<catern> the version of nixpkgs that I use changes rapidly (in my case it's actually nixpkgs + a bunch of additional things) so even a default is not workable, the version needs to always come from somewhere external
<catern> clever: ah, thanks for the point... yeah, I'm using pkgs.callPackage
luigy_ has joined #nixos
<manveru> well, you can make a branch for each nixpkgs commit you use?
<catern> (sorry, I was misleading... my default.nix is not actually a function - that's in a separate file. the default.nix can do whatever is most convenient)
tokudan has quit [(Quit: Leaving)]
<catern> manveru: I mean what I'm considering right now is,
zarel has quit [(Quit: Leaving)]
<sphalerite> Does anyone use systemd services to manage docker containers at least semi-declaratively?
<manveru> then use fetchTarball without hash... like `fetchTarball { url = https://github.com/catern/nixpkgs/archive/project-a.tar.gz; }`
<catern> manveru: having that nixpkgs.nix or base.nix file be generated by some external thing
<sphalerite> or should I maybe be using runc for that?
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/v7Qc6
<NixOS_GitHub> nixpkgs/staging e81e9e8 mimadrid: zziplib: 0.13.66 -> 0.13.67
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #28198: zziplib: 0.13.66 -> 0.13.67 (master...update/zziplib-0.13.67) https://git.io/v7HIp
NixOS_GitHub has left #nixos []
<catern> sphalerite: runc would make more sense at least, if you can
<manveru> man... wine on nixos for 64bit seems broken :(
<sphalerite> catern: what would stop me?
<catern> sphalerite: maybe you have lots of tooling around docker at the moment
<catern> and don't want to switch
<sphalerite> I have almost nothing, a few docker-compose files, that's it
phinxy has quit [(Quit: Leaving)]
<sphalerite> also why must some software be so hard to package ;(
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/v7QcQ
<NixOS_GitHub> nixpkgs/master 8da8a16 Bart Brouns: notmuch: 0.24.2 -> 0.25
<NixOS_GitHub> nixpkgs/master 111d430 Frederik Rietdijk: Merge pull request #28222 from magnetophon/notmuch...
NixOS_GitHub has left #nixos []
newhoggy has quit [(Ping timeout: 246 seconds)]
<sphalerite> hm maybe rkt would be nicer than runc
Mlkmt has quit [(Ping timeout: 260 seconds)]
Ivanych has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pikajude pushed 1 new commit to master: https://git.io/v7Qch
<NixOS_GitHub> nixpkgs/master 6883119 Jude Taylor: add some overrides for ghc 7.10.3 to build ghcjs
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 4 new commits to master: https://git.io/v7Qcj
<NixOS_GitHub> nixpkgs/master 302e782 mimadrid: htslib: 1.4.0 -> 1.5.0
<NixOS_GitHub> nixpkgs/master ca45a26 mimadrid: samtools: 1.4.0 -> 1.5.0
<NixOS_GitHub> nixpkgs/master 15a99ae mimadrid: bcftools: 1.4.0 -> 1.5.0
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #28205: clib: 1.7.0 -> 1.8.0 (master...update/clib-1.8.0) https://git.io/v7HZJ
NixOS_GitHub has left #nixos []
guido_ has joined #nixos
guido_ has quit [(Quit: leaving)]
newhoggy has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/v7QCq
<NixOS_GitHub> nixpkgs/master b7bd842 Bart Brouns: zexy: fix build
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #28202: zexy: fix build (master...zexy) https://git.io/v7HYs
NixOS_GitHub has left #nixos []
bennofs1 has quit [(Ping timeout: 258 seconds)]
<catern> hmmmmmmmm
<catern> I kind of want to use libraries
<catern> to find my libraries
bennofs has joined #nixos
Mutter has joined #nixos
<catern> maybe I can stage it; I'll get nixpkgs from NIXPATH, and use the utilities in there to find the correct nixpkgs that I really want for my libraries
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 2 new commits to master: https://git.io/v7QCl
<NixOS_GitHub> nixpkgs/master 207ed51 Robert Helgesson: gkrellm: fix installation...
<NixOS_GitHub> nixpkgs/master 2479740 Robert Helgesson: gkrellm: minor formatting fix
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 8 new commits to master: https://git.io/v7QCE
<NixOS_GitHub> nixpkgs/master f66b765 Sasha Delly: lib/maintainers.nix: added sdll
<NixOS_GitHub> nixpkgs/master 58b2848 Sasha Delly: cymem: init at 1.31.2
<NixOS_GitHub> nixpkgs/master fe17ed6 Sasha Delly: ftfy: init at 4.4.3
NixOS_GitHub has left #nixos []
<ylwghst> it doesnt installed tor.nix module srp 13 22:41:58 nixosLinux systemd[1]: tor.service: Service lacks both ExecStart= and ExecStop= setting.
<ylwghst> didnt
newhoggy has joined #nixos
Mutter has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #28210: mixxx: fix build (master...mixxx) https://git.io/v7HRj
NixOS_GitHub has left #nixos []
newhoggy has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to release-17.03: https://git.io/v7QCS
<NixOS_GitHub> nixpkgs/release-17.03 14e2a39 Robert Helgesson: faac: fix patch URLs...
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] baldo opened pull request #28245: wineStaging, wineUnstable: 2.13 -> 2.14 (master...master) https://git.io/v7QWU
NixOS_GitHub has left #nixos []
<BlessJah> FRidh: did you look at ansible/boto3/botocore issue? (https://github.com/NixOS/nixpkgs/issues/28171)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 4 new commits to master: https://git.io/v7QWI
<NixOS_GitHub> nixpkgs/master 488db3d Mitsuhiro Nakamura: mathematica: fix library paths
<NixOS_GitHub> nixpkgs/master 7aaea72 Mitsuhiro Nakamura: Simplify the sed script
<NixOS_GitHub> nixpkgs/master fb2302e Mitsuhiro Nakamura: Add missing 'math'
NixOS_GitHub has left #nixos []
eacameron has quit [(Remote host closed the connection)]
<FRidh> BlessJah: no, sorry
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/v7QWL
<NixOS_GitHub> nixpkgs/master a77c7e9 Grant Wu: libtorrentRasterbar_1_0 1.0.10 -> 1.0.11
<NixOS_GitHub> nixpkgs/master c6fdb3d Frederik Rietdijk: Merge pull request #28093 from grantwwu/bump_libtorrentRasterbar_1.0_series...
NixOS_GitHub has left #nixos []
<BlessJah> no problem, I'll remind you later this week
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/v7QWq
<NixOS_GitHub> nixpkgs/master 0b21848 Ryan Mulligan: zsnes: remove $STRIP from compiler options...
<NixOS_GitHub> nixpkgs/master 9ed9ede Joachim F: Merge pull request #27963 from ryantm/zsnes...
NixOS_GitHub has left #nixos []
aristid has quit [(Quit: WeeChat 1.9)]
ylwghst has quit [(Ping timeout: 255 seconds)]
<BlessJah> FRidh: does anything come to your mind that I could check?
bgamari has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #27378: pythonPackages.django_extensions : init at 1.8.1 (master...add-python-django-extensions) https://git.io/vQ7qh
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #27796: postage: init at 3.2.17 & add NixOS module (master...postage) https://git.io/v78wE
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
<FRidh> BlessJah: not really
aristid has joined #nixos
newhoggy has quit [(Ping timeout: 248 seconds)]
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #28245: wineStaging, wineUnstable: 2.13 -> 2.14 (master...master) https://git.io/v7QWU
NixOS_GitHub has left #nixos []
<FRidh> yay, below 400
FRidh has quit [(Remote host closed the connection)]
FRidh has joined #nixos
MP2E has joined #nixos
newhoggy_ has joined #nixos
newhoggy has quit [(Ping timeout: 276 seconds)]
<MP2E> hi! is this part of the manual still up to date? https://nixos.org/nix/manual/#ssec-ssh-substituter
<LnL> !m FRidh
<[0__0]> You're doing good work, FRidh!
<MP2E> reason I ask, is I can get nix-copy-closure working just fine and can ssh into one of my nixos machines
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #26313: gh-ost: init at 1.0.36 (master...gh-ost) https://git.io/vHuUw
NixOS_GitHub has left #nixos []
<MP2E> but --option ssh-substituter-hosts user@serverdomain.org isn't working for nixos-rebuild or nix-env, I suspect it might have somtehing to do with my ssh keys
alx741_ has joined #nixos
aristid has quit [(Quit: WeeChat 1.9)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/v7QlR
<NixOS_GitHub> nixpkgs/master 6c41803 Joachim Fasting: ldns: get rid of reference to openssl.dev...
NixOS_GitHub has left #nixos []
<MP2E> I have the public key set using 'nix.sshServe.keys' and also have my private key loaded with ssh-agent and ssh-add, but it's stlil giving me authentication failures every time i try...
newhoggy_ has quit [(Ping timeout: 276 seconds)]
<MP2E> does it need a specific type of key maybe? i'm using rsa and the example uses dss
b has joined #nixos
alx741 has quit [(Ping timeout: 248 seconds)]
nikivi has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
Turion has quit [(Remote host closed the connection)]
<clever> MP2E: nix-daemon is probably the one initiation the ssh connection
<clever> and it cant find your agent
aristid has joined #nixos
newhoggy has joined #nixos
<MP2E> hmm. how i was running it was a simple 'eval $(ssh-agent)' on my user account
<clever> but nix-daemon runs as root
<clever> and doesnt inherit that env var
<MP2E> ahh that makes sense
b has quit [(Quit: Lost terminal)]
arianvp2 has quit [(Quit: arianvp2)]
adeohluwa has joined #nixos
MP2E has quit [(Quit: reboot brb)]
MP2E has joined #nixos
blahdodo has quit [(Ping timeout: 248 seconds)]
blahdodo has joined #nixos
<MP2E> aha. I needed to use 'nix-ssh' as the user. I'm sure that getting ssh-agent to start via my nixos configuration file, instead of manually trying to do it, helped as well.
<MP2E> so in other words i was using 'user@serverdomain.org' but I needed 'nix-ssh@serverdomain.org'
b has joined #nixos
<MP2E> works great now :)
newhoggy has quit [(Remote host closed the connection)]
Jackneillll has quit [(Remote host closed the connection)]
patroclo7 has joined #nixos
<gnuhurd> I'm making a nix package that fetches a repo from GitHub; how do I know the sha256 sum of the repo? the creator doesn't supply it. do I just sha256sum the .tar.gz?
<catern> dear #nixos, naming question
<catern> libfoo or fooliab?
<catern> foolib*
blahdodo has quit [(Quit: Bye bye)]
<gnuhurd> foolib
simukis_ has quit [(Ping timeout: 240 seconds)]
patroclo7 has quit [(Ping timeout: 260 seconds)]
<catern> okay
<catern> next question
<catern> is there a way to run a shell command from a Nix expression? ridiculously impure, I know
<bennofs> catern: builtins.runCommand?
mizu_no_oto has quit [(Quit: ["Textual IRC Client: www.textualapp.com"])]
<catern> is that sandboxed or does it run as the current user?
<catern> yeah, that creates a derivation, right?
<catern> I want to actually inspect the world around me to decide what to do
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] MP2E pushed 1 new commit to master: https://git.io/v7Q43
<NixOS_GitHub> nixpkgs/master 1995dbf Cray Elliott: obs-studio: 20.0.0 -> 20.0.1
NixOS_GitHub has left #nixos []
<catern> specifically, I'm writing a default.nix that will sit in a directory that will have some variable number of package source repos checked out into subdirectories, and I want to be able to detect what repos are currently checked out, and build them all against each other if checked out and against a default version if not checked out
<clever> catern: builtins.readDir
<catern> I am already able to do every part except for the "determine which repos are checked out" part
<clever> nix-repl> builtins.readDir "/"
<clever> { ".#mnt.lck" = "regular"; bin = "directory"; boot = "directory"; "config.json" = "regular"; dev = "directory"; etc = "directory"; hax = "directory";
<catern> clever: yeah but :( the repos are nested in directories...
<clever> recursively readDir
<catern> and there is some slightly tricky logic to determine whether it's a repo or not...
hiratara has quit [(Ping timeout: 276 seconds)]
<catern> I don't really want to do that logic from Nix :(
<clever> -rw------- 1 root root 0 Apr 9 2016 .#mnt.lck
<catern> (OK, admittedly the logic is just "does it contain a .git or .hg file/folder")
<clever> whats this? lol
<catern> emacs temp file I believe?
<clever> its in /
<catern> blargh
<catern> oh also yeah readDir just plain won't work
<catern> hmm
<catern> well, s/plain won't work/is way too slow because it's a huge tree/
<catern> maybe I can just
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] MP2E pushed 1 new commit to master: https://git.io/v7Q4R
<NixOS_GitHub> nixpkgs/master ed0af35 Alexander V. Nikolaev: wineUnstable: 2.13 -> 2.14...
NixOS_GitHub has left #nixos []
<catern> put a hook on checking out a new codebase
yegods has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] MP2E closed pull request #28236: wineUnstable: 2.13 -> 2.14 (master...wine-update) https://git.io/v7Qe1
NixOS_GitHub has left #nixos []
yegods has joined #nixos
hiratara has joined #nixos
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 2 new commits to master: https://git.io/v7Q42
<NixOS_GitHub> nixpkgs/master 276d747 Robert Helgesson: josm: 12450 -> 12545
<NixOS_GitHub> nixpkgs/master fbfe53b Robert Helgesson: eclipse-plugin-autodetect-encoding: 1.8.3 -> 1.8.4
NixOS_GitHub has left #nixos []
<avn> MP2E: ty for review ;)
yegods_ has joined #nixos
yegods has quit [(Ping timeout: 260 seconds)]
Rotaerk_ has joined #nixos
Rotaerk has quit [(Ping timeout: 255 seconds)]
<catern> there's no way to do regex and capture in Nix, right? :(
<catern> argh
yegods_ has quit [(Remote host closed the connection)]
<catern> there's also no way to do readlink in Nix either, right?
Ross has quit [(Quit: ZNC - http://znc.in)]
yegods has joined #nixos
Ross has joined #nixos
slyfox has quit [(Quit: :))]
<avn> catern: what you try to implement?
<catern> specifically, I'm writing a default.nix that will sit in a directory that will have some variable number of package source repos checked out into subdirectories, and I want to be able to detect what repos are currently checked out, and build them all against each other if checked out and against a default version if not checked out
<catern> readdir is not sufficient because they can be nested in subdirs
<catern> (and so walking the whole tree would be way too slow)
yegods has quit [(Ping timeout: 240 seconds)]
<catern> I can populate a file on disk with the list of local repos, and keep it up to date when that list changes
<avn> catern: why noy to use fetchgit/fetchFromGitHub instead?
<catern> avn: local changes
<catern> but now I'm wondering if I can even read that list :)
<catern> (in a file on disk)
slyfox has joined #nixos
<catern> ah if I write it as JSON
<catern> that will work
<avn> catern: local changes make things non-deterministics, nix in first stage calculate names, then run builds
<catern> huh?
<catern> it's not non-deterministic
<catern> it will recalculate the hash
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/14e2a39b60 (from 83 minutes ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
<avn> catern: well, it just my suggestion... I can be wrong. I try to use nix-shell to develop/debug each singe component, and switch to full deployment when stuff become complex
nix-gsc-io`bot has quit [(Client Quit)]
yegods has joined #nixos
yegods has quit [(Remote host closed the connection)]
goibhniu has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] primeos pushed 1 new commit to master: https://git.io/v7QBA
<NixOS_GitHub> nixpkgs/master 059d722 Michael Weiss: sshfs-fuse: 2.9 -> 2.10
NixOS_GitHub has left #nixos []
blahdodo has joined #nixos
cbarrett has joined #nixos
<cbarrett> I tried installing nix today and it looks like the installer is busted with the fish shell :(
Kingsquee has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
ebzzry_ has joined #nixos
roni has joined #nixos
slack1256 has quit [(Remote host closed the connection)]
hiratara has quit [(Quit: ZNC - http://znc.in)]
hiratara has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
python476 has quit [(Ping timeout: 246 seconds)]
thc202 has quit [(Ping timeout: 246 seconds)]
newhoggy has quit [(Ping timeout: 240 seconds)]
<catern> cbarrett: there should have been a messaging saying to add something to your shell profile, was there such a message?
silver_hook has quit [(Ping timeout: 276 seconds)]
<catern> okay, I am convinced that I should write this data that I want, to disk as JSON, and keep it up to date whenever it changes, outside of Nix
aniketd[m] has joined #nixos
justelex has joined #nixos
b has quit [(Quit: Lost terminal)]
spear2 has joined #nixos
seagreen has joined #nixos
seagreen has quit [(Client Quit)]
seagreen has joined #nixos
newhoggy has joined #nixos
jensens has quit [(Ping timeout: 255 seconds)]
HurricaneHarry has quit [(Read error: Connection reset by peer)]
newhoggy has quit [(Ping timeout: 246 seconds)]
HurricaneHarry has joined #nixos
<michaelpj> catern: check out builtins.exec. Very evil, you need a special option to turn it on (https://github.com/NixOS/nix/pull/1295)
<michaelpj> might be what you need
<catern> oh boy oh boy :)
justelex has quit [(Ping timeout: 276 seconds)]
<catern> thanks :)
justan0theruser has joined #nixos
eschnett has quit [(Quit: eschnett)]
justanotheruser has quit [(Ping timeout: 240 seconds)]
<michaelpj> obviously this breaks purity horribly, so it's an enormous footgun
<adelbertc> how do people generally manage their Xresources/Xdefaults config file in NixOS?
<catern> michaelpj: yeah, for my immediate use case, I think I probably should just arrange things such that what I want is possible with just fromJson and readFile. but I'll keep this evil in mind for the future :)
ambro718 has quit [(Ping timeout: 240 seconds)]
<cbarrett> @catern no
<cbarrett> "Before Nix will work in your existing shells, you'll need to either run [ snip ] or close them and open them again. Other than that, you should be ready to go."
<cbarrett> searched the scrollback for "fish" as well, nothing
<catern> hmm
<spear2> is there a current way to pretty print aterm? i have an old note about pp-aterm but i can't find the package
<michaelpj> adelbertc: looks like we just merge in whatever's in your home directory? https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/x11/display-managers/default.nix#L101
<cbarrett> @catern I have to log off for now, follow up on the ticket please?
sigmundv has joined #nixos
<cbarrett> tyvm
<adelbertc> michaelpj: oh interesting
endformationage has quit [(Quit: WeeChat 1.9)]
gnuhurd has quit [(Remote host closed the connection)]
gnuhurd has joined #nixos
gnuhurd has quit [(Remote host closed the connection)]
gnuhurd has joined #nixos
gnuhurd has quit [(Remote host closed the connection)]
gnuhurd has joined #nixos
<michaelpj> that said, I have no idea what that does. I just grepped for Xresources in nixpkgs :D
b has joined #nixos
justan0theruser has quit [(Quit: WeeChat 1.7.1)]
justanotheruser has joined #nixos
newhoggy has joined #nixos
Wizek_ has quit [(Ping timeout: 246 seconds)]
bennofs has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
griff_ has joined #nixos
Wizek_ has joined #nixos
newhoggy_ has joined #nixos
adeohluwa has quit [(Quit: Connection closed for inactivity)]
markus1189 has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
markus1199 has quit [(Ping timeout: 246 seconds)]
<adelbertc> hmm so i have `services.xserver.windowManager.xmonad.enable = true;` set in my configuration.nix and it was working fine. then just now i added `services.xserver.videoDrivers = [ "ati_unfree" ];` , nixos-rebuild switch, and then reboot
<adelbertc> and now X doesnt start on login?