<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)]
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)]
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)]
<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.
<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?
<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...
<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?
<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 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?
<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
<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)]
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
<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?
<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
<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)]
<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
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
<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>
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
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
<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 ?
<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?
<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
<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 = } =
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
<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
<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
<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
<simpson>
Yep, I needed to tell it to look in, say, /nix/store/b711j78hnpylkybyzjxz3nb1svl811wx-hunspell-dict-en-us-wordlist-2014.11.17/share/hunspell.
<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
<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 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?
<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
<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
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
<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
<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
<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)]
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
<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