<hodapp>
okay, weird. caffe build has a Makefile, and also a CMake build (and the Nix expression uses the Makefile... and is failing).
<hodapp>
I just tried the CMake build on a fork of caffe I'm trying to use (after the Makefile fails there too), and it works there, including with CUDA
<hodapp>
but I'm a little lost as to why it would ship with a (broken) Makefile that is the 'preferred' way to build, and a CMake build
takle has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<ryantm>
gchristensen: Hi
<gchristensen>
oh hi ryantm
<gchristensen>
ryantm: I've put together some people interested in working through it; ixxie, sphalerite, and yourself. how often are you on IRC? is it a bother for you/
<ryantm>
gchristensen: I don't have a good setup that keeps me always connected to IRC, but I can make something.
<maurer>
ryantm: if you don't have a server, I've heard good things about irccloud
<gchristensen>
cool, I think maybe ixxie could just ping you. right now, gnome has very little love and needs people willing to help test and patch from time to time
ona has quit [(Read error: Connection reset by peer)]
<ryantm>
gchristensen: Yeah, GitHub works well for me.
<gchristensen>
ryantm: great! thank you so much for offering to help! how well do you know Gnome?
<ryantm>
gchristensen: I've been using it for years, but probably not all that well.
<gchristensen>
:) I've very hardly used Gnome, so you're already ahead of me.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] TealG opened pull request #28328: axoloti: init at 1.0.12 (master...axoloti-1.0.12) https://git.io/v7AgW
NixOS_GitHub has left #nixos []
<ryantm>
gchristensen: Maybe I'll learn enough to make keyboard remapping not break.
<ixxie>
ryantm: this is whats happening right now: https://github.com/NixOS/nixpkgs/pull/26879 - as I told gchristensen earlier, I am somewhat busy with other things the coming weeks, but I will see what I can do if I get some spare time
<ryantm>
gchristensen: It used to work better in earlier NixOS releases
ona has joined #nixos
<ixxie>
ryantm: that might have to do with xkb issue
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to release-17.03: https://git.io/v7AgQ
<NixOS_GitHub>
nixpkgs/release-17.03 7078eef Peter Hoeg: syncthing: 0.14.23 -> 0.14.36...
NixOS_GitHub has left #nixos []
filterfish has joined #nixos
<ryantm>
I'm the last one to comment on that issue :)
<ixxie>
loool
* ixxie
smacks their face
<ixxie>
isn't this an xorg issue though?
<ryantm>
Yeah, probably, I kind of forgot the details and started running my terminal keyboard settings every time I open my laptop from sleep.
<ryantm>
I read over https://github.com/NixOS/nixpkgs/pull/26879 it looks like there are a few branches that need to be merged together to get everyone's fixes together. Has someone done that?
<ixxie>
ryantm: I am not sure, I am new to the action myself; maybe sphalerite_ would know
<gchristensen>
ixxie: please try and coordinatee with teh too :D
ixxie has quit [(Quit: Lost terminal)]
<gchristensen>
I think it'd be great if we had a whole group of people interested in gnome maintainership
<Enzime>
I have a local checkout of the Nixpkgs store
<Enzime>
how do I get Nix to use that
phinxy has quit [(Read error: Connection reset by peer)]
<clever>
Enzime: -I nixpkgs=/home/clever/nixpkgs/
<Enzime>
clever: does that work with nixos-rebuild?
takle has joined #nixos
<viaken>
Another question: Work requires I use their proxy. The way I handled this in previous distros was to have Squid running locally. Whenever I connected to a network, a script would change the upstream proxy and restart Squid. Is there a better way to do that than nixos-rebuild every time?
<tnias>
`nixos-rebuild -I nixpkgs=/home/entime/nipkgs switch` should do
<tnias>
Enzime: ^
<Enzime>
tnias: upgrading a lot of packages, hope nothing breaks :P
gnuhurd has quit [(Remote host closed the connection)]
<tnias>
Enzime: you can checkout the current nixos-unstable commit to be able to use the binary caches
takle has quit [(Ping timeout: 264 seconds)]
<Enzime>
tnias: I suspect there exists binary caches for most packages newer than nixos-unstable
<Enzime>
I suspect from hydra
<gchristensen>
it is a bit dangerous to build arbitrary commits
sary has quit [(Remote host closed the connection)]
sary has joined #nixos
<disasm>
gchristensen: I can probably knock out a couple more pills tomorrow
schoppenhauer has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 2 new commits to master: https://git.io/v7APr
<NixOS_GitHub>
nixpkgs/master 676e905 Peter Hoeg: perlPackages.Carp: 1.36 -> 1.38...
<NixOS_GitHub>
nixpkgs/master 824b8e4 Peter Hoeg: perlPackages.EmailOutlookMessage: init at 0.918...
NixOS_GitHub has left #nixos []
schoppenhauer has joined #nixos
Fare has quit [(Ping timeout: 260 seconds)]
Nobabs27 has joined #nixos
zraexy has joined #nixos
rtjure has quit [(Ping timeout: 240 seconds)]
rtjure has joined #nixos
Fannar has joined #nixos
<hanslo-Withams>
Looking to trouble shoot a situation where the cabal sandbox cannot access commands present within my nix-shell environment. Any pointers?
reinzelmann has joined #nixos
Fare has joined #nixos
clever is now known as clever`
moet has joined #nixos
<moet>
i'm getting what seems like a silly error using nixops to deploy to ec2
<moet>
>> error: a ‘x86_64-linux’ is required to build ..., but I am a ‘x86_64-darwin’
<moet>
i'm running on osx, deploying to a nixos linux machine..
<moet>
i guess nixops is trying to build things locally? i'm not sure how it's supposed to work.. i have a rather trivial setup
<moet>
hmm.. it seems i missed this line of the nixops manual "It builds the NixOS machine configurations locally. For instance, here Valgrind is built or downloaded because our machine configuration has a dependency on it.
<moet>
"
proteusguy has quit [(Remote host closed the connection)]
vaibhavsagar has quit [(Ping timeout: 240 seconds)]
xd1le has joined #nixos
Wharncliffe has quit [(Quit: Lost terminal)]
<disasm>
moet: yeah, nixops builds or grabs the packages from a cache locally and then copies the closures up to the server being deployed.
<>
changed the topic of #nixos to: Topic set by gchristensen!~gchristen@unaffiliated/grahamc on 2017-04-26 15:33:28 UTC
GlennS has joined #nixos
<>
changed the topic of #nixos to: Channel #nixos created on 2008-04-25 12:32:07 UTC
luigy has joined #nixos
bhipple[m] has quit [(Ping timeout: 255 seconds)]
revoltmedia[m] has quit [(Ping timeout: 255 seconds)]
Kallegro[m] has quit [(Ping timeout: 255 seconds)]
bachp has quit [(Ping timeout: 255 seconds)]
Sovereign_Bleak has quit [(Ping timeout: 255 seconds)]
zimbatm has quit [(Ping timeout: 255 seconds)]
offlinehacker[m] has quit [(Ping timeout: 255 seconds)]
berot3[m] has quit [(Ping timeout: 255 seconds)]
Yaniel has quit [(Ping timeout: 255 seconds)]
MasseR has joined #nixos
reinzelmann has joined #nixos
retrry[m] has quit [(Ping timeout: 240 seconds)]
corngood has quit [(Ping timeout: 240 seconds)]
trikl[m] has quit [(Ping timeout: 240 seconds)]
BurNiinTRee[m] has quit [(Ping timeout: 240 seconds)]
reactormonk[m] has quit [(Ping timeout: 240 seconds)]
myklam[m] has quit [(Ping timeout: 240 seconds)]
qtness[m] has quit [(Ping timeout: 240 seconds)]
adisbladis[m] has quit [(Ping timeout: 240 seconds)]
wmertens[m] has quit [(Ping timeout: 240 seconds)]
xj9[m] has quit [(Ping timeout: 240 seconds)]
dibblego[m] has quit [(Ping timeout: 240 seconds)]
globin has joined #nixos
jsv[m] has quit [(Ping timeout: 255 seconds)]
hendrik[m]1 has quit [(Ping timeout: 255 seconds)]
bitchecker has joined #nixos
samae has quit [(Changing host)]
samae has joined #nixos
loupgaroublond has joined #nixos
rmarko has joined #nixos
astsmtl has quit [(Changing host)]
astsmtl has joined #nixos
sziszi[m] has quit [(Ping timeout: 246 seconds)]
AmineChikhaoui[m has quit [(Ping timeout: 246 seconds)]
WinterFox[m] has quit [(Ping timeout: 246 seconds)]
sudoreboot[m] has quit [(Ping timeout: 246 seconds)]
a123123123[m] has quit [(Ping timeout: 246 seconds)]
rycee[m] has quit [(Ping timeout: 246 seconds)]
Dezgeg[m] has quit [(Ping timeout: 246 seconds)]
octalsrc[m] has quit [(Ping timeout: 246 seconds)]
peterhoeg has quit [(Ping timeout: 246 seconds)]
Elephant454[m] has quit [(Ping timeout: 246 seconds)]
timclassic has quit [(Ping timeout: 240 seconds)]
Kirill[m] has quit [(Ping timeout: 240 seconds)]
yochai[m] has quit [(Ping timeout: 240 seconds)]
regnat[m] has quit [(Ping timeout: 240 seconds)]
StuK[m] has quit [(Ping timeout: 240 seconds)]
primeos[m] has quit [(Ping timeout: 240 seconds)]
NickHu has quit [(Ping timeout: 240 seconds)]
akaWolf has quit [(Changing host)]
akaWolf has joined #nixos
jlle[m] has quit [(Ping timeout: 240 seconds)]
M-fishy has quit [(Ping timeout: 240 seconds)]
ycy[m] has quit [(Ping timeout: 240 seconds)]
Guest66209 has quit [(Ping timeout: 240 seconds)]
hl has quit [(Ping timeout: 240 seconds)]
TimePath has quit [(Ping timeout: 240 seconds)]
afics has joined #nixos
eli has joined #nixos
houqp has joined #nixos
mtncoder[m] has quit [(Ping timeout: 240 seconds)]
chominist[m] has quit [(Ping timeout: 240 seconds)]
davidar has quit [(Ping timeout: 240 seconds)]
bendlas has quit [(Ping timeout: 240 seconds)]
garbas has joined #nixos
qrilka[m] has quit [(Ping timeout: 276 seconds)]
edef[m] has quit [(Ping timeout: 276 seconds)]
eqyiel[m] has quit [(Ping timeout: 255 seconds)]
seif[m] has quit [(Ping timeout: 255 seconds)]
admin[m] has quit [(Ping timeout: 255 seconds)]
JameySharp[m] has quit [(Ping timeout: 255 seconds)]
kainospur[m] has quit [(Ping timeout: 255 seconds)]
musicmatze[m] has quit [(Ping timeout: 255 seconds)]
Ralith has quit [(Ping timeout: 255 seconds)]
cybrian has joined #nixos
mhsjlw[m] has quit [(Ping timeout: 264 seconds)]
icetan has quit [(Ping timeout: 264 seconds)]
Khorne[m] has quit [(Ping timeout: 264 seconds)]
tommyangelo[m] has quit [(Ping timeout: 264 seconds)]
AdamSlack[m] has quit [(Ping timeout: 264 seconds)]
lecorpsnoir[m] has quit [(Ping timeout: 264 seconds)]
unlmtd has quit [(Ping timeout: 264 seconds)]
rnhmjoj[m] has quit [(Ping timeout: 255 seconds)]
hedning[m] has quit [(Ping timeout: 255 seconds)]
sk23[m] has quit [(Ping timeout: 255 seconds)]
spawnthink[m] has quit [(Ping timeout: 255 seconds)]
bennofs[m] has quit [(Ping timeout: 255 seconds)]
baconicsynergy[m has quit [(Ping timeout: 255 seconds)]
aspiwack[m] has quit [(Ping timeout: 255 seconds)]
dalaing has quit [(Ping timeout: 255 seconds)]
thematter[m] has quit [(Ping timeout: 246 seconds)]
jack[m] has quit [(Ping timeout: 246 seconds)]
scott2 has quit [(Ping timeout: 246 seconds)]
jyp[m] has quit [(Ping timeout: 246 seconds)]
HurricaneHarry has joined #nixos
mbirkis has joined #nixos
abbafei[m] has quit [(Ping timeout: 240 seconds)]
olejorgenb[m] has quit [(Ping timeout: 240 seconds)]
magnap has quit [(Ping timeout: 240 seconds)]
dash has quit [(Ping timeout: 240 seconds)]
Barnabas[m] has quit [(Ping timeout: 240 seconds)]
oida has joined #nixos
spacekitteh[m] has quit [(Ping timeout: 240 seconds)]
andymandias has joined #nixos
Judson has joined #nixos
Profpatsch has joined #nixos
ncode has quit [(Changing host)]
ncode has joined #nixos
nikivi has joined #nixos
Naughtmare[m] has quit [(Ping timeout: 246 seconds)]
cornu[m] has quit [(Ping timeout: 246 seconds)]
mith[m] has quit [(Ping timeout: 255 seconds)]
pstn has quit [(Ping timeout: 255 seconds)]
florianjacob has quit [(Ping timeout: 255 seconds)]
dtz has quit [(Ping timeout: 255 seconds)]
copumpkin has quit [(Ping timeout: 255 seconds)]
joelpet has joined #nixos
DerGuteMoritz has joined #nixos
Biappi has joined #nixos
jluttine_ has joined #nixos
Fuuzetsu has joined #nixos
nhill1 has joined #nixos
endformationage has joined #nixos
DIzFer[m] has quit [(Ping timeout: 255 seconds)]
puffnfresh has quit [(Ping timeout: 255 seconds)]
sphalerite has quit [(Ping timeout: 255 seconds)]
indefini has quit [(Ping timeout: 255 seconds)]
benkolera has quit [(Ping timeout: 255 seconds)]
mbrgm has joined #nixos
acowley_away has joined #nixos
maurer has joined #nixos
musicmatze has joined #nixos
aniketd[m] has quit [(Read error: Connection reset by peer)]
Drakonis[m] has quit [(Read error: Connection reset by peer)]
ninegua[m] has quit [(Read error: Connection reset by peer)]
wak-work has quit [(Read error: Connection reset by peer)]
etcinit[m] has quit [(Read error: Connection reset by peer)]
herzmeister[m] has quit [(Read error: Connection reset by peer)]
ArdaXi[m] has quit [(Read error: Connection reset by peer)]
sirius[m] has quit [(Write error: Connection reset by peer)]
hellrazo1 has joined #nixos
qewzee has joined #nixos
alfie has joined #nixos
rmarko has quit [(Changing host)]
rmarko has joined #nixos
eli is now known as Guest47928
obadz has joined #nixos
tv has joined #nixos
himmAllRight has joined #nixos
joshie has joined #nixos
sziszi has joined #nixos
primeos has joined #nixos
mbrgm has quit [(Changing host)]
mbrgm has joined #nixos
joelpet has quit [(Changing host)]
joelpet has joined #nixos
metaphysician has joined #nixos
michaelpj has joined #nixos
ekleog has joined #nixos
kwork has joined #nixos
Nobabs27 has joined #nixos
tv has quit [(Changing host)]
tv has joined #nixos
hodapp has joined #nixos
nslqqq has joined #nixos
lsyoyom has joined #nixos
Supersonic112 has joined #nixos
Judson is now known as Guest85856
domenkozar has joined #nixos
metaphysician has quit [(Changing host)]
metaphysician has joined #nixos
seanparsons has joined #nixos
srhb has joined #nixos
greymalkin has joined #nixos
ericnoan has joined #nixos
epta has joined #nixos
amosbird has joined #nixos
ericnoan has quit [(Changing host)]
ericnoan has joined #nixos
joko has joined #nixos
spion has joined #nixos
brodul has joined #nixos
nahamu has joined #nixos
nliadm has joined #nixos
Acou_Bass has joined #nixos
mooseboobs has joined #nixos
_cyril_ has joined #nixos
ertes has joined #nixos
amir has joined #nixos
contrapumpkin has joined #nixos
Unode has joined #nixos
hc has joined #nixos
ndash has joined #nixos
kalebo has joined #nixos
nil has quit [(Disconnected by services)]
Unode has quit [(Changing host)]
Unode has joined #nixos
hc has quit [(Changing host)]
hc has joined #nixos
S0rin_ has joined #nixos
henrytill has joined #nixos
leothrix has joined #nixos
rtjure has joined #nixos
disasm_ has joined #nixos
the-kenny has joined #nixos
fractal has joined #nixos
tg has joined #nixos
leat1 has joined #nixos
cwre has joined #nixos
Wizek has quit [(Quit: Connection closed for inactivity)]
ntc has joined #nixos
sigmundv has joined #nixos
muntun_ has joined #nixos
goodwill has joined #nixos
earldouglas has joined #nixos
statusbot has joined #nixos
ryantm has joined #nixos
andrewrk has joined #nixos
ee has joined #nixos
Lisanna has joined #nixos
evangeline has joined #nixos
cransom has joined #nixos
iMatejC has joined #nixos
lstanley has joined #nixos
alx741_ has joined #nixos
hiberno has joined #nixos
CcxWrk has joined #nixos
mog has joined #nixos
pareidolia has joined #nixos
ShalokShalom has joined #nixos
adamCS has joined #nixos
_habnabit has joined #nixos
martinklepsch has joined #nixos
danyc0 has joined #nixos
pSub has joined #nixos
mk-fg has joined #nixos
nadley has joined #nixos
pSub has quit [(Changing host)]
pSub has joined #nixos
felipedvorak has joined #nixos
michalrus has joined #nixos
tilpner has joined #nixos
h30 has joined #nixos
kyren has joined #nixos
zetok has joined #nixos
mitchty has joined #nixos
mk-fg has quit [(Changing host)]
mk-fg has joined #nixos
krav_ has joined #nixos
fiddlerwoaroof has joined #nixos
unlmtd has joined #nixos
joehh has joined #nixos
chris|_ has joined #nixos
[0__0] has joined #nixos
lpsmith has joined #nixos
fiddlerwoaroof has quit [(Remote host closed the connection)]
bgamari has joined #nixos
alpounet has joined #nixos
catern has joined #nixos
justanotheruser has joined #nixos
fiddlerwoaroof has joined #nixos
marcinkuzminski has joined #nixos
hke has joined #nixos
kriztw has joined #nixos
Ankhers has joined #nixos
hamishmack has joined #nixos
taktoa has joined #nixos
sauyon1 has joined #nixos
<taktoa>
uh, clever just got banned from freenode
clever has joined #nixos
baroncha1lus has joined #nixos
<clever>
seems its already expired
grw3 has joined #nixos
ison111_ has joined #nixos
<jeaye>
Most people did.
<taktoa>
:O
Enzime has joined #nixos
gchristensen has joined #nixos
Olgierd has joined #nixos
kier has joined #nixos
schoppenhauer has joined #nixos
MarcelineVQ has joined #nixos
Guest47928 is now known as pop
pop has quit [(Changing host)]
pop has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Read error: Connection reset by peer)]
filterfish has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
MinceR has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
cornu[m] has joined #nixos
jyp[m] has joined #nixos
ArdaXi[m] has joined #nixos
baconicsynergy[m has joined #nixos
TimePath has joined #nixos
abbafei[m] has joined #nixos
berot3[m] has joined #nixos
revoltmedia[m] has joined #nixos
peterhoeg has joined #nixos
aspiwack[m] has joined #nixos
xj9[m] has joined #nixos
cwopel has joined #nixos
bachp has joined #nixos
NickHu has joined #nixos
primeos[m] has joined #nixos
sirius[m] has joined #nixos
regnat[m] has joined #nixos
puffnfresh has joined #nixos
hendrik[m]1 has joined #nixos
mith[m] has joined #nixos
Naughtmare[m] has joined #nixos
timclassic has joined #nixos
davidar has joined #nixos
Kallegro[m] has joined #nixos
M-liberdiko has joined #nixos
aniketd[m] has joined #nixos
wak-work has joined #nixos
octalsrc[m] has joined #nixos
Drakonis[m] has joined #nixos
matrixkrav has joined #nixos
sudoreboot[m] has joined #nixos
AlanPearce[m] has joined #nixos
Exee7uvo[m] has joined #nixos
olejorgenb[m] has joined #nixos
Geeky[m] has joined #nixos
myklam[m] has joined #nixos
Elephant454[m] has joined #nixos
copumpkin has joined #nixos
reactormonk[m] has joined #nixos
herzmeister[m] has joined #nixos
spacekitteh[m] has joined #nixos
florianjacob has joined #nixos
thematter[m] has joined #nixos
magnap has joined #nixos
sargon[m] has joined #nixos
necronian has joined #nixos
Wysteriary[m] has joined #nixos
Yaniel has joined #nixos
Sovereign_Bleak has joined #nixos
edef[m] has joined #nixos
benkolera has joined #nixos
hl has joined #nixos
offlinehacker[m] has joined #nixos
spawnthink[m] has joined #nixos
pstn has joined #nixos
bhipple[m] has joined #nixos
WinterFox[m] has joined #nixos
BurNiinTRee[m] has joined #nixos
Guest7639 has joined #nixos
dtz has joined #nixos
indefini has joined #nixos
bennofs[m] has joined #nixos
mtncoder[m] has joined #nixos
dash has joined #nixos
sk23[m] has joined #nixos
zimbatm has joined #nixos
Ralith has joined #nixos
kainospur[m] has joined #nixos
scott2 has joined #nixos
ycy[m] has joined #nixos
dibblego[m] has joined #nixos
DIzFer[m] has joined #nixos
Barnabas[m] has joined #nixos
musicmatze[m] has joined #nixos
qrilka[m] has joined #nixos
danielrf has joined #nixos
retrry[m] has joined #nixos
etcinit[m] has joined #nixos
sphalerite has joined #nixos
bendlas has joined #nixos
dalaing has joined #nixos
jack[m] has joined #nixos
hedning[m] has joined #nixos
wmertens[m] has joined #nixos
lecorpsnoir[m] has joined #nixos
Kirill[m] has joined #nixos
admin[m] has joined #nixos
JameySharp[m] has joined #nixos
adisbladis[m] has joined #nixos
yochai[m] has joined #nixos
AdamSlack[m] has joined #nixos
jsv[m] has joined #nixos
rnhmjoj[m] has joined #nixos
rycee[m] has joined #nixos
seif[m] has joined #nixos
chominist[m] has joined #nixos
trikl[m] has joined #nixos
Oo[m] has joined #nixos
a123123123[m] has joined #nixos
tommyangelo[m] has joined #nixos
qtness[m] has joined #nixos
StuK[m] has joined #nixos
Khorne[m] has joined #nixos
eqyiel[m] has joined #nixos
corngood has joined #nixos
M-fishy has joined #nixos
ninegua[m] has joined #nixos
icetan has joined #nixos
AmineChikhaoui[m has joined #nixos
mhsjlw[m] has joined #nixos
Dezgeg[m] has joined #nixos
sziszi[m] has joined #nixos
jlle[m] has joined #nixos
hamishmack has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] sanghakchun opened pull request #28330: displaylink: use requireFile instead of fetchurl (master...fix/displaylink-fix-src) https://git.io/v7Ayt
ryantm has quit [(Quit: Connection closed for inactivity)]
layus has joined #nixos
page has joined #nixos
ertes-w has joined #nixos
bkchr has joined #nixos
niksnut has joined #nixos
kuznero has joined #nixos
<kuznero>
Hi All!
<kuznero>
How often new packages from Hackages are getting included into nixos-17 stable channel?
MP2E has quit [(Ping timeout: 240 seconds)]
babic has joined #nixos
<kuznero>
More specifically I am looking at the latest amqp-0.16.0...
MP2E has joined #nixos
ben_ has joined #nixos
ben_ is now known as ben__
slyfox has joined #nixos
ben__ is now known as ben___
ben___ is now known as ben
<babic>
In the configuration is it possible import a file/directory only if it exists? My google-fu produced no results :(. I want to use it to increase the sepearation between work related configuration and my personal stuff.
rtjure has quit [(Ping timeout: 264 seconds)]
rtjure has joined #nixos
betaboon has joined #nixos
joehh has quit [(Ping timeout: 240 seconds)]
Guest53250 has quit [(Remote host closed the connection)]
newhoggy_ has joined #nixos
betaboon has quit [(Quit: This computer has gone to sleep)]
roundhouse has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
benley has quit [(K-Lined)]
nixy has quit [(K-Lined)]
shlevy has quit [(K-Lined)]
todder has quit [(K-Lined)]
ahmedtd_ has quit [(K-Lined)]
patrickmn has quit [(K-Lined)]
takle has joined #nixos
shlevy has joined #nixos
nixy has joined #nixos
ahmedtd has joined #nixos
todder has joined #nixos
benley has joined #nixos
pmn has joined #nixos
newhoggy_ has quit [(Ping timeout: 246 seconds)]
Nazral has joined #nixos
Bane^ has quit [(Ping timeout: 260 seconds)]
bennofs has joined #nixos
charlycoste has joined #nixos
Bane^ has joined #nixos
betaboon has joined #nixos
betaboon has quit [(Changing host)]
betaboon has joined #nixos
sary has quit [(Ping timeout: 240 seconds)]
endformationage has quit [(Quit: WeeChat 1.9)]
MP2E has quit [(Quit: leaving)]
kiloreux has joined #nixos
ison111_ has quit [(Ping timeout: 264 seconds)]
goibhniu has joined #nixos
goibhniu has quit [(Changing host)]
goibhniu has joined #nixos
roberth has joined #nixos
kochev has joined #nixos
benley has quit [(K-Lined)]
todder has quit [(K-Lined)]
pmn has quit [(K-Lined)]
ahmedtd has quit [(K-Lined)]
nixy has quit [(K-Lined)]
benley has joined #nixos
todder has joined #nixos
nixy has joined #nixos
ahmedtd has joined #nixos
pmn has joined #nixos
eacameron has joined #nixos
ixxie has joined #nixos
<ixxie>
morning
<ixxie>
domenkozar, are you around?
<domenkozar>
hey
<domenkozar>
yes
jensens has joined #nixos
<ixxie>
cool
<ixxie>
so, yesterday I started some work in organizing the NixOS user wiki
eacameron has quit [(Ping timeout: 240 seconds)]
<ixxie>
then I took a closer look at your cookbook
<ixxie>
and it occured to me that its a shame to have a split effort since these are both serving roughly the same purpose
filterfish has quit [(Ping timeout: 246 seconds)]
<ixxie>
so I was wondering if you ever considered joining efforts with the wiki, or if you have a reasoning for why its a seperate project
<ixxie>
domenkozar: and I was also wondering about the choice of format; I saw gchristensen chose docbook format aswell for porting the nixpills, I am personally more prone to choose markdown for simplicity and I am curious about the advantages of docbook in this context
thc202 has joined #nixos
<domenkozar>
docbook sux, it's time consuming to edit
<domenkozar>
I want to focus on content, not stupid xml rules
<domenkozar>
I'm fine if you make PRs to the nix-cookbook
<domenkozar>
I'm also fine if you copy stuff elsewhere :)
<domenkozar>
but I've had enough of wikis in my life
<domenkozar>
I believe in peer reviewed docs
kochev has quit [(Ping timeout: 240 seconds)]
<domenkozar>
with simple markup
vandenoever has joined #nixos
vandenoever has quit [(Changing host)]
vandenoever has joined #nixos
<domenkozar>
ixxie: I hope that I've answered your question :)
<ixxie>
domenkozar: the format you use is what exactly?
<domenkozar>
it's restructured text
<domenkozar>
simply because it has better tooling
<domenkozar>
you can do cross-references, language pragmas, etc
<ixxie>
you prefer it over markdown?
jophish has joined #nixos
<domenkozar>
yes, although I'm biased since it's mostly used in python land
<ixxie>
ill think about this domenkozar, I wonder if these some way to keep the cookbook and wiki distinct but cooperative (e.g. use the wiki as the bleeding edge for the cookbook)
<domenkozar>
we just need heros to take the effort
<domenkozar>
the first rule of improving documentation is to give effort :)
<makefu>
not sure how to lure them with xml
<makefu>
maybe we can train an AI to improve our documentation
<domenkozar>
it would end up beeing xmleese
<domenkozar>
a mixture of cheese and xml
<domenkozar>
maybe it translates nix to nothing
<domenkozar>
and just removes it all
<makefu>
removing all documentation might actually be a good thing
<srhb>
Has anyone tried packaging a Unity3d game and experienced no available screens in the screen selector?
<srhb>
(ie. an empty dropdown)
charlycoste has quit [(Quit: Leaving.)]
kiloreux has quit [(Ping timeout: 240 seconds)]
<Profpatsch>
domenkozar: makefu Last time I looked, many chapters of the manual were written in markdown.
erictapen has joined #nixos
<niksnut>
Profpatsch: and they shouldn't be
<Profpatsch>
oh, wow. :)
<niksnut>
markdown is shit
<makefu>
well that didn't help
<Profpatsch>
niksnut: Do you have a hilight on markdown? :D
<hyper_ch>
if there was a smart algorithm that would just generated prefect documentation from the source code...
<niksnut>
markdown is fine for writing blog posts and comments, not for technical documentation
<Profpatsch>
niksnut: My biggest problem with the manual right now is that it discourages small edits.
<Profpatsch>
XML tooling is (and always has been) a false flag.
<Profpatsch>
It just doesn’t exist in a working way.
<niksnut>
it works a lot better than markdown tooling
<Profpatsch>
And I’m already using Emacs, didn’t help in the least (without trying to install $mode)
ylwghst has joined #nixos
<niksnut>
my editor (emacs) tells me what elements are allowed in what contexts, whether my document is valid, etc.
<Profpatsch>
My emacs doesn’t
<Profpatsch>
But then I haven’t spent hours telling it to.
<makefu>
niksnut: do you have a code snippet for previewing the docs you edited without rebuilding the whole manual? that would be very nice
<Profpatsch>
If there is easily accessible tooling that made editing simple, I’m all for it.
<niksnut>
whereas when editing markdown, I have to trust that every character I type isn't going to be interpreted in some special way by the regexps that make up that "language"
ylwghst has quit [(Client Quit)]
ylwghst has joined #nixos
<srhb>
There have actually been made great strides to standardize a markdown dialect so that it isn't a "language" but a language (but it probably still does not qualify)
<Profpatsch>
niksnut: Does it also tell you when you make a mistake in the ad-hoc string environments of option descriptions?
<srhb>
I think they were pioneered by the pandoc people.
<niksnut>
also, with markdown, I can never remember what magic sequence of characters performs a particular markup effect
<niksnut>
Profpatsch: unfortunately not
<tv>
hyper_ch: does the identity function qualify? :)
<Profpatsch>
Next thing: The manual doesn’t cache anything right now, so changing an option and rebuilding takes half a minute to see anything.
<hyper_ch>
tv: no idea what that is :)
<tv>
hyper_ch: f(x) = x
<Profpatsch>
I already built myself simple tooling that rebuilds on refresh, but the turnaround is still very high.
<niksnut>
Profpatsch: but that's still a better situation than if option descriptions were in markdown, because you get an error message if you screw up the markup
<hyper_ch>
tv: I'm a very basic computer user.... that is too complicated for me
<Profpatsch>
Nothing will happen if something bold is italic or the other way around.
<Profpatsch>
You write it, you check it once, and that’s it.
ylwghst has quit [(Client Quit)]
ylwghst has joined #nixos
<Profpatsch>
As long as it’s very simple, it’s ok. And yes, LaTeX is the prime example of what to *not* do with ad-hoc markup macros.
<niksnut>
LaTeX at least is less verbose than DocBook (e.g. \chapter{Foo} instead of <chapter>Foo</chapter>), but yeah, TeX in general is a terrible language
takle has quit [(Remote host closed the connection)]
<domenkozar>
niksnut: markdown/rest also error out if markup is wrong
<domenkozar>
unless you do a semantic error
<domenkozar>
which you can do in docbook as weell
<domenkozar>
ofc docbook has more precision
erictapen has quit [(Ping timeout: 240 seconds)]
<domenkozar>
but at great cost :)
<domenkozar>
but it's not like an arbitrage bot where 1B$ is at stake
<domenkozar>
it's a UI thing in docs
<makefu>
precision is great for code but not for documentation as two things serve a different purpose
<srhb>
Nonsense, precision is great for both. The problem is the cost alone.
ylwghst has quit [(Client Quit)]
michaelpj_ has joined #nixos
<domenkozar>
well you need to make trade offs
* __Sander__
agrees with niksnut
<__Sander__>
I have actually been using both
<__Sander__>
docbook and markdown
<domenkozar>
have you used rest?
<__Sander__>
markdown is ok for small notes
<domenkozar>
we all agree markdown is simplistic
<domenkozar>
but rest has the markup that would be sufficient for nix
<__Sander__>
but for writing down more detailed instructions/manuals docbook is a lot better
<niksnut>
domenkozar: how would it know I made an error? In docbook, you get an error if you say <emph> instead of <emphasis>.
<niksnut>
With markdown, if you use the wrong magic character (because I can never remember if it's _ or * or whatever), it's all accepted
<domenkozar>
rest has things like :ref:`bla`
<domenkozar>
and it would error out if bla doesn't exist
<Profpatsch>
Do not forget it’s not just Markdown vs Docbook
<Profpatsch>
There’s asciidoc and RST, too.
<domenkozar>
so in rest/RST you could implement nix domain
<makefu>
niksnut: so is this really an issue? worst case is you look at the documentation and edit again, no?
<domenkozar>
where it would reference nix functions
<domenkozar>
and check if function really exists, etc
<srhb>
Hm, that derivation with the unity problem worked with steam-run. I wonder what kind of magic it works that I couldn't figure out just from ldd'ing all the .sos
<niksnut>
makefu: well, that requires building the docs, opening it in a browser, scrolling to the right place
<jophish>
One of my coworkers was horrified at: " users.users.root.password = "a";
<pierron>
TeX is a terrible language, because the evaluation can change the tokenizer behaviour.
<niksnut>
domenkozar: rest == restructedtext?
<domenkozar>
yes
<domenkozar>
== RST
<makefu>
niksnut: what you will do in any case. that is what i meant when i asked for your tooling to build live documentation without building the whole manual
jensens has quit [(Ping timeout: 240 seconds)]
rmarko is now known as srk
joehh has joined #nixos
<michaelpj_>
I edited the manual a bit recently, I thought the docbook was fine
<michaelpj_>
but I do find RST's extensibility features appealing
<niksnut>
makefu: usually I don't. If nxml-mode says the file is valid, then there's no need to build it
<michaelpj_>
if we could actually have checked cross-references into nix source that would be really nice
ThatDocsLady has joined #nixos
<domenkozar>
RST allows you to very easily cross-reference docs
<niksnut>
ah, the docs expert just joined :-)
<domenkozar>
:P
<pierron>
makefu: live documentation? what does that mean?
<domenkozar>
niksnut: I think your concern with markdown doesn't apply to RST, at least I haven't seen it in my 10 years writing it
<domenkozar>
in practice
<makefu>
pierron: well, seeing documentation you just edited in a rendered form
<pierron>
domenkozar: I honestly don't like the open matching syntax for the same reasons. Why adding closing and opening tags with simetrical chracters such as ===, this sounds error prone.
<pierron>
s/simertrical/symetrical/
<pierron>
docbook might be verbose, it is at least well scoped.
<domenkozar>
sure, I can't argue with syntax
<domenkozar>
I'm sure many won't like it, as I don't like docbook/xml
<niksnut>
maybe we should go back to SGML, which has all those minimization features that XML omitted :p
<niksnut>
domenkozar: I don't like it either, but I dislike it less than the alternatives
<bennofs>
what's the make command to build the docs for nix?
edef_ has joined #nixos
<niksnut>
bennofs: iirc make doc/manual/manual.html, but I always just run make
<Avaq>
Hello. Can somebody help me understand how to use nix-shell? I must be doing something wrong:
<Avaq>
$ nix-shell -p nodejs-7_x
<Avaq>
error: undefined variable ‘nodejs-7_x’
<Avaq>
$ nix-shell -p nixos.nodejs-7_x
<Avaq>
error: undefined variable ‘nixos’
<Avaq>
$ nix-shell -p nodejs-7.10.1
<Avaq>
error: syntax error, unexpected INT, expecting ID or OR_KW or DOLLAR_CURLY or '"'
<tv>
Avaq: You're probably using a nixpkgs version that doesn't contain nodejs-7_x, because `nix-shell -p nodejs-7_x` should work
<Avaq>
$ nix-env -qaP nodejs | grep 7
<Avaq>
nixpkgs.nodejs-7_x nodejs-7.10.1
<bennofs>
niksnut: what do you think about docbook being hard to setup? especially if you don't use nix-shell to set it up
<Avaq>
Does the above line contradict your assumption, tv? Maybe nix-shell is strictly trying to read from my "nixos" chanel?
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
<makefu>
well, that discussion about markup languages went nowhere. unfortunately we still have shitty documentation
mpcsh has joined #nixos
takle has joined #nixos
<goibhniu>
maybe it would help to have a nix expression for installing a fully configured editor just for nix docs
<bennofs>
goibhniu: i don't like having my editor inside nix-shell, unfortunately
<makefu>
bennofs: use nix-env -i
filterfish has joined #nixos
<makefu>
or install it via users.users.<name>.packages
<goibhniu>
sure, but if you don't want to spend time configuring your editor but quickly want to edit some docs, it could be handy
<tv>
Avaq: nix-shell is using nixpkgs from your $NIX_PATH variable. Have a look at that variable, and possibly call nix-shell -I nixpkgs=/path/to/some/nixpkgs -p nodejs-7_x
<tv>
IOW, no, it doesn't contradict my assumption, but then I don't know how you've set up your system :)
nwuensche has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
<tv>
nix-env in contrast uses ~/.nix-defexpr (had to look that up in the manual, as I'm not using nix-env)
filterfish has quit [(Read error: Connection reset by peer)]
<Avaq>
tv: My NIX_PATH contains nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs, which I believe points to a channel "nixos", which has a version of nixpkgs that doesn't contain nodejs-7_x, as shown by `nix-env -qaP nodejs | grep 7`. So I guess that's the problem.
babic has quit [(Ping timeout: 255 seconds)]
edef_ has quit [(Quit: Reconnecting)]
edef_ has joined #nixos
edef_ is now known as edef
takle has joined #nixos
<Avaq>
$ nix-shell -I nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixpkgs/default.nix -p nodejs-7_x # That one works.
nwuensche has quit [(Quit: Leaving)]
<tv>
you probably have to update your nixos channel in order for nix-shell to work without -I then (see nix-channel --help)
<Avaq>
tv: If you mean running `nix-channel --update`, I did do that before. And even earlier today I did `nixos-rebuild switch --upgrade`, which I believe does the same.
Neo-- has joined #nixos
erictapen has joined #nixos
<Avaq>
Oh, I just --update 'd my nixpkgs chanel, and it too now contains no nodejs-7_x o.0
alphor has quit [(Ping timeout: 255 seconds)]
AmineChikhaoui[m has quit [(Ping timeout: 255 seconds)]
mhsjlw[m] has quit [(Ping timeout: 255 seconds)]
icetan has quit [(Ping timeout: 255 seconds)]
yochai[m] has quit [(Ping timeout: 255 seconds)]
bhipple[m] has quit [(Ping timeout: 255 seconds)]
peterhoeg has quit [(Ping timeout: 255 seconds)]
BurNiinTRee[m] has quit [(Ping timeout: 255 seconds)]
offlinehacker[m] has quit [(Ping timeout: 255 seconds)]
Kallegro[m] has quit [(Ping timeout: 255 seconds)]
bachp has quit [(Ping timeout: 255 seconds)]
ArdaXi[m] has quit [(Ping timeout: 255 seconds)]
benkolera has quit [(Ping timeout: 255 seconds)]
Nycatelos has quit [(Ping timeout: 255 seconds)]
danbst1 has quit [(Ping timeout: 255 seconds)]
<makefu>
*dramatic chipmunk*
nixy has quit [(Ping timeout: 255 seconds)]
myklam[m] has quit [(Ping timeout: 255 seconds)]
dibblego[m] has quit [(Ping timeout: 255 seconds)]
baconicsynergy[m has quit [(Ping timeout: 255 seconds)]
Mic92 has quit [(Ping timeout: 255 seconds)]
AmineChikhaoui[m has joined #nixos
icetan has joined #nixos
peterhoeg has joined #nixos
yochai[m] has joined #nixos
mhsjlw[m] has joined #nixos
ahmedtd has quit [(Ping timeout: 255 seconds)]
jlle[m] has quit [(Ping timeout: 255 seconds)]
jyp[m] has quit [(Ping timeout: 255 seconds)]
CustosLimen has quit [(Ping timeout: 255 seconds)]
TheAppleMan has quit [(Ping timeout: 255 seconds)]
ahmedtd has joined #nixos
rahul has joined #nixos
rahul has left #nixos []
danbst1 has joined #nixos
marcinkuzminski has quit [(Ping timeout: 260 seconds)]
newhoggy has quit [(Remote host closed the connection)]
alphor has joined #nixos
CustosLimen has joined #nixos
Nycatelos has joined #nixos
marcinkuzminski has joined #nixos
eacameron has joined #nixos
dredozubov has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
dredozubov has joined #nixos
bhipple[m] has joined #nixos
BurNiinTRee[m] has joined #nixos
offlinehacker[m] has joined #nixos
Kallegro[m] has joined #nixos
benkolera has joined #nixos
bachp has joined #nixos
baconicsynergy[m has joined #nixos
dibblego[m] has joined #nixos
myklam[m] has joined #nixos
jlle[m] has joined #nixos
jyp[m] has joined #nixos
ArdaXi[m] has joined #nixos
Mic92 has joined #nixos
nixy has joined #nixos
gsora has quit [(Quit: uh-oh!)]
cpennington has joined #nixos
Mateon2 has joined #nixos
thc202 is now known as help
help is now known as thc202
NightTrain has joined #nixos
filterfish has joined #nixos
<gchristensen>
domenkozar: not to _ugh_ re-stir the docs debate, and I really don't want to
<gchristensen>
domenkozar, niksnut: but I've managed to convince 4 people to learn enough docbook to port nix pills, and not a one was too complainy about docbook :P
<bennofs>
gchristensen: i have one question: how do you install docbook? :)
<gchristensen>
domenkozar: also: I found having my editor properly configured made our docs _much_ easier to edit
<gchristensen>
bennofs: I dunno, I run `nix-build`.
<bennofs>
i would really like to get docbook running outside of a nix env as well
<mpickering>
Is there a good way to freeze a project to a certain nixpkgs commit without cloning nixpkgs?
<mpickering>
I want my project to continue to build in the same way forever, updating nixpkgs is dangerous
cfricke has quit [(Client Quit)]
simukis has joined #nixos
<gchristensen>
how is it dangerous?
wrl has joined #nixos
<gchristensen>
you can import builtins.fetchtarball on a github link of a commit
<S0rin>
mpickering: you can by overriding the version with an overlay you control but if other package need that package you wish to fis them tooo
seanparsons has quit [(Remote host closed the connection)]
<gchristensen>
but I'm concerned you find updating dangerous. why do you say that?
<mpickering>
Because the versions of haskell packages change for example
newhoggy has quit [(Remote host closed the connection)]
<mpickering>
or the versions of anything can change and break the build.
<S0rin>
I do it for wine to use the unstable version on a stable system, once the syntax is done it is pretty simple you can aply the same to fix any package on a specific version with that
newhoggy has joined #nixos
<gchristensen>
having to fix a build now and again seems better than being on dangerously insecure software
andymandias has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<S0rin>
mpickering: yes but you could want to upgrade at least for security sake one day so the overlay give you that option and it can be used on multiple setups
bpa has joined #nixos
seanparsons has joined #nixos
jellowj has quit [(Ping timeout: 240 seconds)]
<layus>
mpickering, It is about pinning a certain version of nixpkgs to make it independent of the current nixos/nixpkgs channel version.
newhoggy has quit [(Ping timeout: 255 seconds)]
<mpickering>
S0rin: I have not used overlays before, is the section in the user manual good?
<layus>
It was recently improved. I've seen a commit on master for that.
<mpickering>
gchristensen: You have a point, but for the goal of reproducible research, you want to pin everything
<gchristensen>
I do agree
newhoggy has joined #nixos
<layus>
Then you fall in the use case of garbas
<S0rin>
mpickering: oh the doc was not the best when I did it, but I asked here and some helped me to find a way, but it works and it is not so hard
NightTrain has quit [(Quit: Lost terminal)]
<mpickering>
How big is a nixpkgs clone?
<adisbladis>
mpickering: Mine is 83M
<mpickering>
ok cheers
<mpickering>
S0rin: I don't really understand your approach yet :) Which is why I want to look at documentation
<mpickering>
People here are always very very helpful and I wouldn't have been able to learn without you
jellowj has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] kiloreux opened pull request #28337: libquvi-scripts init at 0.9.2 (master...libquvi-scripts) https://git.io/v7xCh
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
Tucky has joined #nixos
<mpickering>
So overlays are like packageOverrides but somehow more flexible and easier to use
<domenkozar>
yup
jensens has quit [(Ping timeout: 255 seconds)]
<S0rin>
mpickering: Yes I can also share what I learned so basically you add an overlay (let's say local), then you add it to you nixPath (in /etc/nixos/configuration.nix), give it an alias like unstable, then you can override a package with that version it use a packageOverrides = pkgs.wine { wine = unstable.wine.override {}}; for wine
<S0rin>
mpickering: The docs should be more up to date than my use case, so read them first
<gchristensen>
if your dyno gets hit every 30min it stays awake forever, and if you do that you'll go over the free tier
<domenkozar>
ah :)
nh2 has joined #nixos
<BlessJah>
LnL: I plan to add some colors to hilight differences.
lejonet has joined #nixos
<gchristensen>
it is okay though, not too difficult to fetch the extra info I need
<gchristensen>
I need to rewrite it in not bash though
freusque has joined #nixos
<lejonet>
Hi, I dunno if this is an attribute of me sucking/not getting nixos yet, but is it supposed to be the case that you need to reboot to realize configuration changes related to adding kernel modules?
dtzWill has joined #nixos
<lejonet>
Or is that an attribute of me importing the hardening.nix module?
jellowj has quit [(Ping timeout: 240 seconds)]
<BlessJah>
domenkozar: you could try to utillize always free tier from aws lambda or gce gcf
<gchristensen>
I'd rather pay for his dyno and get the time he'd spend doing maintenance back for nixos :P
<BlessJah>
gchristensen: verified accounts seem to receive 1kh per month (30*24=720), unverified 550h
<BlessJah>
I might be misreading though, I have no idea what dyno-hour is and if you can utilise more that one dyno-hour per hour
<Ankhers>
gchristensen: Did you just setup a new repo for nixos/nix-pills?
<Ankhers>
I mean, did you fork or setup a new repo?
<gchristensen>
it was made as a new repo
<Ankhers>
Ok. That just makes it harder to send in PRs for it. Since it isn't technically a fork, GH won't let me send the PR in. That's fine though.
<gchristensen>
oh!
<gchristensen>
if you send PRs to the old one, I can merge and push
<Ankhers>
Are you sure? I don't mind doing the workaround.
<gchristensen>
I'm sorry, I hadn't considered that
<gchristensen>
I don't mind either way, it is very simple for me to do that (I have them both setup as remotes on my local clone) but also if you send PRs to the new one, you'll get PR #1 :P
Ivanych has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
takle has quit [(Remote host closed the connection)]
cpennington has joined #nixos
sellout- has quit [(Quit: Leaving.)]
sellout- has joined #nixos
<Ankhers>
I think I actually got PR's 1 and 2 of the original repo too :P
<gchristensen>
:)
<gchristensen>
I didn't even think to have the old one moved
jellowj has joined #nixos
<Ankhers>
And first, again...
sellout- has quit [(Ping timeout: 240 seconds)]
<Ankhers>
gchristensen: What are your thoughts on having a nix evaluation bot in this channel?
<gchristensen>
what would it do?
<gchristensen>
like !n let add = x: y: x + y; in add 1 2 -> "3" ?
<Ankhers>
yes.
<Ankhers>
Someone mentioned how it would be nice to be able to do stuff like that in the channel.
<disasm_>
gchristensen: 16 done, should I keep going or let some other people have some fun?
<Ankhers>
May be able to help if you can just write simple expressions when people ask questions.
eschnett has joined #nixos
<gchristensen>
disasm_: _I'm_ not going to ask you to stop :P
disasm_ is now known as disasm
<gchristensen>
Ankhers: it sounds neat, though we'd probably want to disallow creation of derivations, and I'm not sure how to do that
newhoggy has quit [(Remote host closed the connection)]
<Ankhers>
Yeah.. sphalerite showed me how people could kill my computer :S
<gchristensen>
oh yeah? :D
<Ankhers>
I built something really quick that just shells out to nix-instantiate --eval -E cmd
<Ankhers>
But I just figured I would get the opinion of some of this channels ops before continuing on it.
rauno has quit [(Ping timeout: 240 seconds)]
jellowj has quit [(Ping timeout: 255 seconds)]
jellowj has joined #nixos
<Ankhers>
I wouldn't want to introduce a bot that people just thought was noise.
freusque has quit [(Ping timeout: 255 seconds)]
<gchristensen>
even with --read-only you'd be able to read files off disk: nix-instantiate --readonly-mode --eval -E 'builtins.readFile ./test.php'
<Ankhers>
I passed the safeEval option or whatever it was.
<gchristensen>
oh? what is that?
<Ankhers>
--option restrict-eval
<Ankhers>
That prevents it from reading files.
<gchristensen>
oh cool
<Ankhers>
well, files outside the nix store I believe.
<gchristensen>
some concerns is (1) making sure it never emits more than 1 line of output per input, (2) spam/abuse prevention (3) harming your computer
<Ankhers>
But you can still forkbomb and stuff like that.
<gchristensen>
how?
<Ankhers>
I don't remember the command. You would have to ask sphalerite.
<disasm>
gchristensen: I can't believe I've been scared of docbook this long, lol :)
<gchristensen>
disasm: it isn't bad, right?
<Ankhers>
docbook is actually really easy.
<Ankhers>
Especially with the help of snippets.
<gchristensen>
domenkozar, niksnut ^ :D
<disasm>
Ankhers: yeah, ultisnips makes it go super fast :)
<disasm>
gchristensen: I think I prefer it to markdown for documentation now :)
<Ankhers>
I think the hardest part for me at this point is deciding if I should be using code, command, etc tags.
<gchristensen>
disasm: !!!!!
thaega has joined #nixos
<Ankhers>
gchristensen: 1 line of output is easy. Spam/abuse should be easy enough, harming my computer is the hard part. But I was thinking about throwing it on AWS, so if it kills the computer, it isn't the end of the world.
roundhouse has quit [(Ping timeout: 240 seconds)]
sellout- has joined #nixos
<disasm>
gchristensen: are we planning on getting styles for <package> tag at some point?
<disasm>
I notice my packages look like regular text :)
<gchristensen>
maybe :P
<gchristensen>
let's talk after my work, 4:30pm america/new_york
<romildo>
When trying to build pythonefl I am getting the error: format not a string literal and no format arguments [-Werror=format-security], even with an explicit -Wno-format-security being given to gcc. Why it is not being obeyed? Also where the option -Werror=format-security is coming from and how I disable it?
<freusque>
When I make changes to this local ../nixpkgs repository, namely to the container start scripts, they are not reflected on the deployed container.
<freusque>
The goal is having NET_ADMIN capability on the deployed container.
newhoggy has quit [(Ping timeout: 248 seconds)]
<freusque>
Why are these changes not used? is there anything I'm missing on how this works?
ebzzry_ has quit [(Ping timeout: 240 seconds)]
<freusque>
and also, is there a way to change container capabilities when using nixops?
goibhniu1 is now known as goibhniu
newhoggy has joined #nixos
sigmundv_ has joined #nixos
Rotaerk has quit [(Quit: Leaving)]
newhoggy has quit [(Ping timeout: 248 seconds)]
newhoggy has joined #nixos
rpifan has joined #nixos
ThatDocsLady is now known as ThatDocsLady_afk
newhoggy has quit [(Ping timeout: 255 seconds)]
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 248 seconds)]
ylwghst has joined #nixos
newhoggy has joined #nixos
kuznero has quit [(Quit: Page closed)]
ylwghst has quit [(Client Quit)]
rauno has joined #nixos
rahul has joined #nixos
rahul has left #nixos []
bennofs has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
ylwghst has joined #nixos
betaboon has quit [(Quit: This computer has gone to sleep)]
eacameron has joined #nixos
gnuhurd has quit [(Ping timeout: 255 seconds)]
Guest97908 is now known as shapr
shapr has quit [(Changing host)]
shapr has joined #nixos
jml has quit [(Changing host)]
jml has joined #nixos
jml has quit [(Changing host)]
jml has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
bpa has quit [(Quit: Leaving)]
newhoggy has joined #nixos
takle has joined #nixos
newhoggy has quit [(Ping timeout: 248 seconds)]
brynedwards has joined #nixos
felipedvorak has quit [(Ping timeout: 246 seconds)]
MercurialAlchemi has quit [(Ping timeout: 240 seconds)]
metaphysician has joined #nixos
sigmundv_ has quit [(Ping timeout: 255 seconds)]
newhoggy has quit [(Ping timeout: 240 seconds)]
erasmas has joined #nixos
MoreTea has joined #nixos
newhoggy has joined #nixos
<__Sander__>
lol, I thought some nixpkgs issues were bad: https://webcache.googleusercontent.com/search?q=cache:7kX5VunbdlwJ:https://github.com/microsoft/vscode/issues/32405+&cd=1&hl=en&ct=clnk&gl=br&client=safari
<gchristensen>
wait, what
<gchristensen>
github actually _deleted_ the issue
newhoggy has quit [(Ping timeout: 248 seconds)]
<brynedwards>
his account is gone, it might be that?
Jackneill has quit [(Read error: Connection reset by peer)]
<canndrew>
where does the NIX_CC environment variable get set? is that only available in nix script?
<canndrew>
it's not set in my shell at the moment
<peterhoeg>
as part of the stdenv hook magic
<makefu>
peterhoeg: and the cheat-code for adding required libs to the binary?
<peterhoeg>
--set-rpath "${stdenv.lib.makeLibraryPath [ foo bar baz ]}"
Jackneill has joined #nixos
<canndrew>
hmm, is there a way to get a path to the linker from outside nix?
<canndrew>
i can do ldd /bin/sh | grep ld-linux ...
<peterhoeg>
cannandrew: why would you need it outside?
<peterhoeg>
makefu: the rpath bit was for you
<makefu>
thanks :)
newhoggy has quit [(Ping timeout: 240 seconds)]
<peterhoeg>
canndrew: aren't you always running patchelf as part of building something?
ZoomZoomZoom has quit [(Quit: Leaving)]
<canndrew>
peterhoeg: well, i don't use nix for absolutely everything on my machine. I realise if I fix a binary with patchelf, and that binary is outside of the store, then it might break later.
<canndrew>
peterhoeg: no, because i'm lazy and I don't use nixos properly
<peterhoeg>
Ahh....
<canndrew>
is there a simpler way than ldd /bin/sh |grep | awk | etc.. ? coz that's what i've been doing.
<bennofs>
copumpkin: you could also use frida or some other dynamic binary instrumentation to hook it... may not be that hard, actually
<copumpkin>
well, where does the seccomp policy live?
<copumpkin>
might be easiest to just eyeball it
<copumpkin>
hmm
newhoggy has joined #nixos
<copumpkin>
yeah, found it
<copumpkin>
but doesn't mention anything about utime
ison111_ has joined #nixos
ixxie has joined #nixos
Sonarpulse has quit [(Ping timeout: 240 seconds)]
<copumpkin>
what's weird is that I don't see utime anywhere in my strace output
newhoggy has quit [(Ping timeout: 240 seconds)]
<ixxie>
domenkozar, sorry I had run out so fast, I had to bail earlier
newhoggy has joined #nixos
Filystyn has joined #nixos
Tucky has quit [(Remote host closed the connection)]
<Dezgeg>
maybe the actual system call is differently named (e.g. touch results in a utimensat() call)
<Phillemann>
Can I nixos-rebuild switch and also restart the X server?
newhoggy has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
<copumpkin>
Dezgeg: I know why I'm not seeing the syscall :)
<copumpkin>
Dezgeg: it's in the daemon sigh
* copumpkin
straces that instead
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] volth opened pull request #28347: androidndk: wrap scripts in $out/libexec (master...androidndk-wrap-scripts-in-libexec) https://git.io/v7xAq
NixOS_GitHub has left #nixos []
<dash>
how likely am I to get OpenGL working at all if I have an AMD video card
newhoggy has quit [(Ping timeout: 240 seconds)]
<goibhniu>
dash I think you've a decent shot with the free driver
thblt has quit [(Remote host closed the connection)]
betaboon has quit [(Quit: This computer has gone to sleep)]
orbekk3 is now known as orbekk
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] volth opened pull request #28348: androidsdk: put license hashes to nix store (master...androidsdk-license-hashes-in-nixstore) https://git.io/v7xxU
<bennofs>
copumpkin: timestamps of by a couple of hours sounds like timezone issues
<gchristensen>
you're not root when building, are you?
<copumpkin>
bennofs: it does, except they vary by a couple of hours, and also by sub-second differences
<copumpkin>
gchristensen: no this is inside a nix builder
<gchristensen>
copumpkin: how do you plan on changing a file you're only allowed to read? :)
<copumpkin>
it's pretty weird
<copumpkin>
gchristensen: good point
<gchristensen>
maybe check out how stdenv's unpackPhase makes the source permissions sane
et4te has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
gnuhurd has quit [(Remote host closed the connection)]
gnuhurd has joined #nixos
markus1189 has joined #nixos
<ben>
I don't suppose anyone in here would happen to know if the weekly NixOS meetup in Berlin is still occuring?
newhoggy has joined #nixos
<ben>
(garbas maybe?)
<phdoerfler>
ooh I want a nixos meetup
<ben>
(lassulus?)
<phdoerfler>
but I want it in Nürnberg :>
<lassulus>
ben: oh not today sadly
<lassulus>
i'm out of town, and i guess the rest didn't show up then
<vandenoever>
weekly even, such luxury :-)
<Ankhers>
vandenoever: Why not start one?
<copumpkin>
gchristensen: okay I forgot I was running as root
<Filystyn>
ben since migrants arrived there is only AlluOS meetup
<copumpkin>
so the build is tellign me operation not permitted on that file even though it belongs to root and is +w to root
<gchristensen>
:o
<vandenoever>
Ankhers: i'm not in a very populated area, near Enschede
hke has quit [(Quit: bye)]
<copumpkin>
getfattr also doesn't show anything
<Filystyn>
berlin is turning muslim :)
<Ankhers>
vandenoever: Gotcha.
<vandenoever>
Filystyn: how is that related?
newhoggy has quit [(Ping timeout: 240 seconds)]
<Filystyn>
muslims seem to liek more windows
<ben>
lassulus: idk who michael is but i guess him being permanently signed up on meetup.com isnt indicative of him actually being around
<copumpkin>
Filystyn: take it somewhere else
hke has joined #nixos
<Filystyn>
its true
<copumpkin>
I don't care
<Filystyn>
and it's linux related
<copumpkin>
it has nothing to do with nixos
<Filystyn>
it was
<Filystyn>
nixos is linux
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 closed pull request #25930: enable hydra jobs for some of the darwin only packages (master...darwin-hydra-jobs) https://git.io/vHfpx
NixOS_GitHub has left #nixos []
<Filystyn>
omg im on nixos
<Filystyn>
I was so sure i am on linux
<Filystyn>
nvm guys
<Filystyn>
sorry for making fuss
<lassulus>
ben: nope, he wasn't there the weeks prior
<Filystyn>
<wrong channel>
<ben>
ok, too bad
<ben>
i better bail before the cbase people aim their phasers at me
newhoggy has joined #nixos
betaboon has quit [(Quit: This computer has gone to sleep)]
newhoggy has quit [(Ping timeout: 248 seconds)]
newhoggy has joined #nixos
<copumpkin>
okay, I can't for the life of me work out why I'm getting EPERM on this
Sonarpulse has joined #nixos
bennofs has quit [(Ping timeout: 240 seconds)]
<dash>
Mm, looks like python3 got broken recently. '' nix-shell -p python36 --run "python -c 'import uuid; print(uuid.uuid1())'" '' fails complaining about lack of "_uuid_generate_time"
ylwghst has joined #nixos
pxc has joined #nixos
hotfuzz has joined #nixos
takle has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
hotfuzz_ has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
<copumpkin>
anyone have any idea why I'm getting EPERM when trying to utimesat on files I own and that are technically writeable and don't seem to have any extended attributes on them?
<copumpkin>
can't think of anything else that would block it
<ben>
i dunno what a utimesat is, but does the dir have any funny modes?
elastic_dog has quit [(Ping timeout: 248 seconds)]
<radvendii>
Hey guys, about every other time I `nixos-rebuild switch --upgrade` I end up with errors from haskell packages
<radvendii>
as in, every other time there's an actual upgrade to be performed
<radvendii>
is this a known bug going on?
<magnetophon>
anyone here using mutt with emacs client/server?recently my mutt started opening a new instance of emacs, instead of the one already opened. ideas???
newhoggy has quit [(Ping timeout: 255 seconds)]
LysergicDreams has joined #nixos
mog has quit [(Ping timeout: 248 seconds)]
newhoggy has joined #nixos
Sonarpulse has joined #nixos
roberth has quit [(Ping timeout: 255 seconds)]
newhoggy has quit [(Ping timeout: 240 seconds)]
jellowj has quit [(Ping timeout: 240 seconds)]
<ylwghst>
how should i configure hosts file?
<ylwghst>
only networking.extraHosts ?
jellowj has joined #nixos
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
<dash>
ylwghst: yes
<ylwghst>
dash: can i here anyway include my own file?
<NixOS_GitHub>
[nixpkgs] jpierre03 opened pull request #28356: gnonlin: use httpS to fetch archive (master...pr-gnonlin) https://git.io/v7p2R
NixOS_GitHub has left #nixos []
<copumpkin>
taktoa: and then we protested, and then I think niksnut reverted all the fully modeled autoconf options
<copumpkin>
which I think was part of the impetus for the fork, but I don't know for sure
<taktoa>
was it just that it added way too much variability/complexity to the packages?
<copumpkin>
basically, yeah, it was a ton of flags that we'd never begin being able to test together
<disasm>
ixxie: ah, not docbook :(
newhoggy has joined #nixos
<ixxie>
disasm: its not docbook, its restructured text
<ixxie>
I made the same mistake
<taktoa>
I guess on some level the issue is that if someone toggles a flag and it breaks, they report it to nixpkgs, not upstream
<ixxie>
weird python-land format
<taktoa>
we take responsibility whenever we reflect an autoconf flag in the package
<copumpkin>
it's sort of a goal of nixpkgs thng
<copumpkin>
similar to the "should nxpkgs carry all versions of a package"
<copumpkin>
which was also a contentious queston
<taktoa>
yeah old versions are just a bad excuse for keeping technical debt around
ylwghst has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
hc has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] jpierre03 opened pull request #28357: godot: homepage link with httpS (master...pr-godot) https://git.io/v7pww
NixOS_GitHub has left #nixos []
<Infinisil>
copumpkin: Was the intention of this question to update a package not e.g. from 1.1 to 1.5 but also have all versions inbetween?
<Infinisil>
So 4 commits to do 1.2, 1.3, 1.4 and 1.5?
hc_ has quit [(Ping timeout: 255 seconds)]
<copumpkin>
as I understand it, it was more about whether it was worthwhile for us to build infrastructure to maintain multiple versions of the same thing at the same time, and then informally encourage folks to keep old versions lying around in HEAD (rather than just in nixpkgs git history)
<MoreTea>
how often would you care about some intermediate version?
<copumpkin>
but I wasn't around then
<MoreTea>
If you do care, it's not tooo hard to package yourself
<MoreTea>
ah
newhoggy has joined #nixos
<Infinisil>
To some extent having a commit for every version change allows you to have all versions, you just need to checkout the specific nixpkgs commit with the version you need (and hope it builds)
<Infinisil>
It may be a bit inefficient on space usage though
<disasm>
copumpkin: except for some really important things to have multiple versions around, that sounds like a horrible idea... Imagine of all the default.nix files were really 10 1.x.nix files...
<rauno>
hey
<rauno>
why doesnt boot.kernel.sysctl."net.bridge.bridge-nf-call-ip6tables"=0 work ?
<Infinisil>
disasm: I'd think this would be solved differently, with a bit more abstraction
<disasm>
Infinisil: if you wanted a version that was skipped in nixpkgs, couldn't you just override it yourself? I mean, that's probably what I would do rather than cherry picking commits and checking out old files into a custom nixpkgs.
<rauno>
i can see that they are added to /etc/sysctl.d/nixos.conf but with sysctl -a | grep still shows them active..
newhoggy has quit [(Ping timeout: 255 seconds)]
<LnL>
not sure if that also activates the settings, have you tried to reboot?
<Infinisil>
disasm: I wouldn't expect this to work on older versions
<rauno>
LnL: yep
<rauno>
probably only way to test it
<Infinisil>
disasm: Only works when dependencies and build steps, etc. are the same
rpifan has joined #nixos
<tnks>
is there a way to get nox to search through pythonPackages or haskellPackages?
<tnks>
or I guess even `nix-env -qa`... I think there's a way... I just forget.
greygjhart is now known as s4sha
Ivanych has quit [(Ping timeout: 240 seconds)]
<LnL>
nix-env -f '<nixpkgs>' -qaP -A haskellPackages
<tnks>
LnL oh, I see... what about nox?
<tnks>
I'm trying to make things easier for people new to Nix.
<LnL>
no idea
newhoggy has joined #nixos
<LnL>
but I think nix-index searches everything
betaboon has joined #nixos
<tnks>
LnL: I don't even have nix-index installed... seems like a tool independent from nix-env et al.
<Infinisil>
`nox python36Packages` works for me
sellout- has joined #nixos
<LnL>
yes, so is nox
<copumpkin>
LnL: works fine on this box :(
<tnks>
Infinisil: your right. it does seem to get Python, but not haskellPackages.
<LnL>
same version of nix?
newhoggy has quit [(Ping timeout: 240 seconds)]
<copumpkin>
host version is not
<copumpkin>
it's from 17.03
<copumpkin>
I'll switch to unstable and see
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] jpierre03 opened pull request #28358: gstreamer: fetch archive with httpS instead of http (master...pr-gstreamer) https://git.io/v7pD1
NixOS_GitHub has left #nixos []
<Infinisil>
tnks: Weird
<tnks>
nix-index with no arguments gives me an error that some attribute or another is missing.
<tnks>
I don't think that's surprising. Nixpkgs is a mammoth tree, and I'm sure not all of it is in good working order.
<LnL>
there's an evaluation error in haskellPackages, maybe that's causing issues
<Infinisil>
nixpkgs does seem a bit disorganized, but I guess that's to be expected
<Infinisil>
with so many different people working on it
<rauno>
has anyone idea about the sysctl settings problem i wrote up? couldnt even find anything from google
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/v7pSM
<Infinisil>
nox-review would have prevented that, right?
ladams has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<LnL>
that only looks at the toplevel packages, just like nix-env -q
<Infinisil>
Oh.. Hmm, so what would be the best way to prevent such a thing?
newhoggy has quit [(Ping timeout: 255 seconds)]
ylwghst has joined #nixos
kevincox[m] has joined #nixos
ladams has joined #nixos
kevincox[m] is now known as kevincox
cpennington has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
<LnL>
well I think instead of nox-review, having something just evaluate nixpkgs it probably more useful
Filystyn has quit [(Quit: Konversation terminated!)]
<LnL>
given that nox-review on travis isn't reliable
ylwghst has quit [(Ping timeout: 240 seconds)]
lucasOfBesaid has joined #nixos
<lucasOfBesaid>
Hi, all!
<radvendii>
Hey
<radvendii>
Howzit?
<lucasOfBesaid>
Well, I'm here. So naturally I'm in trouble somehow. ;-) How're you?
takle has joined #nixos
<radvendii>
Haha, same.
newhoggy has quit [(Ping timeout: 248 seconds)]
__Sander__ has quit [(Quit: Konversation terminated!)]
<lucasOfBesaid>
On other distros, the qemu package provides a setuid binary, qemu-bridge-helper (usually in /usr/local/libexec/). Seems like Nixos has shunned all manner of setuid, and this binary in particular is missing from the qemu derivation. I need its functionality. What's the sane way to get it?
<LnL>
there's a nixos module for setuid wrappers
newhoggy has joined #nixos
sellout- has quit [(Quit: Leaving.)]
<radvendii>
I sometimes end up with missing dependency errors for various haskell packages when I upgrade on unstable
ladams has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<radvendii>
Is this some issue with things changing faster than we can keep up?
sary has quit [(Remote host closed the connection)]
sary has joined #nixos
<lucasOfBesaid>
How do I use the setuid wrapper?
newhoggy has quit [(Ping timeout: 240 seconds)]
<LnL>
lucasOfBesaid: probably something like security.wrappers.qemu-bridge-helper.source = "${pkgs.qemu}/bin/qemu-bridge-helper"; in this case
gnuhurd has quit [(Remote host closed the connection)]
<lucasOfBesaid>
The qemu derivation doesn't even bother to build qemu-bridge-helper. Should I modify its default.nix to include something like that?
<tilpner>
In this case, ${pkgs.qemu}/libexec/qemu-bridge-helper
magnetophon has joined #nixos
<LnL>
ah yes
<radvendii>
oh, here's a question: can I have nixos-rebuild not stop on the first failure, but rather keep building all the packages it can and just report which ones failed at the end?
<simpson>
taktoa: I am very supportive of the idea, but as copumpkin points out, Nix itself has a motivation to stay slim.
<copumpkin>
like with the fifo, I can just feed shit into it at various build phases
<copumpkin>
straght from the shell
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 closed pull request #28174: enable hydra jobs for packages x86_64-linux does not support (staging...darwin-in-release) https://git.io/v79EC
NixOS_GitHub has left #nixos []
newhoggy has quit [(Remote host closed the connection)]
<wak-work>
yeah it would be preferable to send text simply for bootstrapping
<wak-work>
unless there was an impure command line interface to do the rpc
<wak-work>
even packed structs wouldn't be bad
<simpson>
Capn Proto is "packed structs" but non-shitty.
<wak-work>
yeah but you are going to be able to speak capnproto from bash
<simpson>
I would absolutely accept a middle-ground JSON, but Capn Proto is very nice for the footprint.
<wak-work>
?
<simpson>
You'd have the $(nix) command do it for you.
<copumpkin>
nix isn't in most builds
<wak-work>
right
<wak-work>
only a shell is
<wak-work>
we could add a special impure set-status binary
<copumpkin>
I just have trouble justifying bringing in a "blazingly fast" serialzation format for something we'll be sending a few messages a second over tops
<copumpkin>
with like two or three pieces of information
<simpson>
Okay, I didn't have the full context of the design; I thought that this was for doing from-the-outside queries of running Nix daemons.
dmj` has joined #nixos
<wak-work>
json would be fine though
<copumpkin>
yeah
<wak-work>
you can easily write json messages from bash even if a little tedious
<simpson>
Agreed, JSON's much better for this.
<copumpkin>
I was just proposing that the builder set up a fifo for each build so that the build can send stuff over t
<wak-work>
basically text would be fine
<copumpkin>
like I really just want a status and a number, with the option of an indeterminate number of steps (still wth a status message)
<copumpkin>
so we can get a generic spinner and a "configuring" "compiling" "installing" message until someone figures out how to teach the system about progress for certain builders
<wak-work>
yeah bitbake just has a status per build
<simpson>
copumpkin, wak-work, taktoa: I just had a memory; do y'all know of the Gentoo `genlop` tool, which estimates build times by reading the emerge logs?
<copumpkin>
if you read the history of that thread, I even thought the nested states was a bit overkillsh
<copumpkin>
simpson: I haven't come across it but we can do that differently
<wak-work>
copumpkin: 2 levels of nesting would be fine
<wak-work>
but not more
<wak-work>
like major step minor step
<copumpkin>
yeah I guess
<simpson>
Oh, right, genlop works by stats and by seeing how long previous builds took. Not helpful for curl progress.
<wak-work>
idk, i don't really think any of the fancy output is very useful
<copumpkin>
LnL: super confused, the image builder is working fine on nixUnstable from nixos-unstable
<LnL>
huh
<copumpkin>
so I have no idea how it's able to create /homeless-shelter
<copumpkin>
if that's what it's trying to do
<Infinisil>
copumpkin: ++ to the idea of progress reporting
<copumpkin>
:)
<copumpkin>
now we just need someone to implement it
<copumpkin>
wak-work: nixcon? :) :) :)
cfricke has joined #nixos
<LnL>
are you going to be there the entire time?
<copumpkin>
probably, I haven't bought tickets yet
ixxie has quit [(Quit: Lost terminal)]
Bane^ has quit [(Ping timeout: 246 seconds)]
<wak-work>
copumpkin: unlikely, probably costs too much for me to fly considering i've been to a bunch of cons this year
<copumpkin>
boo
<copumpkin>
which cons could be more important than nixcon?!?!?
<copumpkin>
:P
<seanparsons>
Is it possible to use requireFile without a sha? (my Googling is failing me)
elastic_dog has quit [(Ping timeout: 246 seconds)]
<copumpkin>
how would that work?
<copumpkin>
(no)
<copumpkin>
but curious what you're after
Bane^ has joined #nixos
<Infinisil>
I may go to nix con, if tickets are publicly available and I get one
<copumpkin>
I think they will be soon
<taktoa>
I really wish that nixcon had been in september, since then I could have gone to both nixcon and icfp in one trip
<taktoa>
(though as it stands I think I'm not going to do either)
<cfricke>
Ahoy, I can't find anything in the IRC logs, nor issues list, nor mail list archive, does `fileSystems.<name?>.encrypted` work with keyfiles stored on luks opened root devices?
<cfricke>
The disk is a raw device, since you don't need a partition for btrfs.
<copumpkin>
seanparsons: as in, put the file in a canonical location on your drive, then refer to that location with a path in nix with no quotes around it
<copumpkin>
seanparsons: another better option is to just require the unfree version to be specified in nixpkgs.config
<copumpkin>
again as a path reference
<copumpkin>
but that would allow users to tell you where it is
<taktoa>
copumpkin: vis a vis the capnproto stuff, I'm imagining things like instrumenting all the compilers to _always_ output debug information, but to the socket instead of to stdout
<taktoa>
so when you're debugging you don't have to rebuild stuff with different flags
<copumpkin>
but why not just a separate output?
<copumpkin>
we've discussed that plenty before
<copumpkin>
but wrt a separate output
<taktoa>
really? can you link me
<taktoa>
wait I don't mean "debug symbols", I mean like `-v` compiler flags
<copumpkin>
ah, now remembering where the discussions are is a harder problem than telling you they exist :)
<copumpkin>
oh
<copumpkin>
but wouldn't that be a better fit for nix-shell friendliness improvements?
<copumpkin>
how would you use those flags except in a nix-shell?
<taktoa>
I'm just saying, modify the compiler so that instead of calling `info("blah blah blah");` it calls `capnproto_send("blah blah blah");`
<copumpkin>
oh
<taktoa>
it's not really something you want sticking around on the filesystem
<taktoa>
(and if you do, you can just attach a logger)
<copumpkin>
that feels like it would potentally be a ton of whack-a-mole
DutchWolfie has quit [(Quit: Konversation terminated!)]
* copumpkin
shrugs
<taktoa>
I mean, in practice I'd only care about this for a few compilers, but I can see where you're coming from
simukis has quit [(Ping timeout: 240 seconds)]
<copumpkin>
I'm also thinking bootstrapping stdenvs, since I do a lot of that
<copumpkin>
and slotting in various capnproto-patched bootstrap compilers
<taktoa>
yeah admittedly this would make capnproto pretty "low" in the dependency tree of nixpkgs
cfricke has quit [(Quit: WeeChat 1.9)]
<taktoa>
it only depends on C++ and cmake though, so I think it might not be a huge problem
<simpson>
Which makes sense if you're trying to build a cap-safe userspace and you want everybody speaking Capn as a first step! But maybe not in general.
<copumpkin>
none of this has to be a big commitment
<taktoa>
yeah agreed
<copumpkin>
like I'd probably just put an attribute on derivation to tell the builder "progress = "v1";"
<copumpkin>
or "fifo"
<copumpkin>
or "fifo-v1"
<copumpkin>
if we run into issues, we add another type of progress
<adelbertc>
hmmm... forceSystem does not do the same thing as setting the system attribute of nixpkgs does it.
<copumpkin>
and this is all super tentatve so we're not committing to supporting it forever
<adelbertc>
forceSystem isnt picking up my overrides, whereas replacing it with `{ system = ... }` is
<copumpkin>
__progress
<taktoa>
copumpkin: sure. honestly all I care about it that there is actually a schema (and docs) for whatever ends up being implemented
<copumpkin>
yup
Arcaelyx has joined #nixos
<copumpkin>
oh and then we need to add stupid emoji to our default build output
phdoerfler has quit [(Quit: Leaving.)]
<copumpkin>
that's how you're a 201x package manager
<clever>
lol
<lucasOfBesaid>
LnL and tilpner: Thank you both! I was able to figure out how to get what I needed.
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] matthewbauer opened pull request #28359: Use https for some homepages (master...use-https) https://git.io/v7htq
NixOS_GitHub has left #nixos []
Bane^ has quit [(Ping timeout: 260 seconds)]
Bane^ has joined #nixos
<lucasOfBesaid>
LnL and tilpner: It was as simple as adding to my configuration.nix: security.wrappers.qemu-bridge-helper.source = "${pkgs.qemu}/libexec/qemu-bridge-helper";
gnuhurd has quit [(Remote host closed the connection)]
Fannar has quit [(Ping timeout: 255 seconds)]
ebzzry_ has joined #nixos
dweller has joined #nixos
avn has joined #nixos
joehh has quit [(Ping timeout: 240 seconds)]
Bane^ has quit [(Ping timeout: 260 seconds)]
Bane^ has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
mog has joined #nixos
erasmas has quit [(Quit: leaving)]
joehh has joined #nixos
digitus has quit [(Quit: digitus)]
mahalel_ has left #nixos []
slack1256 has quit [(Ping timeout: 255 seconds)]
Rotaerk has joined #nixos
ericsagn1 has quit [(Ping timeout: 264 seconds)]
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
markus1199 has joined #nixos
<taktoa>
https://i.imgur.com/8PShFVD.png "that's what you think! my computer will robotically change out its components when I change my NixOS configuration" :P
<taktoa>
(image is from the nixos phd thesis)
sellout- has joined #nixos
nh2 has quit [(Ping timeout: 255 seconds)]
justbeingglad has joined #nixos
justbeingglad has left #nixos []
markus1189 has quit [(Ping timeout: 240 seconds)]
<clever>
lol
<clever>
i have seen some programs enabling things like sse3 support, then not checking for it at runtime, causing fun errors
ebzzry_ has quit [(Ping timeout: 255 seconds)]
<taktoa>
even better "if I try to install a package that requires some hardware, my computer should automatically order it on amazon and install it"