gchristensen changed the topic of #nixos to: NixCon 2018 CfP is now open! https://nixcon2018.org/ || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon
<infinisil> Ohh right, sorry
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> zgrep: Yes
<infinisil> Forgot about that
bmikedesk has joined #nixos
xorkle_ has joined #nixos
<zgrep> I ended up doing fetchurl { name = "${name}.tar.gz"; } for things to work out nicely, which I hope is reasonable.
philippD has quit [Ping timeout: 276 seconds]
awygle_ has joined #nixos
hamishmack has joined #nixos
revstrangehope has quit [Ping timeout: 268 seconds]
jtojnar has quit [Remote host closed the connection]
hamishmack has quit [Client Quit]
awygle has quit [Ping timeout: 276 seconds]
wpcarro has quit [Remote host closed the connection]
codedmart has quit [Ping timeout: 268 seconds]
awygle_ is now known as awygle
{`-`} has quit [Ping timeout: 264 seconds]
xorkle has quit [Ping timeout: 264 seconds]
pierron_ has quit [Ping timeout: 264 seconds]
Adev[m] has quit [*.net *.split]
dadadus[m] has quit [*.net *.split]
PlasmaStrike[m] has quit [*.net *.split]
colmeka[m] has quit [*.net *.split]
ipj[m] has quit [*.net *.split]
octalsrc[m] has quit [*.net *.split]
EB[m] has quit [*.net *.split]
mith[m] has quit [*.net *.split]
attero has quit [*.net *.split]
peterhoeg has quit [*.net *.split]
mathis[m] has quit [*.net *.split]
efx[m] has quit [*.net *.split]
Albtrz[m] has quit [*.net *.split]
panther420[m] has quit [*.net *.split]
M-fishy has quit [*.net *.split]
das-g[m] has quit [*.net *.split]
Obscurity[m] has quit [*.net *.split]
Bugworm[m] has quit [*.net *.split]
felipeac[m] has quit [*.net *.split]
reactormonk[m] has quit [*.net *.split]
techtangents[m] has quit [*.net *.split]
desttinghim[m] has quit [*.net *.split]
BurNiinTRee[m] has quit [*.net *.split]
hw9891[m] has quit [*.net *.split]
M-ms has quit [*.net *.split]
regnat[m] has quit [*.net *.split]
lycium[m] has quit [*.net *.split]
vorot93[m] has quit [*.net *.split]
apurvapavaskar[m has quit [*.net *.split]
sphalerit has quit [*.net *.split]
AntonLatukha[m] has quit [*.net *.split]
dash has quit [*.net *.split]
edef[m] has quit [*.net *.split]
davidar has quit [*.net *.split]
comphez[m] has quit [*.net *.split]
posco has quit [*.net *.split]
wilornel has quit [*.net *.split]
justanotheruser has quit [*.net *.split]
Guest89199 has quit [*.net *.split]
Tobba has quit [*.net *.split]
alpha_sh has quit [*.net *.split]
freeman42x]NixOS has quit [*.net *.split]
Guanin has quit [*.net *.split]
lassulus has quit [*.net *.split]
slyfox has quit [*.net *.split]
noefk_ has quit [*.net *.split]
jonasem_ has quit [*.net *.split]
rschuetz has quit [*.net *.split]
andrewrk has quit [*.net *.split]
the_real_plumps has quit [*.net *.split]
pmade has quit [*.net *.split]
monotux has quit [*.net *.split]
orbekk has quit [*.net *.split]
revskill has quit [*.net *.split]
clever has quit [*.net *.split]
Yaniel has quit [*.net *.split]
cransom has quit [*.net *.split]
tilpner has quit [*.net *.split]
dejanr has quit [*.net *.split]
benny has quit [*.net *.split]
mkaito_ has quit [*.net *.split]
tnks has quit [*.net *.split]
tv has quit [*.net *.split]
Biappi has quit [*.net *.split]
waynr has quit [*.net *.split]
WizBright has quit [*.net *.split]
jeschli has quit [*.net *.split]
ToxicFrog has quit [*.net *.split]
fgaz has quit [*.net *.split]
ldlework has quit [*.net *.split]
aither has quit [*.net *.split]
bmpvieira has quit [*.net *.split]
Moredread has quit [*.net *.split]
FireFly has quit [*.net *.split]
Sigma has quit [*.net *.split]
rev_strangehope has joined #nixos
codedmart has joined #nixos
shoogz has quit [Ping timeout: 260 seconds]
M-liberdiko has quit [Ping timeout: 245 seconds]
mankyKitty[m] has quit [Ping timeout: 260 seconds]
florianjacob has quit [Ping timeout: 260 seconds]
leons has quit [Ping timeout: 260 seconds]
bhipple[m] has quit [Ping timeout: 245 seconds]
umbe[m] has quit [Ping timeout: 245 seconds]
incospicuous[m] has quit [Ping timeout: 245 seconds]
danbst[m] has quit [Ping timeout: 245 seconds]
nelag[m] has quit [Ping timeout: 245 seconds]
adisbladis[m] has quit [Ping timeout: 245 seconds]
xobroll[m] has quit [Ping timeout: 245 seconds]
ninjarai4[m] has quit [Ping timeout: 245 seconds]
shd[m] has quit [Ping timeout: 240 seconds]
daftect[m] has quit [Ping timeout: 240 seconds]
roberth has quit [Ping timeout: 276 seconds]
ArdaXi1 has quit [Ping timeout: 256 seconds]
semyon[m] has quit [Ping timeout: 256 seconds]
patrl[m] has quit [Ping timeout: 256 seconds]
paperdigits[m] has quit [Ping timeout: 256 seconds]
jesper has quit [Ping timeout: 256 seconds]
sorbet has quit [Ping timeout: 256 seconds]
tamwile[m] has quit [Ping timeout: 256 seconds]
devr[m] has quit [Ping timeout: 256 seconds]
chatnowvvv[m] has quit [Ping timeout: 256 seconds]
olejorgenb[m] has quit [Ping timeout: 256 seconds]
moredhel_[m] has quit [Ping timeout: 256 seconds]
equalunique[m] has quit [Ping timeout: 256 seconds]
doubletwin[m] has quit [Ping timeout: 256 seconds]
aspiwack[m] has quit [Ping timeout: 256 seconds]
Ralith has quit [Ping timeout: 256 seconds]
spring322[m] has quit [Ping timeout: 260 seconds]
emil1234[m] has quit [Ping timeout: 260 seconds]
magnap has quit [Ping timeout: 260 seconds]
Wysteriary[m] has quit [Ping timeout: 260 seconds]
urien1[m] has quit [Ping timeout: 260 seconds]
happyente[m] has quit [Ping timeout: 260 seconds]
abbafei[m] has quit [Ping timeout: 260 seconds]
zurk[m] has quit [Ping timeout: 260 seconds]
AlanPearce[m] has quit [Ping timeout: 260 seconds]
MaJoe[m] has quit [Ping timeout: 260 seconds]
goibhniu[m] has quit [Ping timeout: 260 seconds]
Dezgeg[m] has quit [Ping timeout: 260 seconds]
r3mfKm[m] has quit [Ping timeout: 260 seconds]
ngerstle[m] has quit [Ping timeout: 260 seconds]
pauricthelodger[ has quit [Ping timeout: 260 seconds]
chominist[m] has quit [Ping timeout: 260 seconds]
sargon[m] has quit [Ping timeout: 260 seconds]
morgib[m] has quit [Ping timeout: 260 seconds]
ayyjayess[m] has quit [Ping timeout: 260 seconds]
darkestmeson has quit [Ping timeout: 260 seconds]
aniketd[m] has quit [Ping timeout: 260 seconds]
mgttlinger[m] has quit [Ping timeout: 260 seconds]
bkchr[m] has quit [Ping timeout: 260 seconds]
ProofTechnique[m has quit [Ping timeout: 260 seconds]
dtz has quit [Ping timeout: 260 seconds]
sgk[m] has quit [Ping timeout: 276 seconds]
trikl[m] has quit [Ping timeout: 276 seconds]
rnkch[m] has quit [Ping timeout: 276 seconds]
petersjt014[m] has quit [Ping timeout: 276 seconds]
davidak[m] has quit [Ping timeout: 256 seconds]
Khorne[m] has quit [Ping timeout: 256 seconds]
Phil[m]3 has quit [Ping timeout: 256 seconds]
bluewolfy[m] has quit [Ping timeout: 256 seconds]
Minijackson[m] has quit [Ping timeout: 256 seconds]
demyan[m] has quit [Ping timeout: 276 seconds]
telent[m] has quit [Ping timeout: 276 seconds]
xnaveira[m] has quit [Ping timeout: 276 seconds]
WilliamHamilton has quit [Ping timeout: 276 seconds]
offlinehacker[m] has quit [Ping timeout: 276 seconds]
bobvanderlinden_ has quit [Ping timeout: 256 seconds]
nh2[m] has quit [Ping timeout: 256 seconds]
M-giodamelio has quit [Ping timeout: 256 seconds]
nickdshsadhkas[m has quit [Ping timeout: 256 seconds]
zdisk[m] has quit [Ping timeout: 256 seconds]
aaronc[m] has quit [Ping timeout: 256 seconds]
slabity[m] has quit [Ping timeout: 256 seconds]
Christian[m]4 has quit [Ping timeout: 256 seconds]
fighterhero[m] has quit [Ping timeout: 256 seconds]
Orbstheorem[m] has quit [Ping timeout: 256 seconds]
nmikhailov[m]1 has quit [Ping timeout: 256 seconds]
DIzFer[m] has quit [Ping timeout: 256 seconds]
kainospur[m] has quit [Ping timeout: 256 seconds]
moredhel has quit [Ping timeout: 256 seconds]
gh0st[m] has quit [Ping timeout: 256 seconds]
pierron has joined #nixos
ConorCurry[m] has quit [Ping timeout: 256 seconds]
icetan has quit [Ping timeout: 256 seconds]
bbigras-- has quit [Ping timeout: 256 seconds]
spacekitteh[m] has quit [Ping timeout: 256 seconds]
EuAndreh[m] has quit [Ping timeout: 256 seconds]
freeman42x has quit [Ping timeout: 256 seconds]
malteof[m] has quit [Ping timeout: 245 seconds]
herzmeister[m] has quit [Ping timeout: 245 seconds]
ivanfon[m] has quit [Ping timeout: 245 seconds]
srid[m] has quit [Ping timeout: 245 seconds]
forex[m] has quit [Ping timeout: 245 seconds]
card[m] has quit [Ping timeout: 245 seconds]
Singularity[m] has quit [Ping timeout: 245 seconds]
trubii[m] has quit [Ping timeout: 245 seconds]
yochai[m] has quit [Ping timeout: 245 seconds]
omawnakw[m] has quit [Ping timeout: 245 seconds]
DavidLeung[m] has quit [Ping timeout: 245 seconds]
uvnikita[m] has quit [Ping timeout: 245 seconds]
GuillaumeBuisson has quit [Ping timeout: 245 seconds]
have-quick[m] has quit [Ping timeout: 245 seconds]
zaphar_ps[m] has quit [Ping timeout: 245 seconds]
thra11[m] has quit [Ping timeout: 245 seconds]
mirlur[m] has quit [Ping timeout: 245 seconds]
sirocyl[m] has quit [Ping timeout: 245 seconds]
willghatch[m] has quit [Ping timeout: 245 seconds]
nocent has quit [Ping timeout: 245 seconds]
Drakonis[m] has quit [Ping timeout: 245 seconds]
tet[m] has quit [Ping timeout: 245 seconds]
Rick[29SMPittsbu has quit [Ping timeout: 245 seconds]
necronian has quit [Ping timeout: 245 seconds]
dywedir[m] has quit [Ping timeout: 245 seconds]
jmorriss[m] has quit [Ping timeout: 245 seconds]
copumpkin has quit [Ping timeout: 245 seconds]
TimePath has quit [Ping timeout: 256 seconds]
NickHu has quit [Ping timeout: 260 seconds]
PeterRomfeld[m] has quit [Ping timeout: 260 seconds]
cryptobilly[m] has quit [Ping timeout: 260 seconds]
admin[m]4 has quit [Ping timeout: 260 seconds]
stigmergik[m] has quit [Ping timeout: 260 seconds]
amiloradovsky[m] has quit [Ping timeout: 260 seconds]
illegalprime[m] has quit [Ping timeout: 260 seconds]
nico202[m] has quit [Ping timeout: 260 seconds]
M-vh[m] has quit [Ping timeout: 260 seconds]
M-dpetranek has quit [Ping timeout: 260 seconds]
d3rNarr[m] has quit [Ping timeout: 260 seconds]
jack[m]1 has quit [Ping timeout: 260 seconds]
AdamSlack[m] has quit [Ping timeout: 260 seconds]
kitten[m] has quit [Ping timeout: 260 seconds]
rycee has quit [Ping timeout: 260 seconds]
nmikhailov[m] has quit [Ping timeout: 260 seconds]
rihardsk[m] has quit [Ping timeout: 260 seconds]
thefloweringash[ has quit [Ping timeout: 260 seconds]
wzy8L-B2[m] has quit [Ping timeout: 260 seconds]
tehnix[m] has quit [Ping timeout: 260 seconds]
nyanloutre[m] has quit [Ping timeout: 260 seconds]
hedning[m] has quit [Ping timeout: 260 seconds]
indefini has quit [Ping timeout: 260 seconds]
bennofs[m] has quit [Ping timeout: 260 seconds]
htafdwes[m] has quit [Ping timeout: 260 seconds]
bugabinga[m] has quit [Ping timeout: 260 seconds]
unlmtd has quit [Ping timeout: 260 seconds]
sudoreboot[m] has quit [Ping timeout: 260 seconds]
asp_ has quit [Ping timeout: 260 seconds]
zemm has quit [Ping timeout: 240 seconds]
stekke[m] has quit [Ping timeout: 260 seconds]
gudea[m] has quit [Ping timeout: 260 seconds]
mtncoder[m] has quit [Ping timeout: 260 seconds]
lordfluffywobble has quit [Ping timeout: 260 seconds]
Kallegro[m] has quit [Ping timeout: 260 seconds]
rszibele[m] has quit [Ping timeout: 260 seconds]
timokau[m] has quit [Ping timeout: 260 seconds]
musicmatze[m] has quit [Ping timeout: 260 seconds]
coorey[m] has quit [Ping timeout: 260 seconds]
darkmesonic has quit [Ping timeout: 260 seconds]
CoopDot has quit [Ping timeout: 260 seconds]
bendlas has quit [Ping timeout: 260 seconds]
mlaskus[m] has quit [Ping timeout: 256 seconds]
chreekat[m] has quit [Ping timeout: 256 seconds]
buzzmaster[m] has quit [Ping timeout: 256 seconds]
fgaz[m] has quit [Ping timeout: 256 seconds]
jameshjacksonjr[ has quit [Ping timeout: 256 seconds]
freusque[m] has quit [Ping timeout: 256 seconds]
russiancow[m] has quit [Ping timeout: 256 seconds]
v0id72[m] has quit [Ping timeout: 256 seconds]
bitmapper[m] has quit [Ping timeout: 256 seconds]
vskilet[m] has quit [Ping timeout: 256 seconds]
fearlessKim[m] has quit [Ping timeout: 256 seconds]
grahamc has quit [Ping timeout: 256 seconds]
jgl[m] has quit [Ping timeout: 256 seconds]
hendrik[m]1 has quit [Ping timeout: 256 seconds]
midchildan[m] has quit [Ping timeout: 256 seconds]
SamuelEvans-Powe has quit [Ping timeout: 256 seconds]
praticamentetild has quit [Ping timeout: 256 seconds]
crystalgamma[m] has quit [Ping timeout: 256 seconds]
bionicmac[m] has quit [Ping timeout: 256 seconds]
cornu[m]1 has quit [Ping timeout: 256 seconds]
mcatis[m] has quit [Ping timeout: 256 seconds]
mudri[m] has quit [Ping timeout: 256 seconds]
taohansen has quit [Ping timeout: 256 seconds]
spawnthink[m] has quit [Ping timeout: 256 seconds]
greska[m] has quit [Ping timeout: 256 seconds]
sqzlh has quit [Ping timeout: 256 seconds]
dkellner[m] has quit [Ping timeout: 256 seconds]
jluttine[m] has quit [Ping timeout: 256 seconds]
smrtak[m] has quit [Ping timeout: 256 seconds]
cornu[m] has quit [Ping timeout: 256 seconds]
puffnfresh has quit [Ping timeout: 256 seconds]
codyopel has quit [Ping timeout: 256 seconds]
M-manveru has quit [Ping timeout: 276 seconds]
YegorTimoshenko[ has quit [Ping timeout: 276 seconds]
ldesgoui[m] has quit [Ping timeout: 276 seconds]
Naughtmare[m] has quit [Ping timeout: 276 seconds]
oknf[m] has quit [Ping timeout: 276 seconds]
YuFanLovezYou[m] has quit [Ping timeout: 276 seconds]
pierrebeaucamp[m has quit [Ping timeout: 276 seconds]
bachp has quit [Ping timeout: 276 seconds]
Hook[m]1 has quit [Ping timeout: 276 seconds]
DenisLehmann[m] has quit [Ping timeout: 276 seconds]
rnhmjoj[m] has quit [Ping timeout: 276 seconds]
M-Dan has quit [Ping timeout: 276 seconds]
johnazoidberg has quit [Ping timeout: 276 seconds]
aiyubkhan[m] has quit [Ping timeout: 276 seconds]
tfc[m] has quit [Ping timeout: 276 seconds]
tokudan[m] has quit [Ping timeout: 276 seconds]
jerengie[m] has quit [Ping timeout: 276 seconds]
danielrf has quit [Ping timeout: 276 seconds]
joh[m] has quit [Ping timeout: 276 seconds]
Elephant454[m] has quit [Ping timeout: 276 seconds]
wervenyt[m] has quit [Ping timeout: 276 seconds]
Olinkl[m] has quit [Ping timeout: 276 seconds]
atopuzov[m] has quit [Ping timeout: 276 seconds]
peel[m] has quit [Ping timeout: 276 seconds]
bdimcheff has quit [Ping timeout: 276 seconds]
primeos[m] has quit [Ping timeout: 276 seconds]
aramiscd[m] has quit [Ping timeout: 276 seconds]
wak-work has quit [Ping timeout: 276 seconds]
tosh[m] has quit [Ping timeout: 276 seconds]
Pneumaticat has quit [Ping timeout: 276 seconds]
hl[m] has quit [Ping timeout: 276 seconds]
pstn has quit [Ping timeout: 276 seconds]
zemm has joined #nixos
cryptomonoid has quit [Ping timeout: 255 seconds]
colemickens has quit [Ping timeout: 268 seconds]
sellout- has quit [Ping timeout: 256 seconds]
shoogz has joined #nixos
colemickens has joined #nixos
<nh2> infinisil: OK I have this working now, parsed the Yaml file and selected the 312 stackage executables
posco has joined #nixos
justanotheruser has joined #nixos
Tobba has joined #nixos
Guest89199 has joined #nixos
clever has joined #nixos
lassulus has joined #nixos
waynr has joined #nixos
slyfox has joined #nixos
tv has joined #nixos
tnks has joined #nixos
rschuetz has joined #nixos
dejanr has joined #nixos
Moredread has joined #nixos
Biappi has joined #nixos
benny has joined #nixos
freeman42x]NixOS has joined #nixos
orbekk has joined #nixos
noefk_ has joined #nixos
monotux has joined #nixos
FireFly has joined #nixos
cransom has joined #nixos
Yaniel has joined #nixos
pmade has joined #nixos
jeschli has joined #nixos
mkaito_ has joined #nixos
Sigma has joined #nixos
tilpner has joined #nixos
WizBright has joined #nixos
ToxicFrog has joined #nixos
Guanin has joined #nixos
fgaz has joined #nixos
alpha_sh has joined #nixos
bmpvieira has joined #nixos
the_real_plumps has joined #nixos
revskill has joined #nixos
jonasem_ has joined #nixos
andrewrk has joined #nixos
aither has joined #nixos
ldlework has joined #nixos
justanotheruser has quit [Max SendQ exceeded]
sellout- has joined #nixos
wpcarro has joined #nixos
srl295 has quit [Quit: Connection closed for inactivity]
xy2_ has quit [Ping timeout: 276 seconds]
justanotheruser has joined #nixos
pie__ has quit [Remote host closed the connection]
pie__ has joined #nixos
<kalbasit> is there a way to have `nix-shell` use zsh with my config at `~/.zshrc`?
wpcarro has quit [Ping timeout: 276 seconds]
wpcarro has joined #nixos
Lisanna has joined #nixos
<{^_^}> nix#545 (by gebner, open): Support non-bash shells in nix-shell.
thc202 has quit [Ping timeout: 255 seconds]
<kalbasit> for now I'm using `direnv` as a workaround
wpcarro has quit [Ping timeout: 256 seconds]
Guest50547 has quit [Ping timeout: 276 seconds]
d1rewolf has joined #nixos
<d1rewolf> hi guys
<d1rewolf> I have been trying to install from USB but continue get the in the message: cannot check file system with type "auto"
<infinisil> kalbasit: direnv?
<infinisil> kalbasit: Would like to know how to use zsh with it, simply --command zsh doesn't work too well :(
<d1rewolf> mounting /dev/root on /mnt/root/iso failed: invalid argument
<d1rewolf> so I'm dead in the water. I al
<{^_^}> [nixpkgs] @matthewbauer opened pull request #43833 → patch-shebangs: respect cross compilation → https://git.io/fNcS2
<kalbasit> infinisil: direnv: https://github.com/direnv/direnv
<samueldr> d1rewolf: how'd you make the usb stick?
<kalbasit> I basically add a `shell.nix` as you would normally do
<kalbasit> infinisil: then `echo use_nix > .envrc`
<kalbasit> infinisil: and `direnv allow`
<d1rewolf> samueldr dd if=isofile of=/dev/sda
<kalbasit> this loads whatever you have in your `shell.nix` into your current shell whenever you `cd ` where the shell.nix is (or any sub-dir)
<kalbasit> infinisil: this works great
<samueldr> ooof, let's assume sda was indeed the usb drive, it should have worked, do you have the filename of the iso d1rewolf?
<samueldr> (I'll download it and double-check)
<infinisil> kalbasit: Whoa that's pretty fancy
<gchristensen> direnv is *amazing*
<gchristensen> and makes most editors support nix-shell out of the box :)
<kalbasit> infinisil: yea! Here's the full example of my work repo: https://gist.github.com/kalbasit/04901a3bee6d8aa8067012f0cf308870
* samueldr really needs to check direnv
<kalbasit> gchristensen: yea I love `direnv` it's awesome
<gchristensen> zimbatm is a/the maintainer
<infinisil> kalbasit: direnv allow goes where?
<samueldr> d1rewolf: and just to be clear, that's the revision you burned on the drive, right?
<infinisil> I should just read direnv's readme :2
<d1rewolf> samueldr: yes, verified sha256sum
<samueldr> you're steps ahead :)
<samueldr> though it's good
<infinisil> Ah you allow directories to be used for direnv via direnv allow
<samueldr> (once it's downloaded I'll do a quick boot verify the disk is good, but it probably is good :/)
<kalbasit> infinisil: yea exactly, see https://github.com/direnv/direnv#example for context
<kalbasit> it's for security measures :)
<infinisil> Yeah it makes sense
<d1rewolf> samueldr thx
wpcarro has joined #nixos
<samueldr> d1rewolf: have another usb drive?
<infinisil> kalbasit: https://github.com/Tarrasch/zsh-autoenv looks very similar
qwerty_asdf has joined #nixos
<samueldr> the image (sha256sum verified) doesn't seem wrong; boots right under qemue
<samueldr> or uh
<infinisil> kalbasit: But I guess the nix support is a seller for direnv :)
<samueldr> there's a way to check the sum of what's on the drive
* samueldr plunges into logs
<d1rewolf> samueldr: I've tried 2 different ones, but they the same models. I will go search for another. Knowing how to check the sum of what's on the drive would be awesome
<samueldr> oh, d1rewolf what size are they?
<d1rewolf> 16 g
<samueldr> ah, so not a size issue probably :/
<samueldr> d1rewolf: head -c 1060110336 /dev/sdX | sha256sum
<samueldr> (thanks past, gchristensen)
<gchristensen> :)
<samueldr> (yes I verified the size ;))
<d1rewolf> awesome. will be back
<d1rewolf> thx
<kalbasit> infinisil: oh nice, I did not know about that. but yea nix support is a must for me now
<samueldr> if you check it, eject, unplug, then re-plug the drive
<samueldr> just to make it more certain there's nothing caching
tet[m] has joined #nixos
* kalbasit <3 Nix
Fare has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 4.4.141 -> 4.4.142 »: https://git.io/fNc9G
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.4.141 -> 4.4.142 »: https://git.io/fNc9n
<kalbasit> infinisil: also `direnv` is written in Go, it's very fast hardly noticeable, not sure how fast zsh-autoenv would be
<infinisil> While I don't like Go, shell scripts are definitely worse lol
jtojnar has joined #nixos
pie__ has quit [Remote host closed the connection]
pie_ has joined #nixos
wpcarro has quit [Ping timeout: 256 seconds]
<kalbasit> infinisil: you don't like Go? How come? It's pretty awesome, been using it at work for 4 years so far no complaints.
<kalbasit> well maybe one, Go is just evil if XML is involved. the XML support sucks
<infinisil> I'm a fan of good type systems
pie_ has quit [Excess Flood]
<kalbasit> Go is typed
<infinisil> Let's take this to #nixos-chat maybe? :P
pie_ has joined #nixos
aanderse-laptop has joined #nixos
wpcarro has joined #nixos
bmikedesk has quit [Remote host closed the connection]
wpcarro has quit [Ping timeout: 276 seconds]
Guest89199 has quit [Ping timeout: 264 seconds]
wpcarro has joined #nixos
ericsagnes has joined #nixos
hamishmack has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #43834 → treewide: http -> https → https://git.io/fNc9d
Fare has quit [Ping timeout: 256 seconds]
aanderse-laptop has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @grahamc merged pull request #43834 → treewide: http -> https → https://git.io/fNc9d
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fNcHz
statusbot has joined #nixos
<iqubic> Question: Should I switch from Systemd-boot to GRUB2?
wpcarro has quit [Ping timeout: 260 seconds]
<iqubic> What are the major differences between the two bootloaders?
statusbot has quit [Ping timeout: 245 seconds]
iqubic has quit [Remote host closed the connection]
<samueldr> for nixos, there aren't real differences between both, they are supported the same way
<samueldr> otherwise, all differences in features are the same than for other distros
sam__ has joined #nixos
<samueldr> the rule of thumb here is that systemd-boot is minimal, not many features, but does everything it does right
<samueldr> grub has a bunch more features, many not in use by the defaults in nixos
wpcarro has joined #nixos
<infinisil> samueldr: (he left just before your first reply for some reason)
<samueldr> aw!
<samueldr> who even keeps join/parts notices on for this channel? it's maddening!
<drakonis> grub has fancy backgrounds
gchristensen is now known as gchristensen`wed
<samueldr> wednesday, not wedding
<samueldr> drakonis: among other features :)
<drakonis> yes indeedy
gchristensen`wed is now known as gchris`wednesday
<samueldr> one that's not talked often of, is how it can open LUKS containers, IIRC evne with LVM
<samueldr> (though it's a bit on the slow side with encryption)
<samueldr> so you can keep the whole /boot/ folder encrypted, only have the bootloader un-encrypted
<samueldr> (though my real use case in the past is that I didn't have to fill the ESP with kernels)
spear2 has joined #nixos
<infinisil> samueldr: weechat has this fancy smart join/part filter: It shows parts and joins only when the person talked in the last/next 10 minutes or so
<{^_^}> [nixpkgs] @ryantm opened pull request #43835 → mercurial: fix homepage → https://git.io/fNcQT
Supersonic has quit [Ping timeout: 245 seconds]
comphez[m] has joined #nixos
cornu[m] has joined #nixos
unlmtd[m] has joined #nixos
dpetranek[m] has joined #nixos
AndrewMiloradovs has joined #nixos
atopuzov[m] has joined #nixos
ProofTechnique[m has joined #nixos
mirlur[m] has joined #nixos
gbuisson[m] has joined #nixos
ahbnr[m] has joined #nixos
sevanspowell[m] has joined #nixos
WilliamHamilton[ has joined #nixos
telent[m] has joined #nixos
nyanloutre[m] has joined #nixos
jesper[m] has joined #nixos
Drakonis[m] has joined #nixos
PascalBach[m] has joined #nixos
abbafei[m] has joined #nixos
indefini[m] has joined #nixos
Leon[m] has joined #nixos
demyan[m] has joined #nixos
tfc[m] has joined #nixos
mankyKitty[m] has joined #nixos
roberth[m] has joined #nixos
regnat[m] has joined #nixos
primeos[m] has joined #nixos
aspiwack[m] has joined #nixos
danielrf[m] has joined #nixos
Bruno[m] has joined #nixos
HamishHutchings[ has joined #nixos
tehnix[m] has joined #nixos
U[m] has joined #nixos
YegorTimoshenko[ has joined #nixos
Olinkl[m] has joined #nixos
lycium[m] has joined #nixos
have-quick[m] has joined #nixos
freeman42x[m] has joined #nixos
WilliamGHatch[m] has joined #nixos
Linus[m] has joined #nixos
leftfold[m] has joined #nixos
hl[m] has joined #nixos
rihardsk[m] has joined #nixos
Minijackson[m] has joined #nixos
stigmergik[m] has joined #nixos
TimePath[m] has joined #nixos
Noughtmare[m] has joined #nixos
Seeker[m] has joined #nixos
aniketd[m] has joined #nixos
wervenyt[m] has joined #nixos
adisbladis[m] has joined #nixos
wak-work[m] has joined #nixos
Kallegro[m] has joined #nixos
davidarmatrixorg has joined #nixos
bdimcheff[m] has joined #nixos
puffnfresh[m] has joined #nixos
peel[m] has joined #nixos
ArdaXi[m] has joined #nixos
Bugworm[m] has joined #nixos
<samueldr> oh, so you're not seeing this massive matrix noise
timokau[m] has joined #nixos
sudoreboot[m] has joined #nixos
xnaveira[m] has joined #nixos
desttinghim[m] has joined #nixos
moredhel[m] has joined #nixos
mudri[m] has joined #nixos
Sorbet[m] has joined #nixos
thra11[m] has joined #nixos
olejorgenb[m] has joined #nixos
ivanfon[m] has joined #nixos
ayyjayess[m] has joined #nixos
YuFanLovezYou[m] has joined #nixos
zaphar_ps[m] has joined #nixos
thefloweringash[ has joined #nixos
Elephant454[m] has joined #nixos
wilornel[m] has joined #nixos
bkchr[m] has joined #nixos
midchildan[m] has joined #nixos
CoopDot[m] has joined #nixos
ArtemVorotnikov[ has joined #nixos
AlanPearce[m] has joined #nixos
sirocyl[m] has joined #nixos
nh2[m] has joined #nixos
happyente[m] has joined #nixos
lkjhgfdsa00xxx[m has joined #nixos
herzmeister[m] has joined #nixos
bugabinga[m] has joined #nixos
spacekitteh[m] has joined #nixos
Florian[m] has joined #nixos
htafdwes[m] has joined #nixos
darkmeson[m]1 has joined #nixos
Magnap[m] has joined #nixos
joh[m] has joined #nixos
dkellner[m] has joined #nixos
sargon[m] has joined #nixos
Richard[m] has joined #nixos
tamwile[m] has joined #nixos
ms[m] has joined #nixos
Wysteriary[m] has joined #nixos
Necronian[m] has joined #nixos
hedning[m] has joined #nixos
edef[m] has joined #nixos
offlinehacker[m] has joined #nixos
felipeac[m] has joined #nixos
nocent[m] has joined #nixos
trikl[m] has joined #nixos
iceTanner[m] has joined #nixos
copumpkin[m] has joined #nixos
AristotleCajetan has joined #nixos
philipp[m] has joined #nixos
urien1[m] has joined #nixos
kainospur[m] has joined #nixos
BurNiinTRee[m] has joined #nixos
BennoFnfstck[m] has joined #nixos
jameshjacksonjr[ has joined #nixos
dtz[m] has joined #nixos
hw9891[m] has joined #nixos
oknf[m] has joined #nixos
codyopel[m] has joined #nixos
tosh[m] has joined #nixos
crystalgamma[m] has joined #nixos
MichaelEden[m] has joined #nixos
Dt[m] has joined #nixos
darkmeson[m] has joined #nixos
AhmedOmar[m] has joined #nixos
aramiscd[m] has joined #nixos
equalunique[m] has joined #nixos
coorey[m] has joined #nixos
pierrebeaucamp[m has joined #nixos
sgk[m] has joined #nixos
AntonLatukha[m] has joined #nixos
Pneumaticat[m] has joined #nixos
PlasmaStrike[m] has joined #nixos
morgib[m] has joined #nixos
funits[m] has joined #nixos
fgaz[m] has joined #nixos
techtangents[m] has joined #nixos
gh0st[m] has joined #nixos
JaakkoLuttinen[m has joined #nixos
malteof[m] has joined #nixos
mtncoder[m] has joined #nixos
TaoHansen[m] has joined #nixos
musicmatze[m] has joined #nixos
nelag[m] has joined #nixos
mica[m] has joined #nixos
Zurdo[m] has joined #nixos
petersjt014[m] has joined #nixos
Ralith[m] has joined #nixos
mgttlinger[m] has joined #nixos
reactormonk[m] has joined #nixos
mcatis[m] has joined #nixos
greska[m] has joined #nixos
bionicmac[m] has joined #nixos
<gchris`wednesday> I wondered why we were down from 900 to 600...
<infinisil> Indeed
asp[m] has joined #nixos
devr[m] has joined #nixos
dash[m] has joined #nixos
EuAndreh[m] has joined #nixos
cornu[m]1 has joined #nixos
k0d3fr34k[m] has joined #nixos
dywedir[m] has joined #nixos
praticamentetild has joined #nixos
bendlas[m] has joined #nixos
attero[m] has joined #nixos
smrtak[m] has joined #nixos
<samueldr> seems to have stopped
<infinisil> Damn, but I can turn off filters, that's a lot of nicks
jerengie[m] has joined #nixos
<infinisil> Oh there was a netsplit
sellout- has quit [Ping timeout: 255 seconds]
Supersonic has joined #nixos
Obscurity[m] has joined #nixos
sellout- has joined #nixos
tokudan[m] has joined #nixos
pauricthelodger[ has joined #nixos
PeterHoeg[m] has joined #nixos
rycee[m] has joined #nixos
chreekat[m] has joined #nixos
manveru[m] has joined #nixos
hendrik[m]1 has joined #nixos
octalsrc[m] has joined #nixos
GiodAmelio[m] has joined #nixos
mith[m] has joined #nixos
bhipple[m] has joined #nixos
rnkch[m] has joined #nixos
omawnakw[m] has joined #nixos
Dean[m] has joined #nixos
wpcarro has quit [Ping timeout: 256 seconds]
<infinisil> Neat :)
qwerty_asdf has quit [Quit: WeeChat 2.1]
<infinisil> isBroken should be the same as `isBroken = pkg: pkg.meta.broken or false` though
nico202[m]1 has joined #nixos
r3mfKm[m] has joined #nixos
colmeka[m] has joined #nixos
bobvanderlinden_ has joined #nixos
das-g[m] has joined #nixos
fishy[m] has joined #nixos
rnhmjoj[m] has joined #nixos
ipj[m] has joined #nixos
jgl[m] has joined #nixos
cryptobilly[m] has joined #nixos
fearlessKim[m] has joined #nixos
aiyubkhan[m] has joined #nixos
patrl[m] has joined #nixos
Orbstheorem[m] has joined #nixos
NickHu[m] has joined #nixos
uvnikita[m] has joined #nixos
grahamc[m]1 has joined #nixos
bluewolfy[m] has joined #nixos
Phil[m]2 has joined #nixos
yochai[m] has joined #nixos
ngerstle[m] has joined #nixos
danbst[m] has joined #nixos
shd[m] has joined #nixos
goibhniu[m] has joined #nixos
nmikhailov[m] has joined #nixos
Dezgeg[m] has joined #nixos
fighterhero[m] has joined #nixos
admintgs[m] has joined #nixos
chominist[m] has joined #nixos
AdamSlack[m] has joined #nixos
DanielSchfer[m] has joined #nixos
liberdiko[m] has joined #nixos
trubii[m] has joined #nixos
Dan[m]1 has joined #nixos
mlaskus[m] has joined #nixos
semyon[m] has joined #nixos
davidak[m] has joined #nixos
bitmapper[m] has joined #nixos
ldesgoui[m] has joined #nixos
vskilet[m] has joined #nixos
slabity[m] has joined #nixos
DenisLehmann[m] has joined #nixos
spring322[m] has joined #nixos
xobroll[m] has joined #nixos
PeterRomfeld[m] has joined #nixos
nmikhailov[m]1 has joined #nixos
freusque[m] has joined #nixos
lordfluffywobble has joined #nixos
buzzmaster[m] has joined #nixos
DavidLeung[m] has joined #nixos
zdisk[m] has joined #nixos
EB[m] has joined #nixos
Christian[m]5 has joined #nixos
panther320[m] has joined #nixos
MaJoe[m] has joined #nixos
forex[m] has joined #nixos
zurk[m] has joined #nixos
Singularity[m] has joined #nixos
ninjarai4[m] has joined #nixos
Khorne[m]1 has joined #nixos
Hook[m] has joined #nixos
aaronc[m] has joined #nixos
d3rNarr[m] has joined #nixos
daftect[m] has joined #nixos
incospicuous[m] has joined #nixos
stekke[m] has joined #nixos
dadadus[m] has joined #nixos
srid[m] has joined #nixos
v0id72[m] has joined #nixos
efx[m] has joined #nixos
nickdshsadhkas[m has joined #nixos
mathis[m] has joined #nixos
Albtrz[m] has joined #nixos
Adev[m] has joined #nixos
gudea[m] has joined #nixos
card[m] has joined #nixos
jack[m]1 has joined #nixos
russiancow[m] has joined #nixos
emil1234[m] has joined #nixos
silver has quit [Read error: Connection reset by peer]
jackdk has quit [Ping timeout: 276 seconds]
cryptomonoid has joined #nixos
wpcarro has joined #nixos
wpcarro has quit [Ping timeout: 256 seconds]
Cale has quit [Remote host closed the connection]
wpcarro has joined #nixos
dmc has joined #nixos
dmc has quit [Client Quit]
wpcarro has quit [Ping timeout: 256 seconds]
sir_guy_carleton has joined #nixos
wpcarro has joined #nixos
lassulus_ has joined #nixos
cryptomonoid has quit [Ping timeout: 260 seconds]
dmc has joined #nixos
alexteves has quit [Remote host closed the connection]
lassulus has quit [Ping timeout: 264 seconds]
lassulus_ is now known as lassulus
wpcarro has quit [Ping timeout: 256 seconds]
ersran9 has joined #nixos
ersran9 has quit [Changing host]
ersran9 has joined #nixos
Cale has joined #nixos
ersran9 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @davidak closed pull request #43608 → circleci: init at 0.0.4705-deba4df → https://git.io/fNOUG
trylist has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 264 seconds]
iqubic has joined #nixos
<iqubic> What is the command I use to find out how long various things took during start-up? I think it's like systemd-blame or something.
jperras has quit [Ping timeout: 268 seconds]
hakujin has joined #nixos
mahalel_ has quit [Ping timeout: 245 seconds]
hakujin has quit [Ping timeout: 256 seconds]
<teto1> iqubic: systemd-analyze
Cale has quit [Remote host closed the connection]
<emily> and --blame is an optino to it
<emily> *option
Cale has joined #nixos
<iqubic> I have this issue where I get the standard wall of text, then I get a blank screen for about 4 seconds and then I get LightDM showing up.
wigust- has joined #nixos
<iqubic> emily: /run/current-system/sw/bin/systemd-analyze: unrecognized option '--blame'
wpcarro has joined #nixos
<teto1> how can what's the proper way to run xmodmap commands on nixos (services.xserver.xkbOptions ?) ? I want to ad a modifier to mod4
<emily> iqubic: er, sorry
<emily> it's "systemd-analyze blame".
<iqubic> I don't know why I get a blank screen after the wall of text.
wigust has quit [Ping timeout: 255 seconds]
wpcarro has quit [Ping timeout: 260 seconds]
jackdk has joined #nixos
drakonis has quit [Remote host closed the connection]
wpcarro has joined #nixos
mahalel_ has joined #nixos
Raybih has joined #nixos
wpcarro has quit [Ping timeout: 276 seconds]
ghasshee_ has joined #nixos
Cale has quit [Remote host closed the connection]
jperras has joined #nixos
Fare has joined #nixos
Cale has joined #nixos
sam__ has quit [Remote host closed the connection]
wpcarro has joined #nixos
jperras has quit [Ping timeout: 260 seconds]
worldofpeace has quit [Quit: worldofpeace]
worldofpeace has joined #nixos
ghasshee_ has quit [Ping timeout: 240 seconds]
wpcarro has quit [Ping timeout: 244 seconds]
trylist has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @pandaman64 closed pull request #42901 → qiskit: 0.5.4 -> 0.5.5 → https://git.io/fSGB0
cherrybl0ss0m_ has joined #nixos
<{^_^}> [nixpkgs] @pandaman64 opened pull request #43837 → qiskit: 0.5.4 -> qiskit 0.5.7 → https://git.io/fNcbt
<zgrep> I've started attempting to make a Sourcetrail package (https://www.sourcetrail.com/), so I followed along https://nixos.wiki/wiki/Packaging/Binaries more-or-less, and I encountered some rather unexpected and weird behaviour: https://ahti.space/~zgrep/tmp/weird-behaviour.txt . I'm not certain what to make of this, nor what my next steps should be. I have nix installed as a single user on Alpine Linux (uses musl libc), x86_64, in case
<zgrep> that's important (which I fear it might be).
nikivi has quit [Quit: ZNC 1.6.6 - http://znc.in]
wpcarro has joined #nixos
reinzelmann has joined #nixos
jperras has joined #nixos
wpcarro has quit [Ping timeout: 244 seconds]
cryptomonoid has joined #nixos
jperras has quit [Ping timeout: 240 seconds]
worldofpeace has quit [Remote host closed the connection]
iqubic` has joined #nixos
iqubic has quit [Ping timeout: 276 seconds]
tenten8401 has quit [Ping timeout: 244 seconds]
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
iqubic` is now known as iqubic
spear2 has quit [Ping timeout: 256 seconds]
cryptomonoid has quit [Ping timeout: 268 seconds]
<zgrep> Hmm. I think what's happening is that somehow things are "colliding" between nix and my host OS. I can't think of a better way to put it, because I don't know enough about this.
worldofpeace has joined #nixos
mahalel_ has quit [Ping timeout: 276 seconds]
Wharncliffe has quit [Ping timeout: 245 seconds]
spear2 has joined #nixos
dan-v has joined #nixos
<johnw> infinisil: correct
worldofpeace has quit [Quit: worldofpeace]
aarvar has quit [Ping timeout: 276 seconds]
Raybih has quit [K-Lined]
doyougnu has quit [Ping timeout: 245 seconds]
orivej has joined #nixos
Guanin has quit [Ping timeout: 264 seconds]
spear2 has quit [Quit: Leaving]
wpcarro has joined #nixos
worldofpeace has joined #nixos
FRidh has joined #nixos
wpcarro has quit [Ping timeout: 260 seconds]
Guanin has joined #nixos
<tertle||eltret> hi
<iqubic> hey there.
<tertle||eltret> anyone have a 1440p monitor?
<tertle||eltret> i might install nix on my 'new' spare PC tommorow
<tertle||eltret> does nvidia work on nix?
<PyroLagus> anyone here using the firefox nightly overlay?
<tertle||eltret> not that i really care
<PyroLagus> i symlinked it to .config/nixpkgs/overlays, and nix-env seems to find it, but can't install it with nix-env for some reason. doesn't even give me an error message
johnw_ has joined #nixos
johnw has quit [Ping timeout: 248 seconds]
<tertle||eltret> idk answer to that bro
<tertle||eltret> maybe zgrep does
<zgrep> I don't know the answer to anything, I'm pretty new to nix in general. :P
lord| has quit [Ping timeout: 260 seconds]
lord| has joined #nixos
endformationage has quit [Ping timeout: 276 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
PolarIntersect has quit [Ping timeout: 244 seconds]
alex`` has joined #nixos
muzzy__ has joined #nixos
dan-v has left #nixos ["WeeChat 2.1"]
worldofpeace has quit [Quit: worldofpeace]
pie_ has quit [Read error: Connection reset by peer]
pie_ has joined #nixos
worldofpeace has joined #nixos
Sonarpulse has quit [Ping timeout: 276 seconds]
wpcarro has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<{^_^}> [nixpkgs] @aneeshusa opened pull request #43838 → gtk-doc: support python3 → https://git.io/fNcxq
wpcarro has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 4 commits to master: https://git.io/fNcxO
<{^_^}> [nixpkgs] @FRidh closed pull request #43723 → pythonPackages.image-match: init at 1.1.2 → https://git.io/fNGRv
hyper_ch2 has joined #nixos
muzzy_ has joined #nixos
muzzy__ has quit [Read error: Connection reset by peer]
crmlt has joined #nixos
pie_ has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @kylewlacy opened pull request #43839 → plex-media-player: init at 2.14.1 → https://git.io/fNcxR
alex`` has quit [Ping timeout: 264 seconds]
Cale has quit [Remote host closed the connection]
Cale has joined #nixos
worldofpeace has quit [Quit: worldofpeace]
worldofpeace has joined #nixos
crmlt has quit [Quit: Lost terminal]
udkyo has joined #nixos
cherrybl0ss0m_ has quit [Quit: Connection closed for inactivity]
jperras has joined #nixos
pie_ has joined #nixos
jperras has quit [Ping timeout: 268 seconds]
worldofpeace has quit [Remote host closed the connection]
rprije has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @kalbasit opened pull request #43840 → perkeep: 20170505 -> 0.10.1 → https://git.io/fNcpG
sir_guy_carleton has quit [Quit: WeeChat 2.0]
Fare has quit [Ping timeout: 264 seconds]
worldofpeace has joined #nixos
ajs124 has joined #nixos
cryptomonoid has joined #nixos
crmlt has joined #nixos
wpcarro has joined #nixos
sam___ has joined #nixos
cryptomonoid has quit [Ping timeout: 240 seconds]
wpcarro has quit [Ping timeout: 264 seconds]
sam___ has quit [Ping timeout: 264 seconds]
<kalbasit> is it possible to use NixOS modules, such as `services` in a different linux distribution?
<{^_^}> [nixpkgs] @srhb merged pull request #43811 → oraclejdk: 8u171, 8u172 -> 8u181, 10.0.1 -> 10.0.2 [Critical security fixes] → https://git.io/fNn6g
<{^_^}> [nixpkgs] @srhb pushed 3 commits to master: https://git.io/fNchg
<{^_^}> [nixpkgs] @srhb merged pull request #43831 → terraform: remove whitespace from name → https://git.io/fNcoi
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fNchw
hakujin has joined #nixos
jensens has joined #nixos
hakujin has quit [Ping timeout: 256 seconds]
Biappi has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti merged pull request #43509 → hpc-coveralls: patch to fix build (for Cabal 2.2) → https://git.io/fNmWN
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fNchD
nikivi has joined #nixos
ghasshee_ has joined #nixos
spear2 has joined #nixos
boomshroom has joined #nixos
<boomshroom> Hi again. Does anyone here have the Gamecube controller adaptor working on NixOS?
ckauhaus has joined #nixos
goibhniu has joined #nixos
<sphalerite> boomshroom: is this a case of "I'm considering getting one" or a case of "I can't get mine to work"?
<boomshroom> sphalerite: The former. I think I've done it at one point, but it was a while back and I forget if I made it work and how. Mostly I just noticed that wii-u-gc-adapter wasn't in my path.
<{^_^}> [nixpkgs] @peti closed pull request #43804 → [WIP] find Haskell dependencies during evaluation rather than at run-time → https://git.io/fNnlx
<sphalerite> kalbasit: not really, no.
<kalbasit> how about Mac?
<etu> kalbasit: How is that NixOS?
ghasshee_ has quit [Quit: leaving]
<sphalerite> kalbasit: using nix-darwin.
ghasshee_ has joined #nixos
<kalbasit> oh I see
<sphalerite> It's not nixos modules, it's a similar system
<kalbasit> I don't use Mac so I was not aware of it :)
<kalbasit> thx
<sphalerite> what you could also do if switching to nixos wholesale isn't an option is run nixos in a container (it works well with systemd-nspawn iirc) or VM
johnhamelink has quit [Ping timeout: 276 seconds]
crmlt has quit [Quit: Lost terminal]
codedmart_ has joined #nixos
ckauhaus has quit [Ping timeout: 276 seconds]
boomshroom has quit [Ping timeout: 276 seconds]
incospicuous[m] has quit [Ping timeout: 276 seconds]
DenisLehmann[m] has quit [Ping timeout: 276 seconds]
codedmart has quit [Ping timeout: 276 seconds]
codedmart_ is now known as codedmart
<srhb> Errr, can someone explain the difference between oraclejdk8psu_distro and oraclejdk8distro for me?
fendor has joined #nixos
Cale has quit [Ping timeout: 276 seconds]
Dean[m] has quit [Ping timeout: 276 seconds]
awygle has quit [Ping timeout: 276 seconds]
abcrawf has quit [Ping timeout: 276 seconds]
{^_^} has quit [Ping timeout: 276 seconds]
boomshroom has joined #nixos
ckauhaus has joined #nixos
awygle has joined #nixos
crmlt has joined #nixos
booglewoogle has joined #nixos
<srhb> sphalerite: I get irrationally angry just by looking at the URL. I should not have merged this PR. Now I have to deal with the backport. Q_Q
<sphalerite> xD
alex`` has joined #nixos
<vaibhavsagar> dhess: my colleague solves this problem by writing his own stdlib that he imports into his projects
<vaibhavsagar> oops, scrollback
xy2_ has joined #nixos
toby1851 has quit [Ping timeout: 245 seconds]
<hyper_ch2> github down? I can't connect
toby1851 has joined #nixos
crmlt has quit [Remote host closed the connection]
<vaibhavsagar> seems okay for me
<hyper_ch2> works again
<LnL> kalbasit: that also requires reimplementing most services since the featureset of systemd and launchd doesn't really match
palo has quit [Ping timeout: 265 seconds]
Anton-Latukha has joined #nixos
DenisLehmann[m] has joined #nixos
incospicuous[m] has joined #nixos
Dean[m] has joined #nixos
ThatDocsLady_ has joined #nixos
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
Cale has joined #nixos
thc202 has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
booglewoogle has quit [Remote host closed the connection]
<srhb> Okay, halp. Does it make sense to just set both psu and cpu to the same release in the backport here? https://github.com/NixOS/nixpkgs/pull/43811/files
<srhb> Oracle is strictly noninformative about this, but it appears from the security fixes that we shouldn't be using 172 at all.
crmlt has joined #nixos
rotaerk has quit [Ping timeout: 240 seconds]
vmandela has joined #nixos
<hyper_ch2> trying to package deda but failing miserably :(
wpcarro has joined #nixos
<hyper_ch2> python is just too weird
ghasshee_ has quit [Quit: leaving]
tertle||eltret has quit [Quit: Connection closed for inactivity]
wpcarro has quit [Ping timeout: 240 seconds]
<hyper_ch2> something's not good with github here
civodul has joined #nixos
rotaerk has joined #nixos
<angerman> how do you debug why an expression fails to build on a remote builder?
<srhb> angerman: Lots of -v flags and some psychic debugging.
<srhb> From experience I can say that stracing the ssh session is no fun.
<angerman> srhb: here's the really weird thing: I have wine running a process as part of a build. That works for ~20 odd packages. And fails for a single one. And it fails only on the remote builder with a segfault.
<angerman> srhb: if I run the same wine-invocation (outside of the nixbld user) it does *not* segfault.
<angerman> srhb: so there must be something very specific on how that nixbld runs that very invocation.
<srhb> Oh wow. That sounds terribly weird. :-)
<angerman> I've been bashing my head against it for a while now.
fendor has quit [Read error: Connection reset by peer]
<angerman> I've just killed the remote builder and requested a new instance (guess I should have started the new instance prior to deleting the old one to make sure I certainly get a separate one).
<xinming> clever: ping
jperras has joined #nixos
<angerman> srhb: is there any way to get into the exact same state the nixbld was in?
<angerman> srhb: without being able to reproduce it, just seing it being reproduced by the nixbld, it's like I have to painfully watch it kill itself, but for the love of god can't intervene.
<xinming> srhb: do you know how I can fix, so the module-installer bundled with the package can also compile the modules successfully?
Guanin has quit [Ping timeout: 248 seconds]
<sphalerite> angerman: nix verify --all --no-trust might have been worth doing too
<srhb> xinming: Umm, more details required :)
<angerman> sphalerite: what would that do?
<angerman> sphalerite: figure out if I have some corruption somewhere?
<sphalerite> angerman: yep
<sphalerite> angerman: might be that a single bit was flipped in one of the windows libraries which only the one build used
<goibhniu> hyper_ch2 did you get it working in nix-shell already?
<sphalerite> or something
<angerman> sphalerite: they all use the identical application. And it just fails to launch it. I'll still give this a go.
wpcarro has joined #nixos
<sphalerite> angerman: oh ok. Maybe not then.
<xinming> srhb: yesterday, I have rakudo installed, with rakudo installed, it have a module-installer bundled, When I try to use module-installer to install module, I got error
<xinming> I got error which is "Cannot locate native library 'libssl.so': libssl.so: cannot open shared object file: No such file or directory"
<xinming> and I have strace dumped
<xinming> clever yesterday tries to help, but he went to bed.
<srhb> xinming: Can you share the steps to reproduce, and the nix expression?
<angerman> sphalerite: yea, the ideal thing would be to manage to get to the exact point and be dropped into the shell to examine what's going on.
jperras has quit [Ping timeout: 276 seconds]
<angerman> sphalerite: could I potentially start a tmux session and then ssh into the box and connect to that one?
<xinming> srhb: strace log
<sphalerite> angerman: inside the nix build?
<xinming> I'll nopaste the default.nix
<angerman> sphalerite: yea.
<sphalerite> angerman: I have an extremely hacky and somewhat fiddly idea…
<xinming> srhb: http://termbin.com/h30h THis is the nix file used to compile rakudo
<angerman> sphalerite: like inject some `DEBUG_HERE` command into the preBuild... and then just sleep in the build for 300s, while trying to run the command by hand.
<angerman> sphalerite: well I'll have to see it reproduces on the new providioned builder as well.
* angerman still has hopes this just evaporaes
<sphalerite> angerman: but I need to go just now so I'll give you the essence of it and let you work it out for yourself :p I previously changed a build that I didn't give enough cores to use more by gdb'ing into the make process and making it exec a new make process with the right number of cores
booglewoogle has joined #nixos
<sphalerite> so do something similar, except spawn a shell with stdio on a socket (in /build) or something that you can then attach to from outside (/build inside corresponds to /tmp/nix-build-foo outside usually)
nschoe has joined #nixos
<sphalerite> I'm off now, good luck!
* angerman looks horrified.
Anton-Latukha has quit [Ping timeout: 256 seconds]
wpcarro has quit [Ping timeout: 256 seconds]
<angerman> :( verification didn't reveal any issue.
<xinming> srhb: If you mean reproduce, let's say, install the package, then, we manually instlal https://github.com/ugexe/zef
<srhb> xinming: I'm building it right now. I think
booglewoogle has quit [Remote host closed the connection]
<srhb> Lots of failed to resolve something, it seems it's still trying to use the network.
<xinming> srhb: they are just "testing"
<xinming> the bundled module needs testing.
<srhb> xinming: ok :)
<xinming> they are not failure, later, after install zef
<xinming> we use zef to install other modules, then, we'll get the error, I'm trying to narrow down which module tries to load libssl.so
johanot has joined #nixos
<srhb> xinming: Let me see how it looks once it's built...
<srhb> Assuming the build finishes?
johnhamelink has joined #nixos
<xinming> srhb: The build will finish.
<xinming> at least here, zef can be instaled successfully.
<srhb> There's nothing in the result that appears to link against openssl, so I guess the problem is in zef itself.
<hyper_ch2> goibhniu: I don't use nix-shell
fendor has joined #nixos
<xinming> but when zef tries to link to third external modules, We'll get error.
<xinming> I've posted strace error log
<srhb> xinming: What command should I be running? I've installed zef, I think.
<xinming> zef install cro
wpcarro has joined #nixos
<xinming> I'm trying to narrow down what module in cro tries to pull the OpenSSL
<xinming> that way, we can directly install OpenSSL and test instead of so many useless modules.
cryptomonoid has joined #nixos
<srhb> xinming: I don't know enough about this ecosystem to really have an idea what's going on. I will say that I don't expect an "installer" to work correctly, eg. zef should be packages with nix, cro should be packages with nix in order to get access to any external libraries they need, but I don't know, sorry.
wpcarro has quit [Ping timeout: 276 seconds]
<xinming> srhb: Ok, THanks anyway for your time.
Anton-Latukha has joined #nixos
<xinming> It seems I'll have to wait, and use docker as a tmp sollution. :-)
<xinming> the npm does work.
<xinming> npm works fine though.
Guest80558 has joined #nixos
<goibhniu> hyper_ch2 sorry, no idea
Biappi has joined #nixos
<goibhniu> hyper_ch2 oh! maybe it's the umlaut in the README
<goibhniu> hyper_ch2 you could test that by blanking the README in the patchPhase
crmlt has quit [Ping timeout: 260 seconds]
<hyper_ch2> I can't even figure out where it has issues (I mean in which file)
<goibhniu> hyper_ch2 or remove the lines: with open("README.md", "r") as fh: long_description = fh.read()
<goibhniu> it's definitely failing when it reads that file
ThatDocsLady_ has quit [Remote host closed the connection]
<hyper_ch2> ah :)
ThatDocsLady_ has joined #nixos
<goibhniu> to fix it properly, you could use codecs.open instead of open
<hyper_ch2> I have no idea what you mean
<hyper_ch2> and how you even got that it's the README.md
__Sander__ has joined #nixos
<hyper_ch2> the traceback doesn't say anything
<goibhniu> https://github.com/dfd-tud/deda/blob/master/setup.py#L3 codecs.open("README.md", "r", "utf-8")
worldofpeace has quit [Quit: worldofpeace]
<hyper_ch2> echo '' > README.md --> lets see what happens
worldofpeace has joined #nixos
cryptomonoid has quit [Ping timeout: 244 seconds]
clefru has joined #nixos
<hyper_ch2> it odesn't like that
<goibhniu> ah, in python3 you can just use open('README.md', 'r', encoding="utf-8")
<goibhniu> what's the error now?
<hyper_ch2> I added echo '' > README.md in the patch phase
<hyper_ch2> error: syntax error, unexpected $end, expecting IND_STR or DOLLAR_CURLY or IND_STRING_CLOSE, at /home/hyper/Desktop/git-repos/nix-expressions/deda.nix:18:5
<goibhniu> can you paste your expression again?
<hyper_ch2> stupid me
<hyper_ch2> echo "" > README.md
<LnL> you are probably escaping '' in a multiline string
<goibhniu> aye :D
<hyper_ch2> because ''
<LnL> or just echo
boomshroom has quit [Quit: WeeChat 2.1]
Tobba has quit [Ping timeout: 264 seconds]
<FRidh> "Unicode issues can typically be fixed by including glibcLocales in buildInputs and exporting LC_ALL=en_US.utf-8."
<hyper_ch2> so, it looks for opencv-python and the python module is just called opencv (also tried with opencv3)
<hyper_ch2> FRidh: export where?
<LnL> FRidh: oh! that fixes setup.py evaluation weirdness like this?
<FRidh> yep
<goibhniu> nice!
<LnL> I should do that in my generator then
<hyper_ch2> postPatch phase do the export?
fractalcat has quit [Quit: WeeChat 2.1]
<FRidh> LnL: I've sometimes considered always including it...but it adds to the closure
<FRidh> though I think everyone has glibcLocales
<FRidh> it's even more interesting now with Python 3.7
<hyper_ch2> ok, glibcLocales as buildInput and export LC_.... in postPatch works
<goibhniu> it seems very fragile to me, IIUC python is depending on the locale setting of the user to work correctly
Guest80558 has quit [Ping timeout: 245 seconds]
Guest80558 has joined #nixos
<FRidh> that locale is C in our builds
<hyper_ch2> so, still issues that it can't properly find opencv-python https://paste.simplylinux.ch/view/raw/e734f3e2
<goibhniu> Thanks! But in this particular case, wouldn't it be best if the setup.py read the file explicitly as utf-8?
mounty has quit [Quit: Konversation terminated!]
<FRidh> goibhniu: It kind of depends. README.md uses unicode, but the file does not explicitly state that it does
<FRidh> in your environment, do you want to state for every file that it does? Do you want to fix code that uses it to say it should use utf-8? Or do you expect your whole environmetn to support utf-8?
xy2_ has quit [Ping timeout: 264 seconds]
<goibhniu> I'd prefer if it worked for everyone regardless of their env. The authors know what encoding they're using.
<goibhniu> but I'd say utf-8 is a better default
<FRidh> Indeed, that's better. In that case, would you prefer to annotate the file as unicode, or would you leave it up to the consumer (setup.py)?
<FRidh> yes, it's time to move on to utf-8
<RetardedOnion> where can i see what deps a package has? for example: when i am installing virt-manager, do i have to install qemu, libvirt, ovmf as well?
<goibhniu> hrm ... annotating the file sounds nicer to me
<hyper_ch2> hmmm, still can't figure out why it complains about opencv-python :(
<goibhniu> hyper_ch2 did check some other python package that uses opencv?
fendor has quit [Ping timeout: 276 seconds]
wucke13 has joined #nixos
<hyper_ch2> goibhniu: I don't know any other pythong packages that uses it
binarin has joined #nixos
<hyper_ch2> but might the issue be that nix calls it just opencv and the script is looking for opencv-python?
fendor has joined #nixos
adamt has joined #nixos
adamt is now known as Guest99618
sigmundv has joined #nixos
<goibhniu> hyper_ch2 maybe something like: python3Packages.opencv3
<hyper_ch2> goibhniu: I already have opencv3 in my propagated build inputs
<hyper_ch2> so I don't understand why I get the error
<srhb> RetardedOnion: Well, the package should be pulling in any necessary dependencies on its own.
<RetardedOnion> srhb: what deps are "necessary"?
<srhb> RetardedOnion: The ones virt-manager needs to run :)
<RetardedOnion> srhb: so the bare minimum? like void?
<srhb> RetardedOnion: Well, whatever the person who wrote the package considers "necessary"
<srhb> Which is probably an objective minimum in some cases and not in others.
nschoe has quit [Quit: Program. Terminated.]
wucke13 has quit [Ping timeout: 256 seconds]
pie_ has quit [Ping timeout: 276 seconds]
<FRidh> hyper_ch2: https://pypi.org/project/opencv-python/ Our bindings don't create a dist-packages folder, and thus dependents are not aware it exists
wucke13 has joined #nixos
<RetardedOnion> hm. ok. a way to check it would be nice. thank you anyways
<FRidh> either we fix our bindings, or we consider using this package
ajs124 has left #nixos ["Stream closed by us: Timed out waiting for stream resumption (connection-timeout)"]
DenisLehmann[m] has quit [Remote host closed the connection]
vskilet[m] has quit [Remote host closed the connection]
NickHu[m] has quit [Remote host closed the connection]
jgl[m] has quit [Remote host closed the connection]
reactormonk[m] has quit [Read error: Connection reset by peer]
indefini[m] has quit [Write error: Connection reset by peer]
Noughtmare[m] has quit [Remote host closed the connection]
tfc[m] has quit [Remote host closed the connection]
AlanPearce[m] has quit [Remote host closed the connection]
Bugworm[m] has quit [Remote host closed the connection]
YegorTimoshenko[ has quit [Remote host closed the connection]
rnkch[m] has quit [Remote host closed the connection]
r3mfKm[m] has quit [Remote host closed the connection]
pauricthelodger[ has quit [Remote host closed the connection]
AdamSlack[m] has quit [Remote host closed the connection]
spacekitteh[m] has quit [Remote host closed the connection]
chominist[m] has quit [Read error: Connection reset by peer]
k0d3fr34k[m] has quit [Read error: Connection reset by peer]
slabity[m] has quit [Remote host closed the connection]
BennoFnfstck[m] has quit [Remote host closed the connection]
CoopDot[m] has quit [Remote host closed the connection]
htafdwes[m] has quit [Read error: Connection reset by peer]
bendlas[m] has quit [Read error: Connection reset by peer]
copumpkin[m] has quit [Read error: Connection reset by peer]
stigmergik[m] has quit [Read error: Connection reset by peer]
nico202[m]1 has quit [Remote host closed the connection]
nickdshsadhkas[m has quit [Remote host closed the connection]
mankyKitty[m] has quit [Read error: Connection reset by peer]
codyopel[m] has quit [Read error: Connection reset by peer]
Khorne[m]1 has quit [Remote host closed the connection]
grahamc[m]1 has quit [Remote host closed the connection]
bluewolfy[m] has quit [Remote host closed the connection]
jack[m]1 has quit [Remote host closed the connection]
ayyjayess[m] has quit [Read error: Connection reset by peer]
Hook[m] has quit [Remote host closed the connection]
aaronc[m] has quit [Remote host closed the connection]
Linus[m] has quit [Read error: Connection reset by peer]
joh[m] has quit [Remote host closed the connection]
AndrewMiloradovs has quit [Remote host closed the connection]
nyanloutre[m] has quit [Remote host closed the connection]
wilornel[m] has quit [Remote host closed the connection]
EuAndreh[m] has quit [Remote host closed the connection]
iceTanner[m] has quit [Remote host closed the connection]
unlmtd[m] has quit [Read error: Connection reset by peer]
petersjt014[m] has quit [Read error: Connection reset by peer]
trubii[m] has quit [Read error: Connection reset by peer]
manveru[m] has quit [Remote host closed the connection]
aniketd[m] has quit [Remote host closed the connection]
desttinghim[m] has quit [Remote host closed the connection]
JaakkoLuttinen[m has quit [Remote host closed the connection]
herzmeister[m] has quit [Remote host closed the connection]
ahbnr[m] has quit [Remote host closed the connection]
funits[m] has quit [Remote host closed the connection]
Olinkl[m] has quit [Read error: Connection reset by peer]
Ralith[m] has quit [Read error: Connection reset by peer]
hl[m] has quit [Read error: Connection reset by peer]
AhmedOmar[m] has quit [Read error: Connection reset by peer]
Seeker[m] has quit [Read error: Connection reset by peer]
chreekat[m] has quit [Read error: Connection reset by peer]
timokau[m] has quit [Read error: Connection reset by peer]
leftfold[m] has quit [Read error: Connection reset by peer]
lkjhgfdsa00xxx[m has quit [Read error: Connection reset by peer]
gh0st[m] has quit [Read error: Connection reset by peer]
uvnikita[m] has quit [Remote host closed the connection]
forex[m] has quit [Remote host closed the connection]
zurk[m] has quit [Remote host closed the connection]
devr[m] has quit [Read error: Connection reset by peer]
fgaz[m] has quit [Read error: Connection reset by peer]
Zurdo[m] has quit [Remote host closed the connection]
jesper[m] has quit [Remote host closed the connection]
demyan[m] has quit [Remote host closed the connection]
mirlur[m] has quit [Read error: Connection reset by peer]
sudoreboot[m] has quit [Read error: Connection reset by peer]
danielrf[m] has quit [Read error: Connection reset by peer]
MaJoe[m] has quit [Read error: Connection reset by peer]
spring322[m] has quit [Read error: Connection reset by peer]
Richard[m] has quit [Read error: Connection reset by peer]
felipeac[m] has quit [Read error: Connection reset by peer]
WilliamHamilton[ has quit [Read error: Connection reset by peer]
malteof[m] has quit [Read error: Connection reset by peer]
bugabinga[m] has quit [Read error: Connection reset by peer]
cryptobilly[m] has quit [Read error: Connection reset by peer]
danbst[m] has quit [Remote host closed the connection]
EB[m] has quit [Remote host closed the connection]
Orbstheorem[m] has quit [Remote host closed the connection]
ipj[m] has quit [Remote host closed the connection]
tosh[m] has quit [Read error: Connection reset by peer]
rnhmjoj[m] has quit [Remote host closed the connection]
jameshjacksonjr[ has quit [Write error: Connection reset by peer]
asp[m] has quit [Remote host closed the connection]
Drakonis[m] has quit [Remote host closed the connection]
dywedir[m] has quit [Remote host closed the connection]
moredhel[m] has quit [Read error: Connection reset by peer]
efx[m] has quit [Read error: Connection reset by peer]
Kallegro[m] has quit [Read error: Connection reset by peer]
hw9891[m] has quit [Read error: Connection reset by peer]
darkmeson[m] has quit [Read error: Connection reset by peer]
wervenyt[m] has quit [Read error: Connection reset by peer]
Elephant454[m] has quit [Read error: Connection reset by peer]
crystalgamma[m] has quit [Read error: Connection reset by peer]
comphez[m] has quit [Read error: Connection reset by peer]
regnat[m] has quit [Read error: Connection reset by peer]
panther320[m] has quit [Read error: Connection reset by peer]
dpetranek[m] has quit [Remote host closed the connection]
zdisk[m] has quit [Remote host closed the connection]
admintgs[m] has quit [Remote host closed the connection]
Dan[m]1 has quit [Remote host closed the connection]
fishy[m] has quit [Remote host closed the connection]
mcatis[m] has quit [Remote host closed the connection]
Minijackson[m] has quit [Remote host closed the connection]
nmikhailov[m]1 has quit [Remote host closed the connection]
freusque[m] has quit [Remote host closed the connection]
mlaskus[m] has quit [Remote host closed the connection]
bitmapper[m] has quit [Remote host closed the connection]
aiyubkhan[m] has quit [Remote host closed the connection]
fearlessKim[m] has quit [Remote host closed the connection]
bobvanderlinden_ has quit [Remote host closed the connection]
v0id72[m] has quit [Remote host closed the connection]
AristotleCajetan has quit [Read error: Connection reset by peer]
WilliamGHatch[m] has quit [Remote host closed the connection]
thefloweringash[ has quit [Remote host closed the connection]
TaoHansen[m] has quit [Remote host closed the connection]
nh2[m] has quit [Remote host closed the connection]
happyente[m] has quit [Read error: Connection reset by peer]
midchildan[m] has quit [Remote host closed the connection]
incospicuous[m] has quit [Remote host closed the connection]
Obscurity[m] has quit [Remote host closed the connection]
Sorbet[m] has quit [Remote host closed the connection]
dtz[m] has quit [Remote host closed the connection]
ArtemVorotnikov[ has quit [Read error: Connection reset by peer]
darkmeson[m]1 has quit [Read error: Connection reset by peer]
rihardsk[m] has quit [Read error: Connection reset by peer]
dash[m] has quit [Read error: Connection reset by peer]
PeterRomfeld[m] has quit [Remote host closed the connection]
emil1234[m] has quit [Remote host closed the connection]
GiodAmelio[m] has quit [Remote host closed the connection]
Dean[m] has quit [Remote host closed the connection]
srid[m] has quit [Remote host closed the connection]
d3rNarr[m] has quit [Remote host closed the connection]
russiancow[m] has quit [Remote host closed the connection]
hendrik[m]1 has quit [Remote host closed the connection]
bkchr[m] has quit [Read error: Connection reset by peer]
mtncoder[m] has quit [Remote host closed the connection]
AntonLatukha[m] has quit [Remote host closed the connection]
coorey[m] has quit [Remote host closed the connection]
primeos[m] has quit [Remote host closed the connection]
gudea[m] has quit [Read error: Connection reset by peer]
techtangents[m] has quit [Read error: Connection reset by peer]
tamwile[m] has quit [Read error: Connection reset by peer]
hedning[m] has quit [Read error: Connection reset by peer]
PascalBach[m] has quit [Read error: Connection reset by peer]
equalunique[m] has quit [Read error: Connection reset by peer]
mica[m] has quit [Read error: Connection reset by peer]
ldesgoui[m] has quit [Remote host closed the connection]
Christian[m]5 has quit [Remote host closed the connection]
bionicmac[m] has quit [Read error: Connection reset by peer]
rycee[m] has quit [Remote host closed the connection]
olejorgenb[m] has quit [Remote host closed the connection]
sirocyl[m] has quit [Read error: Connection reset by peer]
sargon[m] has quit [Read error: Connection reset by peer]
cornu[m]1 has quit [Read error: Connection reset by peer]
mgttlinger[m] has quit [Read error: Connection reset by peer]
BurNiinTRee[m] has quit [Read error: Connection reset by peer]
jerengie[m] has quit [Remote host closed the connection]
sgk[m] has quit [Read error: Connection reset by peer]
kainospur[m] has quit [Read error: Connection reset by peer]
peel[m] has quit [Read error: Connection reset by peer]
adisbladis[m] has quit [Read error: Connection reset by peer]
Bruno[m] has quit [Read error: Connection reset by peer]
Leon[m] has quit [Read error: Connection reset by peer]
HamishHutchings[ has quit [Read error: Connection reset by peer]
DavidLeung[m] has quit [Remote host closed the connection]
semyon[m] has quit [Remote host closed the connection]
davidak[m] has quit [Remote host closed the connection]
fighterhero[m] has quit [Remote host closed the connection]
Dezgeg[m] has quit [Remote host closed the connection]
yochai[m] has quit [Remote host closed the connection]
ngerstle[m] has quit [Remote host closed the connection]
patrl[m] has quit [Remote host closed the connection]
colmeka[m] has quit [Remote host closed the connection]
lordfluffywobble has quit [Read error: Connection reset by peer]
YuFanLovezYou[m] has quit [Read error: Connection reset by peer]
buzzmaster[m] has quit [Remote host closed the connection]
wak-work[m] has quit [Read error: Connection reset by peer]
Wysteriary[m] has quit [Remote host closed the connection]
Phil[m]2 has quit [Remote host closed the connection]
puffnfresh[m] has quit [Read error: Connection reset by peer]
das-g[m] has quit [Remote host closed the connection]
tokudan[m] has quit [Remote host closed the connection]
gbuisson[m] has quit [Remote host closed the connection]
ProofTechnique[m has quit [Remote host closed the connection]
octalsrc[m] has quit [Read error: Connection reset by peer]
nelag[m] has quit [Read error: Connection reset by peer]
tet[m] has quit [Read error: Connection reset by peer]
goibhniu[m] has quit [Remote host closed the connection]
edef[m] has quit [Read error: Connection reset by peer]
tehnix[m] has quit [Remote host closed the connection]
Florian[m] has quit [Read error: Connection reset by peer]
sevanspowell[m] has quit [Read error: Connection reset by peer]
freeman42x[m] has quit [Remote host closed the connection]
offlinehacker[m] has quit [Remote host closed the connection]
cornu[m] has quit [Read error: Connection reset by peer]
Dt[m] has quit [Read error: Connection reset by peer]
mith[m] has quit [Read error: Connection reset by peer]
dadadus[m] has quit [Remote host closed the connection]
ninjarai4[m] has quit [Remote host closed the connection]
stekke[m] has quit [Remote host closed the connection]
liberdiko[m] has quit [Remote host closed the connection]
Adev[m] has quit [Remote host closed the connection]
Singularity[m] has quit [Remote host closed the connection]
card[m] has quit [Remote host closed the connection]
omawnakw[m] has quit [Remote host closed the connection]
zaphar_ps[m] has quit [Read error: Connection reset by peer]
ArdaXi[m] has quit [Read error: Connection reset by peer]
Albtrz[m] has quit [Remote host closed the connection]
MichaelEden[m] has quit [Remote host closed the connection]
trikl[m] has quit [Remote host closed the connection]
xobroll[m] has quit [Remote host closed the connection]
Necronian[m] has quit [Read error: Connection reset by peer]
have-quick[m] has quit [Read error: Connection reset by peer]
mathis[m] has quit [Remote host closed the connection]
U[m] has quit [Read error: Connection reset by peer]
abbafei[m] has quit [Remote host closed the connection]
dkellner[m] has quit [Remote host closed the connection]
bdimcheff[m] has quit [Remote host closed the connection]
nocent[m] has quit [Remote host closed the connection]
davidarmatrixorg has quit [Read error: Connection reset by peer]
morgib[m] has quit [Read error: Connection reset by peer]
Pneumaticat[m] has quit [Read error: Connection reset by peer]
urien1[m] has quit [Read error: Connection reset by peer]
philipp[m] has quit [Read error: Connection reset by peer]
shd[m] has quit [Read error: Connection reset by peer]
musicmatze[m] has quit [Read error: Connection reset by peer]
DanielSchfer[m] has quit [Read error: Connection reset by peer]
smrtak[m] has quit [Read error: Connection reset by peer]
ms[m] has quit [Read error: Connection reset by peer]
praticamentetild has quit [Read error: Connection reset by peer]
xnaveira[m] has quit [Read error: Connection reset by peer]
mudri[m] has quit [Read error: Connection reset by peer]
<FRidh> dist-info I meant
oknf[m] has quit [Read error: Connection reset by peer]
ajs124 has joined #nixos
aramiscd[m] has quit [Read error: Connection reset by peer]
atopuzov[m] has quit [Read error: Connection reset by peer]
Magnap[m] has quit [Read error: Connection reset by peer]
roberth[m] has quit [Remote host closed the connection]
attero[m] has quit [Remote host closed the connection]
nmikhailov[m] has quit [Remote host closed the connection]
telent[m] has quit [Remote host closed the connection]
ivanfon[m] has quit [Write error: Connection reset by peer]
bhipple[m] has quit [Write error: Connection reset by peer]
lycium[m] has quit [Write error: Connection reset by peer]
daftect[m] has quit [Write error: Connection reset by peer]
TimePath[m] has quit [Remote host closed the connection]
thra11[m] has quit [Remote host closed the connection]
pierrebeaucamp[m has quit [Remote host closed the connection]
PeterHoeg[m] has quit [Remote host closed the connection]
PlasmaStrike[m] has quit [Remote host closed the connection]
aspiwack[m] has quit [Remote host closed the connection]
greska[m] has quit [Remote host closed the connection]
binarin has left #nixos ["Using Circe, the loveliest of all IRC clients"]
<srhb> RetardedOnion: I can tell you how to check it once it's installed. nix-store -qR /nix/store/thing will give you the runtime deps of thing.
<hyper_ch2> FRidh: so that also need to be packaged?
<FRidh> hyper_ch2: no, we should fix our bindings
<FRidh> that pypi package is actually only binary wheels, so not interesting
fiddlerwoaroof has quit [Ping timeout: 261 seconds]
rev_strangehope has quit [Ping timeout: 260 seconds]
<RetardedOnion> srhb: still shucks. if i want to install packages, i want to have all the necessary packages for me. so telling me what packages are used would be nice.
<hyper_ch2> FRidh: I have no idea what that means :)
sellout- has quit [Ping timeout: 245 seconds]
<hyper_ch2> I thought it would be simple to package deda :(
<srhb> RetardedOnion: I don't understand what you mean by that. If you want virt-manager, installing it will give you everything you need to use virt-manager. You don't need to chase any other package.
<srhb> RetardedOnion: If that's not the case, I'd consider it a bug in the package.
<FRidh> hyper_ch2: me neither
<FRidh> you can remove the opencv-python requirement from the setup.py /requirements.txt or whatever file they use
<hyper_ch2> FRidh: trying to package opencv-python though but I even fail at getting from pypi
shoogz has quit [Ping timeout: 240 seconds]
<FRidh> but do keep your opencv(3) in propagatedBuildInputs
<hyper_ch2> FRidh: that would work?
<FRidh> that way it won't check for opencv during installation, but it will be present
<RetardedOnion> srhb: i dont think it will install xen. virtuozzo, lxc and qemu. that shouldnt be the job of the package imo
abcrawf has joined #nixos
shoogz has joined #nixos
rev_strangehope has joined #nixos
{^_^} has joined #nixos
{^_^} has quit [Changing host]
{^_^} has joined #nixos
<srhb> RetardedOnion: OK, I see your point. And indeed it does not.
fiddlerwoaroof has joined #nixos
bitonic_ is now known as bitonic
tet[m] has joined #nixos
sellout- has joined #nixos
<hyper_ch2> FRidh: I had to remove argparse also... then it built... but not sure if it's usable ;)
crmlt has joined #nixos
rotaerk has quit [Ping timeout: 264 seconds]
<goibhniu> go hyper_ch2 go!
<FRidh> argparse is ancient
simukis has joined #nixos
hamishmack has joined #nixos
<hyper_ch2> deda_parse_print test.jpg
<hyper_ch2> No tracking dot pattern detected. For best results try a 300 dpi scan and a lossless file format.
<hyper_ch2> but how to find out if it really run it correctly and didn't have errors and stuff?
kerrhau has quit [Ping timeout: 255 seconds]
<hyper_ch2> goibhniu: do you have color laser printer and a good scanner?
<{^_^}> [nixpkgs] @Twey closed pull request #43820 → pssh: ensure runtime dependencies are propagated → https://git.io/fNcvx
<hyper_ch2> goibhniu: in case you do, wanna check if your printer leaves tracking dots? https://github.com/sjau/nix-expressions/blob/master/deda.nix
<goibhniu> hyper_ch2 I'm afraid not ... perhaps they have some test files in the package?
<goibhniu> oh, you need hardware, I suppose
<hyper_ch2> goibhniu: that would be way too simple, right?
<hyper_ch2> well, that library has an index of printers that leaves tracking dots
<hyper_ch2> so you make a color print
<hyper_ch2> scan it in and let the image run through the tool
<hyper_ch2> and it should tell you if the color laser printer has leaves known tracking dots
<hyper_ch2> they don't seem to have any example pics
ericsagnes has quit [Ping timeout: 256 seconds]
wangoe has joined #nixos
rotaerk has joined #nixos
wangoe has quit [Client Quit]
crmlt has quit [Ping timeout: 256 seconds]
wangoe has joined #nixos
jperras has joined #nixos
<goibhniu> hyper_ch2 it's fascinating!
wangoe has quit [Client Quit]
jperras has quit [Ping timeout: 245 seconds]
humanoyd has joined #nixos
reinzelmann has quit [Quit: Leaving]
<hyper_ch2> goibhniu: what is?
<hyper_ch2> the tracking dots?
<goibhniu> yup
* goibhniu didn't know it was a thing
<hyper_ch2> :)
<hyper_ch2> but to know if the packaging above works, I would need a positive from a test now
<hyper_ch2> so, if you have a colour laser printer, print a page in colour, scan it at 300dpi - lossless
NightTrain has joined #nixos
AndrewMiloradovs has joined #nixos
unlmtd[m] has joined #nixos
comphez[m] has joined #nixos
cornu[m] has joined #nixos
mirlur[m] has joined #nixos
dpetranek[m] has joined #nixos
ProofTechnique[m has joined #nixos
atopuzov[m] has joined #nixos
jesper[m] has joined #nixos
pauricthelodger[ has joined #nixos
gbuisson[m] has joined #nixos
ahbnr[m] has joined #nixos
telent[m] has joined #nixos
PascalBach[m] has joined #nixos
sevanspowell[m] has joined #nixos
nyanloutre[m] has joined #nixos
abbafei[m] has joined #nixos
WilliamHamilton[ has joined #nixos
Drakonis[m] has joined #nixos
demyan[m] has joined #nixos
Leon[m] has joined #nixos
mankyKitty[m] has joined #nixos
indefini[m] has joined #nixos
tokudan[m] has joined #nixos
tfc[m] has joined #nixos
roberth[m] has joined #nixos
regnat[m] has joined #nixos
primeos[m] has joined #nixos
U[m] has joined #nixos
tehnix[m] has joined #nixos
danielrf[m] has joined #nixos
aspiwack[m] has joined #nixos
Bruno[m] has joined #nixos
HamishHutchings[ has joined #nixos
Olinkl[m] has joined #nixos
lycium[m] has joined #nixos
YegorTimoshenko[ has joined #nixos
freeman42x[m] has joined #nixos
uvnikita[m] has joined #nixos
have-quick[m] has joined #nixos
leftfold[m] has joined #nixos
WilliamGHatch[m] has joined #nixos
rihardsk[m] has joined #nixos
stigmergik[m] has joined #nixos
Linus[m] has joined #nixos
mith[m] has joined #nixos
Seeker[m] has joined #nixos
Noughtmare[m] has joined #nixos
hl[m] has joined #nixos
TimePath[m] has joined #nixos
Minijackson[m] has joined #nixos
aniketd[m] has joined #nixos
ipj[m] has joined #nixos
hendrik[m]1 has joined #nixos
wervenyt[m] has joined #nixos
adisbladis[m] has joined #nixos
bobvanderlinden_ has joined #nixos
cryptobilly[m] has joined #nixos
Kallegro[m] has joined #nixos
wak-work[m] has joined #nixos
peel[m] has joined #nixos
chreekat[m] has joined #nixos
davidarmatrixorg has joined #nixos
nmikhailov[m] has joined #nixos
bdimcheff[m] has joined #nixos
das-g[m] has joined #nixos
Bugworm[m] has joined #nixos
xobroll[m] has joined #nixos
rnhmjoj[m] has joined #nixos
ArdaXi[m] has joined #nixos
puffnfresh[m] has joined #nixos
rycee[m] has joined #nixos
xnaveira[m] has joined #nixos
sudoreboot[m] has joined #nixos
timokau[m] has joined #nixos
shd[m] has joined #nixos
mudri[m] has joined #nixos
fishy[m] has joined #nixos
octalsrc[m] has joined #nixos
grahamc[m]1 has joined #nixos
colmeka[m] has joined #nixos
desttinghim[m] has joined #nixos
thra11[m] has joined #nixos
moredhel[m] has joined #nixos
jgl[m] has joined #nixos
olejorgenb[m] has joined #nixos
Sorbet[m] has joined #nixos
ivanfon[m] has joined #nixos
ayyjayess[m] has joined #nixos
Orbstheorem[m] has joined #nixos
zaphar_ps[m] has joined #nixos
thefloweringash[ has joined #nixos
NickHu[m] has joined #nixos
YuFanLovezYou[m] has joined #nixos
patrl[m] has joined #nixos
tamwile[m] has joined #nixos
Elephant454[m] has joined #nixos
bkchr[m] has joined #nixos
wilornel[m] has joined #nixos
midchildan[m] has joined #nixos
davidak[m] has joined #nixos
fearlessKim[m] has joined #nixos
CoopDot[m] has joined #nixos
bluewolfy[m] has joined #nixos
reactormonk[m] has joined #nixos
AlanPearce[m] has joined #nixos
omawnakw[m] has joined #nixos
nh2[m] has joined #nixos
manveru[m] has joined #nixos
liberdiko[m] has joined #nixos
Phil[m]2 has joined #nixos
ArtemVorotnikov[ has joined #nixos
sirocyl[m] has joined #nixos
happyente[m] has joined #nixos
yochai[m] has joined #nixos
darkmeson[m]1 has joined #nixos
spacekitteh[m] has joined #nixos
bugabinga[m] has joined #nixos
lkjhgfdsa00xxx[m has joined #nixos
htafdwes[m] has joined #nixos
Florian[m] has joined #nixos
herzmeister[m] has joined #nixos
joh[m] has joined #nixos
Magnap[m] has joined #nixos
dkellner[m] has joined #nixos
Dezgeg[m] has joined #nixos
DanielSchfer[m] has joined #nixos
danbst[m] has joined #nixos
asp[m] has joined #nixos
Wysteriary[m] has joined #nixos
Richard[m] has joined #nixos
nico202[m]1 has joined #nixos
sargon[m] has joined #nixos
Necronian[m] has joined #nixos
hedning[m] has joined #nixos
edef[m] has joined #nixos
offlinehacker[m] has joined #nixos
felipeac[m] has joined #nixos
trubii[m] has joined #nixos
nmikhailov[m]1 has joined #nixos
fighterhero[m] has joined #nixos
AdamSlack[m] has joined #nixos
nocent[m] has joined #nixos
trikl[m] has joined #nixos
goibhniu[m] has joined #nixos
Obscurity[m] has joined #nixos
ms[m]1 has joined #nixos
iceTanner[m] has joined #nixos
copumpkin[m] has joined #nixos
bitmapper[m] has joined #nixos
ldesgoui[m] has joined #nixos
spring322[m] has joined #nixos
Dan[m]1 has joined #nixos
slabity[m] has joined #nixos
chominist[m] has joined #nixos
mlaskus[m] has joined #nixos
Singularity[m] has joined #nixos
Christian[m]7 has joined #nixos
philipp[m] has joined #nixos
vskilet[m] has joined #nixos
DenisLehmann[m] has joined #nixos
semyon[m] has joined #nixos
AristotleCajetan has joined #nixos
ninjarai4[m] has joined #nixos
PeterRomfeld[m] has joined #nixos
EB[m] has joined #nixos
zurk[m] has joined #nixos
urien1[m] has joined #nixos
zdisk[m] has joined #nixos
jerengie[m] has joined #nixos
codyopel[m] has joined #nixos
BennoFnfstck[m] has joined #nixos
bhipple[m] has joined #nixos
kainospur[m] has joined #nixos
darkmeson[m] has joined #nixos
crystalgamma[m] has joined #nixos
Dt[m] has joined #nixos
BurNiinTRee[m] has joined #nixos
oknf[m] has joined #nixos
tosh[m] has joined #nixos
dtz[m] has joined #nixos
jameshjacksonjr[ has joined #nixos
hw9891[m] has joined #nixos
Dean[m] has joined #nixos
coorey[m] has joined #nixos
equalunique[m] has joined #nixos
pierrebeaucamp[m has joined #nixos
sgk[m] has joined #nixos
aramiscd[m] has joined #nixos
Pneumaticat[m] has joined #nixos
AhmedOmar[m] has joined #nixos
AntonLatukha[m] has joined #nixos
fgaz[m] has joined #nixos
morgib[m] has joined #nixos
PlasmaStrike[m] has joined #nixos
techtangents[m] has joined #nixos
funits[m] has joined #nixos
mtncoder[m] has joined #nixos
JaakkoLuttinen[m has joined #nixos
malteof[m] has joined #nixos
gh0st[m] has joined #nixos
TaoHansen[m] has joined #nixos
musicmatze[m] has joined #nixos
Zurdo[m] has joined #nixos
mica[m] has joined #nixos
nelag[m] has joined #nixos
mcatis[m] has joined #nixos
mgttlinger[m] has joined #nixos
bionicmac[m] has joined #nixos
Ralith[m] has joined #nixos
petersjt014[m] has joined #nixos
greska[m] has joined #nixos
devr[m] has joined #nixos
dywedir[m] has joined #nixos
EuAndreh[m] has joined #nixos
dash[m] has joined #nixos
cornu[m]1 has joined #nixos
GiodAmelio[m] has joined #nixos
k0d3fr34k[m] has joined #nixos
bendlas[m] has joined #nixos
praticamentetild has joined #nixos
rnkch[m] has joined #nixos
r3mfKm[m] has joined #nixos
attero[m] has joined #nixos
smrtak[m] has joined #nixos
freusque[m] has joined #nixos
PeterHoeg[m] has joined #nixos
aaronc[m] has joined #nixos
panther320[m] has joined #nixos
DavidLeung[m] has joined #nixos
stekke[m] has joined #nixos
dadadus[m] has joined #nixos
lordfluffywobble has joined #nixos
buzzmaster[m] has joined #nixos
Hook[m] has joined #nixos
d3rNarr[m] has joined #nixos
MaJoe[m] has joined #nixos
Khorne[m]1 has joined #nixos
Albtrz[m] has joined #nixos
mathis[m] has joined #nixos
srid[m] has joined #nixos
daftect[m] has joined #nixos
gudea[m] has joined #nixos
efx[m] has joined #nixos
incospicuous[m] has joined #nixos
Adev[m] has joined #nixos
nickdshsadhkas[m has joined #nixos
aiyubkhan[m] has joined #nixos
emil1234[m] has joined #nixos
v0id72[m] has joined #nixos
card[m] has joined #nixos
russiancow[m] has joined #nixos
ngerstle[m] has joined #nixos
admintgs[m] has joined #nixos
<LnL> FRidh: are you going to nixcon?
forex[m] has joined #nixos
MichaelEden[m] has joined #nixos
jack[m]1 has joined #nixos
Guest80558 has quit [Quit: WeeChat 1.4]
sellout- has quit [Ping timeout: 260 seconds]
udkyo has quit [Ping timeout: 268 seconds]
sellout- has joined #nixos
<hyper_ch2> there's again a nixcon?
palo has quit [Quit: ZNC 1.6.5 - http://znc.in]
<srhb> hyper_ch2: https://nixcon2018.org/
<hyper_ch2> wasn't there just one last year?
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
* infinisil goes to NixCon again this year :D
<hyper_ch2> it's in London
<infinisil> It is indeed
<infinisil> ,nixcon
<{^_^}> NixCon 2018 will be in London on 25-27 October, https://nixcon2018.org/
<goibhniu> it's going to be the best NixCon ever!
Mateon3 has joined #nixos
<hyper_ch2> what makes you think so`
<srhb> I'm excited to see the list of talks.
Mateon1 has quit [Ping timeout: 276 seconds]
Mateon3 is now known as Mateon1
<srhb> Naively hoping for a summary of those in the start of august.
<hyper_ch2> so, nobody has a color laser printer? :(
<srhb> I feel like the academic side of Nix has been a bit silent this year. Hoping I'm wrong.
<infinisil> One of these years I will try to have a talk myself
<srhb> infinisil++
<{^_^}> infinisil's karma got increased to 16
<srhb> That karma point is in advance.
<infinisil> :P
cryptomonoid has joined #nixos
<hyper_ch2> as long as you don't use the royal "we"... all is fine
<goibhniu> hyper_ch2, Nix keeps growing and getting better, so do the NixCons
<hyper_ch2> :)
<goibhniu> srhb: are you planning to give a talk?
<srhb> goibhniu: Afraid not!
<srhb> I'm not even going :/
<goibhniu> D:
* goibhniu will try very hard to not mess up the audio for the video coverage this time
<infinisil> You did the audio last year? I didn't notice anything bad about it
<hyper_ch2> goibhniu: so it was you the last time?
<goibhniu> it was really bad, but we managed to clean it up a fair bit, I'm delighted you didn't notice!!
<infinisil> goibhniu: Heh nice, and by audio you mean providing mics and setting up the cables and stuff?
<goibhniu> hyper_ch2 I was pressing the buttons, and had loads of help from Max ... samueldr did the gorgeous graphics
hamishmack has quit [Quit: Textual IRC Client: www.textualapp.com]
<goibhniu> infinisil: I have a rather fancy audio interface, that I didn't know how to use properly, the levels were way too low
<goibhniu> I figured it out after the conf \o/
init_6 has joined #nixos
* goibhniu would love some help this year too, if anyone's interested
<infinisil> Hehe I see
pertl has joined #nixos
<pertl> I have nix on ubuntu and want to install a per-user profile for another user (I already have one configured) ... how can this be done?
<pertl> is there such a thing as "nix-create-per-user-profile? ?
sbdchd has joined #nixos
<{^_^}> [nixpkgs] @binarin opened pull request #43844 → gitlab: fix module and corresponding test → https://git.io/fNC3Q
hamishmack has joined #nixos
cryptomonoid has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
fendor has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @dotlambda opened pull request #43845 → nixos/home-assistant: do not always override extraComponents → https://git.io/fNCsk
<RetardedOnion> i installed kde today and i cant change language (only american english is available). where do i specify other languages?
wangoe has joined #nixos
wangoe has quit [Client Quit]
<angerman> is there a way to have some shared service running during nix-build? E.g. when I run nix-build, the service is started, then all the dependencies are built as needed and can potentially communicate with the service, and at the end the service is shut down? I know this potentially introduces impurity... unless the service is guaranteed to produce deterministic results.
ericsagnes has joined #nixos
<Lisanna> angerman it's still an impurity, regardless of the determinism
<Lisanna> e.g., fixed-output derivations that do network stuff are still impure
<Lisanna> angerman if you turn the sandbox off you can more or less do whatever you want
crmlt has joined #nixos
<angerman> Lisanna: right. So i was wondering if there was some principled way to do it.
lewo`` has quit [Read error: Connection reset by peer]
<Lisanna> Yeah, run the service inside the sandbox.
<Lisanna> you can unshare namespaces inside the sandbox and do all sorts of stuff
<{^_^}> [nixpkgs] @vcunat pushed to release-18.03 « nixos tests: temporarily disable nfs tests (/cc #43473) »: https://git.io/fNCsy
pertl has quit [Quit: pertl]
sbdchd has quit [Remote host closed the connection]
booglewoogle has joined #nixos
nlyy has joined #nixos
<nlyy> hi, is this alright: gnome3.extraGSettingsOverrides = " gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 500";
uwap has quit [Ping timeout: 256 seconds]
sbdchd has joined #nixos
sbdchd has quit [Ping timeout: 256 seconds]
alex`` has quit [Ping timeout: 256 seconds]
winem_ has joined #nixos
nlyy has quit [Quit: Leaving]
uwap has joined #nixos
Fare has joined #nixos
<etu> meh, was about to answer nlyy :/
<Lisanna> ):
<etu> No patience!
hyper_ch2 has quit [Quit: Page closed]
NightTrain has quit [Quit: Lost terminal]
semihonest has joined #nixos
xinming has quit [Ping timeout: 256 seconds]
crmlt has quit [Quit: Lost terminal]
crmlt has joined #nixos
xinming has joined #nixos
cacatoes has quit [Quit: WeeChat 1.6]
hlolli has joined #nixos
roberth[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : issued !quit command"]
lewo has joined #nixos
<hlolli> if I use yarn2nix, I will get a nix file with all the .tgz feturl's. How do I go about calling that nix file so that I end with a populated node_modules directory?
crmlt_ has joined #nixos
<hodapp> what is the magical incantation I can never find to make something build just the dependencies a given package needs, and drop me into an environment where I can go through the build phases?
Rovanion has joined #nixos
<srhb> hodapp: nix-shell -A ?
silver has joined #nixos
<Rovanion> Is there such a thing as unattended-upgrades for nixos?
<srhb> Rovanion:nixos-rebuild switch --upgrade will do it.
crmlt_ has quit [Client Quit]
<Rovanion> srhb: That looks attended, I want something which applies security updates to my system once per night without me having to do anything.
roberth has joined #nixos
<Rovanion> But maybe I'm misunderstanding.
<srhb> Rovanion: A systemd timer with nixos-rebuild switch --upgrade will do it* ;)
<timokau[m]> Rovanion: Check `man configure.nix`, there is such an option
<hodapp> srhb: I think that's it, but now I have to figure out how to point it at my local nixpkgs and why this differs from when I use -p....
<booglewoogle> hey, still trying to get fastermelee installed on nixos. there are some cmakeflags here https://pastebin.com/rH4exQgx, and this expression works fine (however I need to get an installer that does some patching to run which is why this isn't enough)
<srhb> hodapp: -Inixpkgs=path-to
Oyren has joined #nixos
<hodapp> srhb: yes, that's what I'm doing and it complains of a lack of default.nix
<srhb> hodapp: Or just nix-shell path-to-nixpkgs -A ...
<{^_^}> [nixpkgs] @pSub pushed to master « gencfsm: fix build »: https://git.io/fNCn5
<hodapp> okay, the latter works and the former doesn't
<srhb> hodapp: Oh, right. Sorry.
<srhb> nix-shell -A will always assume ./shell.nix or ./default.nix
<booglewoogle> question: when I try to build this from source and append the same cmakeflags, it gives me an error saying ${gtk2.dev} was a bad substitution
<tilpner> Rovanion - I have not used it, but there is system.autoUpgrade.enable
<booglewoogle> what's different here, where in the expression is this addressed?
<Oyren> hey, how can I set an icon for a package with desktopItem?
<srhb> booglewoogle: I don't quite understand under which circumstances you're experiencing the error, and under which not.
<timokau[m]> Can someone (anyone) try to build `ntl` on the latest master? The hydra runner has a test failure I cannot reproduce locally (#43679). It would be really helpful if somebody could reproduce this.
<srhb> timokau[m]: Sure.
<booglewoogle> srhb: i don't get the error nix-building the expression. I do get it when I manually build in a nix-shell launched from that same expression
<srhb> Oyren: iirc just have the "normal" structure in $out/share and create a desktop item for it with mkDesktopItem
<infinisil> #43679
<{^_^}> https://github.com/NixOS/nixpkgs/pull/43679 (by timokau, merged): ntl: 9.11.0 -> 11.2.1
<infinisil> Damnit it doesn't match with parens around it..
<srhb> Oyren: Sorry, makeDesktopItem
<srhb> Oyren: nix edit nixpkgs.zsnes -- this is a good example.
<srhb> booglewoogle: Oh, ${foo} is a nix interpolation, not a bash interpolation
<srhb> booglewoogle: The variable doesn't exist in bash unless you export it yourself
<booglewoogle> oh, okay
<srhb> booglewoogle: You can reproduce with echo ${foo.bar}
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « gradle: 4.8.1 -> 4.9 »: https://git.io/fNCcW
<Oyren> srhb: already have this but where i have to place or search for icons like zsnes?
<booglewoogle> okay
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to release-18.03: https://git.io/fNCcR
<srhb> Oyren: Sorry, I don't understand the question. Are you looking for an actual image file?
<Oyren> srhb I have created a desktopItem whit makeDesktopItem, this works fine. But the application have no icon, so I want to set one.
johanot has quit [Quit: Leaving.]
<srhb> Oyren: Get an image file, place it in the same structure as you see in the zsnes example.
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « minikube: 0.28.0 -> 0.28.1 »: https://git.io/fNCcS
<srhb> I think hicolor might be the name of a theme though? Not sure.
<srhb> Anyway, that's the basic approach.
<Oyren> thanks will look into it
<tilpner> timokau[m] - Builds and tests fine
<srhb> tilpner: :( Your machine beats mine...
crmlt has quit [Quit: Lost terminal]
rodgort has quit [Quit: Leaving]
<timokau[m]> tilpner: Alright thanks for checking
<timokau[m]> srhb: So yours fail or you're still looking? Failure is what I'm after.
<srhb> timokau[m]: Still building. :)
<srhb> I will consider the cycles wasted.
<timokau[m]> Well its not wasted if it fails, ironically :D
<booglewoogle> srhb: thanks for your help by the way! little concentrated here, sorry
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « vscode: 1.25.0 -> 1.25.1 »: https://git.io/fNCch
<srhb> booglewoogle: No problem :)
<srhb> timokau[m]: It succeeded.
<srhb> I'll never get those cycles back! Q_Q
rodgort has joined #nixos
<timokau[m]> srhb: Thanks. And damn, one time I'm hoping for failure... I wish I could test on that hydra runner directly.
jperras has joined #nixos
<srhb> timokau[m]: You suspect the machine is ill?
<timokau[m]> Sorry for your dead cycles :D
<srhb> timokau[m]: Can you link the failure?
<timokau[m]> srhb: Possible, but more likely the package or some dependency is just using native instructions.
wpcarro has joined #nixos
ThatDocsLady_ has quit [Remote host closed the connection]
<srhb> Thanks
ThatDocsLady_ has joined #nixos
<timokau[m]> It happened after that package update. But before that the tests weren't run at all, so it might not be caused by that.
<booglewoogle> while in the nix-shell i would export the classical way, ie export name=value, correct?
<srhb> booglewoogle: Yes. THough I'm not sure exactly what you're trying to achieve
jperras has quit [Ping timeout: 260 seconds]
wpcarro has quit [Ping timeout: 244 seconds]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/b9dccd8fa13 (from 66 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<booglewoogle> okay, thanks. it's a little iffy, the package i'm trying to get installed is supposed to be so with an installer that builds portably -- it needs to patch a bunch of the source. so i can't use a nix expression for this and am trying to get in a shell that can handle the installer.
<srhb> Hum, okay.
graphene has quit [Remote host closed the connection]
<booglewoogle> it feels like i'm finally getting close though! been trying to make progress on this for some weeks now on and off
sbdchd has joined #nixos
<srhb> booglewoogle: Nice :)
<booglewoogle> :)
graphene has joined #nixos
wucke13 has quit [Ping timeout: 256 seconds]
<booglewoogle> oh, whoops. gtk2.dev is not a valid identifier. am i misunderstanding the syntax used in the expression? -> -DGTK2_INCLUDE_DIRS=${gtk2.dev}/include/gtk-2.0
<srhb> booglewoogle: No, that's just not valid bash
<srhb> It's valid nix though
<booglewoogle> mmm
<booglewoogle> alright
wucke13 has joined #nixos
<srhb> booglewoogle: bash: export: `foo.bar=2': not a valid identifier
sbdchd has quit [Ping timeout: 276 seconds]
<booglewoogle> yep, got it! thanks
joehh has joined #nixos
<srhb> booglewoogle: And in case you didn't know: http://nixpaste.lbr.uno/3rOGcOxz
<srhb> booglewoogle: So setting arbitrary attributes in mkDerivation will give you a corresponding variable in bash.
<srhb> (The string substitution there is superfluous, just for example...)
jtojnar has quit [Ping timeout: 276 seconds]
<booglewoogle> wait
* srhb waits
<booglewoogle> sorry, i'm not getting it
<booglewoogle> :D
freeman42x]NixOS has joined #nixos
<srhb> booglewoogle: Try nix-building that snippet
spear2 has quit [Ping timeout: 248 seconds]
<booglewoogle> oooh, duh, noscript just showed me some confusing stuff instead
<booglewoogle> okay
<infinisil> NixPaste is rather bad without javascript.. Took me a while to realize I need to enable it for it to not suck
<srhb> Oh :/
<infinisil> (I still think gist is much better though)
<srhb> I guess I should get used to using gist. What's the no-nonsense tool for cat foo | gist ?
Oyren has quit [Ping timeout: 265 seconds]
<infinisil> gist foo?
<booglewoogle> yeah that's what was confusing me. it even showed stuff that made some sort of sense which is why i thought it's fine w/o js
jtojnar has joined #nixos
<srhb> infinisil: Oh, that's too easy.
<infinisil> Also works with multiple files
<etu> srhb: I quite often do: echo foobar | curl -F 'f:1=<-' ix.io
Oyren has joined #nixos
<etu> Or use webpaste if in emacs :p
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<srhb> One day I will fix my emacs configuration...
<infinisil> Same lol
<booglewoogle> YEEEEEEES
<booglewoogle> IT WORKS
<booglewoogle> wow
<srhb> booglewoogle: Grats :)
<booglewoogle> man
<etu> (I'm slightly biased regarding webpaste though, https://github.com/etu/webpaste.el )
<booglewoogle> thanks
<booglewoogle> now i can go full-on nixos
<srhb> etu: I will deduct 1/karma(etu) from its credibility rating in my consideration.
<etu> booglewoogle: awesome:)
<booglewoogle> which i basically already did
<srhb> etu: Thanks for being honest.
<srhb> :-)
graphene has quit [Remote host closed the connection]
<booglewoogle> but there was this lingering sacrifice
<etu> srhb: So that should zero it out? :)
graphene has joined #nixos
<Oyren> srhb do you know if you can download icons via wget to become an official nixpkgs?
<booglewoogle> i'm so happy, thanks again for helping me out!
<srhb> Oyren: Why! We have excellent tools for fetching things :)
<srhb> Oyren: Like fetchurl!
<booglewoogle> i'd be at 0 without infinisil, sphalerite and now srhb, who helped me out. super big thanks.
<srhb> booglewoogle: Welcome! Keep on nixing :)
<Oyren> I was just wondering if it was okay, about security, etc.
<srhb> Oyren: Oh definitely, just feed it a sha256 hash :)
<srhb> Oyren: As long as there's no license concern.
<srhb> Oyren: A derivation can just as well be an icon as anything else.
<Oyren> am i stupid or where can i find some dokumentation about fetchurl?
<srhb> Oyren: In the Nix manual.
<srhb> Well, or in the nixpkgs sources
Fare has quit [Ping timeout: 260 seconds]
<srhb> Oyren: pkgs/build-support/fetchurl/default.nix
<Oyren> was looking in the nix manual :D they are just saying have a look in the nixpkgs sources, than i will do that
<joehh> Is there a way to replace nix variables within files or recursively within directories of files?
<srhb> Oyren: Short story: fetchurl { url = "someurl"; sha256 = "hashoffile" };
<srhb> joehh: substitute-in-place
<Oyren> thanks
<srhb> joehh: Sorry, that's substituteInPlace
Coyin has joined #nixos
wpcarro has joined #nixos
alex`` has joined #nixos
<infinisil> Hey does anybody have Browserpass working? I have been getting "Error talking to Browserpass host" for months now. I did enable config.firefox.enableBrowserpass, but no luck
<srhb> joehh: https://nixos.org/nixpkgs/manual/#ssec-stdenv-functions -- so something like find . -type f -exec substituteInPlace {} \; --replace foo "${nixvar}"
<srhb> joehh: If you actually want to replace _nix_ variables, you're probably better off making your files actual nix expressions.
<joehh> srhb: thanks - great help
<srhb> joehh: That is, { var1, var2 }: ''My string contains ${var1} and ${var2}''
<joehh> that is also an idea
<joehh> right now they are yaml files (config for a service)
<srhb> joehh: builtins.fromJSON
<joehh> so I would do that as the build phase?
cryptomonoid has joined #nixos
<srhb> joehh: It's hard to say what your requirement is exactly, but that's probably the easiest way to manipulate json data -- importing it as a nix attrset and manipulating that, then turning it back into json.
<joehh> ie make a stdenv.mkDerivation with the src as my original directory(or repo)
<srhb> That sounds sensible.
<joehh> yeah - it is fairly abstract :(
wpcarro has quit [Ping timeout: 256 seconds]
<joehh> then have a buildPhase including a find and substituteInPlace command to replace the strings/vars I cared about
<joehh> and use the resulting derivation where-ever I needed it
<{^_^}> [nixpkgs] @srhb merged pull request #43786 → paraview: 5.4.1 -> 5.5.2 → https://git.io/fNZjr
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fNC4O
<etu> infinisil: I have it running. Which version of the browserplugin do you have? Does it have a blue lock?
<infinisil> etu: Oh it does not, there's a gray lock
<infinisil> etu: How am I supposed to update that?
<etu> infinisil: I have installed my browserpass extension from mozilla store, and I think it changed with browserpass 2.0
<infinisil> Hmm, on the about:addons page it says 1.0.5 for me
<etu> yeah, and you probably have 2.0 something on your system
<etu> link there leads to https://addons.mozilla.org/en-US/firefox/addon/browserpass-ce/ which has a slightly different name (-ce) at the end which works
<infinisil> Ohh.. There's a completely new version now..
<etu> yeah
<infinisil> etu: That works, thanks!
<infinisil> I wouldn't have thought of that
<etu> It took me weeks to figure this out :D
<infinisil> Whew
spear2 has joined #nixos
<Oyren> srhb sry but I wasn't into it at all, i already have a fetchurl for the binary, now i want to add a icon since none is inclueded in the binary. Can I use fetchurl a second time and place the icon in the $out folder?
<joehh> srhb: that is an excellent idea using fromJSON/toJSON
<sphalerite> booglewoogle: \o/
<joehh> my app isn't set up that way right now, but using nix could be much simpler than current situation
<joehh> especially as nix is in reality integral to deployment...
<joehh> thanks
<srhb> Oyren: A simple example is: let icon = fetchurl { ... }; in mkDerivation { ... installPhase = '' ... cp ${icon} $out/... '';
<Oyren> thanks again
<srhb> Oyren: You might want to make a separate derivation for the icon. Or include it in srcs. But that's the simple approach
<srhb> joehh: You are welcome :)
<angerman> how do I specify a specific remote builder to build on? I want to do some timing tests on two different remote builders.
cryptomonoid has quit [Ping timeout: 240 seconds]
<srhb> angerman: --builders yourbuilder
<angerman> srhb: The last time I tried --builders it seemd like it was ignored :( could that be due to nix-darwin?
<srhb> angerman: Euhm, not sure. Might also have something to do with who is trusted to specify builders? Though if it's already trusted, I don't think that's it...
<LnL> angerman: are you a trusted user?
<LnL> angerman: darwin-option nix.trustedUsers
<angerman> LnL: nope...
<angerman> LnL: can I set them, or should I do that in the ~/.nixpkgs/configuration.nix?
<LnL> then --option builders won't do anything, it requires trusting the remote machine so it's potentially unsafe
<angerman> LnL: yea, so I'll just add myself to the trusted users :-)
<angerman> error: The option value `nix.trustedUsers' :(
init_6 has quit [Ping timeout: 260 seconds]
<LnL> I use @admin to enable all the users with administrator rights
<LnL> huh
<srhb> trusted-users
<srhb> nixos.nix.trustedUsers though
<srhb> Or is nix-darwin special here?
<srhb> Er, darwin-nix.. Probably is :-P
<LnL> no, nixos-option nix.trustedUsers
init_6 has joined #nixos
<srhb> TIL.
graphene has quit [Remote host closed the connection]
tenten8401 has joined #nixos
<srhb> This nix darwin thing looks interesting...
<tenten8401> Anyone know if installing the nvidia xserver drivers installs what's needed for Vulkan compatability too?
graphene has joined #nixos
tenten8401 has quit [Remote host closed the connection]
jperras has joined #nixos
wpcarro has joined #nixos
ersran9 has joined #nixos
ersran9 has quit [Changing host]
ersran9 has joined #nixos
qwerty_asdf has joined #nixos
npmccallum has joined #nixos
wpcarro has quit [Ping timeout: 244 seconds]
Fare has joined #nixos
<angerman> LnL: thanks.
init_6 has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to master « knot-dns: libidn -> libidn2 »: https://git.io/fNC0s
Coyin has quit [Ping timeout: 256 seconds]
wpcarro has joined #nixos
alex`` has quit [Ping timeout: 256 seconds]
Tobba has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
ihar has joined #nixos
alexteves has joined #nixos
alex`` has joined #nixos
wpcarro has quit [Ping timeout: 276 seconds]
wpcarro has joined #nixos
wpcarro has quit [Client Quit]
wucke13 has quit [Ping timeout: 240 seconds]
wpcarro has joined #nixos
wucke13 has joined #nixos
logzet has joined #nixos
jmeredith has joined #nixos
<angerman> Is there somewhere a `replicate n c` function in nix, such that replicate 3 "c" == "ccc"
toby1851 has quit [Remote host closed the connection]
<angerman> `let repeat = n: c: c + (if n == 1 then c else repeat (n - 1) c); in repeat 10 "c"` something like this...
Fare has quit [Ping timeout: 276 seconds]
toby1851 has joined #nixos
winem_ has quit [Ping timeout: 260 seconds]
spear2 has quit [Remote host closed the connection]
qwerty_asdf has quit [Quit: WeeChat 2.1]
qwerty_asdf has joined #nixos
<{^_^}> [nixpkgs] @alanpearce opened pull request #43850 → cups-toshiba-estudio: 7.51 -> 7.89 → https://git.io/fNCzu
<Izorkin> How to change custom pckg format - https://pastebin.com/1p7N5GEn to format with {callPackage}: Varidnt 2 not worked
<srhb> angerman: No... concatStrings (genList (x: "c") 3)
mjhoy has joined #nixos
Fare has joined #nixos
<mjhoy> I just ran nix-collect-garbage, and it removed my environment pointed at from ~/.nix-profile !
<{^_^}> [nixpkgs] @ckauhaus opened pull request #43851 → vulnix: 1.6.3 -> 1.7 → https://git.io/fNCzD
<clever> mjhoy: where does ~/.nix-profile point when you ls -l ?
<mjhoy> .nix-profile-1-link, which points to .nix-profile-1-11-link, which points to /nix/store/...-user-environment
<d1rewolf> hi guys. I am going through an install right now and there is no option to make a partition bootable in fdisk
<infinisil> > replicate = n: c: lib.concatStrings (lib.genList (_: c) n)
<{^_^}> replicate defined
<dtz[m]> vulnix lives?! :D
<infinisil> > replicate 10 "f"
<{^_^}> "ffffffffff"
<clever> mjhoy: thats not right!!
<d1rewolf> any ideas or do I even need this for UEFI?
<dtz[m]> hmm for some reason I thought it wasn't, but glad to see it is!
<infinisil> srhb: Neat!
Tiez has joined #nixos
<clever> lrwxrwxrwx 1 clever users 45 Oct 11 2015 /home/clever/.nix-profile -> /nix/var/nix/profiles/per-user/clever/profile
<srhb> infinisil: Shame about no polymorphism :-P
<mjhoy> hmm
<clever> mjhoy: .nix-profile MUST point to a subdirectory of /nix/var/nix/profiles/
hakujin has joined #nixos
<RetardedOnion> d1rewolf: specify type?
<clever> mjhoy: if it does not, then GC WILL eat everything
<mjhoy> clever: was that like an older way of setting it up? i recently upgraded nix
<d1rewolf> or should I be using the sfdisk or something else?
<mjhoy> (by the way am I on darwin)
<clever> mjhoy: it sounds more like you manually created the symlink and broke things
<mjhoy> i definitely did not. have just been using `nix-env -iA ...` for everything
<RetardedOnion> d1rewolf: cfdisk can do this fine if you want
<clever> mjhoy: try deleting .nix-profile and then creating a new symlink like above
<clever> mjhoy: the target may already exist from the old install
<d1rewolf> Retardedonion yes I specified the type as Linux, but still no option to make it bootable. in the tutorial it appears the fdisk should provide this functionality
<d1rewolf> since I am on my phone and have no Wi-Fi connection on that computer to look. Do you know how to do it with sfdisk?
<RetardedOnion> d1rewolf: your esp must be type efi-system
<mjhoy> clever: I just ran /nix/var/nix/profiles/default/bin/nix-env -iA nixpkgs.devEnv to get an environment back
<d1rewolf> does the UEFI partition need to be bootable or does the root need to be bootable?
<mjhoy> it created another .nix-profile-1-link-12-link point to /nix/store/...-user-environment
<d1rewolf> yes I have a UEFI partition
<RetardedOnion> d1rewolf: your esp must be bootable. but that is specified with the type
<clever> mjhoy: you need to fix the old ~/.nix-profile before you can install anything
<mjhoy> so just delete that and rerun?
<clever> mjhoy: maybe
<d1rewolf> retarded onion okay so by setting it to EFI type in fdisk that specifies it as bootable?
<RetardedOnion> d1rewolf: pretty sure. remember it should be your small partition of 512M, not your /
<mjhoy> Deleting and trying to nix-env -iA does not recreate a ~/.nix-profile ... hmmm
<clever> mjhoy: manually create .nix-profile with `ln -sv`
<clever> mjhoy: it should look similar to the one i pasted above
<d1rewolf> right, okay. I will give that a shot. Thanks.
<d1rewolf> I wonder why the nixos manual shows differently?
<mjhoy> should it be per-user/my-user ?
<clever> mjhoy: yes, and it should end in profile
<RetardedOnion> i am trying to install all kde applications with nix-env -iA nixos.kdeApplications. error: packages '/nix/store/23yri28zcb2gaa6scswdaw01k3anfc93-kdenlive-18.04.2/share/mime/XMLnamespaces' and '/nix/store/04q9wlg1zw3a1cwqyp4xaf8xwbi2wmj8-k3b-18.04.2/share/mime/XMLnamespaces' have the same priority 5;. what is wrong and how do i fix it? i dont get nix-env --set-flag priority NUMBER INSTALLED_PKGNAME, but i am pretty sure that it makes no sense
<RetardedOnion> since i dont have it installed.
<RetardedOnion> i should use a pastebin next time
<mjhoy> clever: /nix/var/nix/profiles/per-user/mjhoy/nix-profile ?
<clever> mjhoy: /nix/var/nix/profiles/per-user/mjhoy/profile
jensens has quit [Ping timeout: 268 seconds]
<mjhoy> cool. now that's working, added /nix/var/nix/profiles/per-user/mjhoy/profile-1-link
<clever> mjhoy: and it should no longer garbage collect your things
<mjhoy> So I know I've run nix-collect-garbage in the past and it didn't before. And I haven't played around with .nix-profile
nuncanada has joined #nixos
<xinming> clever: ping
<clever> xinming: pong
<xinming> clever: Would you like to coninue debugging the problem yesterday with me again? :-)
<mjhoy> by the way, how do i get nix-env back in profile? and nix?
<clever> xinming: sure
<clever> mjhoy: yeah, just run nix-env -i /nix/store/path-nix
<xinming> after I added export LD_LIBRARY_PATH it doesn't work.
<xinming> still the error
<clever> xinming: ah, perl and libssl?
<xinming> clever: http://termbin.com/rh5n
<xinming> this is the default.nix I used
<xinming> yes, that problem, libssl.so not found.
<xinming> I'm trying to do it with nix, If not, I'll use docker for this purpose, and nix and normal package installers
<{^_^}> [nixpkgs] @Mic92 pushed to master « gdbgui: 0.11.1.2 -> 0.13.0.0 »: https://git.io/fNC27
<clever> xinming: not sure if it will help or not, but have you seen perl.stdenv.mkDerivation ?
<mjhoy> clever: thanks!
<xinming> Let me check
Fare has quit [Ping timeout: 240 seconds]
wpcarro has quit [Remote host closed the connection]
mjhoy has quit [Remote host closed the connection]
wpcarro has joined #nixos
Fare has joined #nixos
<xinming> clever: So, rakudo should be doing the same as perl.
<xinming> I'll try to read the doc and test
xAFFE has left #nixos ["Error from remote client"]
sbdchd has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e8a7f5dfcc8 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
wpcarro has quit [Ping timeout: 256 seconds]
Fare has quit [Ping timeout: 244 seconds]
sbdchd has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @rycee opened pull request #43852 → WIP lib.duration: add basic duration functions → https://git.io/fNCaj
wpcarro has joined #nixos
erasmas has joined #nixos
<slabity[m]> I'm curious. Who here is going to NixCon this year?
<slabity[m]> I want to find out what the talks are about
<srhb> slabity[m]: Call for participation is open through july, so I guess you'll have to wait a bit
<{^_^}> [nixpkgs] @vcunat pushed to release-18.03 « fixup: nixos tests: temporarily disable nfs tests »: https://git.io/fNCVx
<infinisil> slabity[m]: I am going to NixCon but not talking :)
buckley310 has quit [Read error: Connection reset by peer]
lomotov has joined #nixos
vmandela has quit [Quit: Leaving]
<mightybyte> When using an ssh substituter, is there a way to make the nix daemon establish the ssh connection as your user instead of as root (on macOS)?
qwerty_asdf has quit [Quit: WeeChat 2.1]
Fare has joined #nixos
wucke13 has quit [Ping timeout: 248 seconds]
Guanin has joined #nixos
<{^_^}> [nixpkgs] @Infinisil closed pull request #36386 → postgresql: 9.3.20 -> 9.3.22, 9.4.15 -> 9.4.17, 9.5.10 -> 9.5.12, 9.6.6 -> 9.6.8, 10.1 -> 10.3 → https://git.io/vAdzV
<{^_^}> [nixpkgs] @timokau opened pull request #43853 → singular: 4.1.1p1 -> 4.1.1p2 → https://git.io/fNCoO
Tucky has quit [Quit: WeeChat 2.2]
<d1rewolf> any reason why the $HOME environment variable does it seem to be set by default in Nix?
<d1rewolf> doesn't
<clever> d1rewolf: in what context is it not being set?
<LnL> mightybyte: substituting requires trust so that's handled by the daemon
nlyy has joined #nixos
<RetardedOnion> d1rewolf: did you forget -m with adduser?
<d1rewolf> weird, it is now. never mind ;-)
<RetardedOnion> how do i go about installing nixos.kdeApplications completely?
<clever> RetardedOnion: id recomend writing a buildEnv expression in a package override, that merges them, and then install that
buckley310 has joined #nixos
<RetardedOnion> clever: i am a newbie. that sounds a bit complicated. so what i am reading is: just install them one by one. thanks:D
<clever> RetardedOnion: buildEnv { name = "all-the-kde"; paths = [ (builtins.attrValues kdeApplications) ]; ignoreCollisions = true; }
<clever> hmmm, needs to be filtered, it has a few non-package things
<RetardedOnion> still sounds like i should be doing it by hand. well k
booglewoogle has quit [Quit: Leaving]
logzet has quit [Remote host closed the connection]
<clever> nix-repl> buildEnv { name = "all-the-kde"; paths = [ (builtins.attrValues (kdeApplications // { callPackage = null; newScope = null; override = null; overrideDerivation = null; packages = null; overrideScope = null; recurseForDerivations=true; })) ]; ignoreCollisions = true; }
<clever> RetardedOnion: this excludes a few things that cant be installed, then generates a list with everything else
drakonis has joined #nixos
Guest99618 has quit [Ping timeout: 245 seconds]
endformationage has joined #nixos
booglewoogle has joined #nixos
vdemeester`` has joined #nixos
vdemeester`` has quit [Client Quit]
cryptomonoid has joined #nixos
<RetardedOnion> clever: where can i find more about the buildEnvs? or can you give me a quick command on how to install it? i will try to understand it and get back when i have questions.
<clever> RetardedOnion: create a package override containing that buildEnv
crmlt has joined #nixos
<clever> RetardedOnion: line 13 and 20 are 2 old buildEnv's i have used in the past
<clever> RetardedOnion: and once that is configured, i can just nix-env -iA nixos.manymans to install one
<booglewoogle> hey. i'd like to create elegant instructions on how to get this installer script working on nixOS, you'd have to get in a nix-shell with, among others, and rewrite a part of a script to reference the shell's glib. i just pasted the whole store path, but i assume there's a way you could reference that for a general system where the hash may be different?
<booglewoogle> *with, among others, glib*
<{^_^}> [nixpkgs] @vcunat pushed to release-18.03 « nixos tests: bring back non-blocking nfs tests »: https://git.io/fNC6C
<{^_^}> [nixpkgs] @dtzWill opened pull request #43854 → python3Packages.zconfig: remove test that relies on setlocale failing → https://git.io/fNC6l
<clever> booglewoogle: if you put `foo = pkgs.hello;` into the derivation for a shell.nix, then $foo will contain /nix/store/hash-hello-1.2.3/
<{^_^}> [nixpkgs] @Infinisil opened pull request #43855 → postgresql updates: 10.4, 9.6.9, 9.5.13, 9.4.18, 9.3.23 → https://git.io/fNC6B
wucke13 has joined #nixos
buckley310 has quit [Quit: Bye]
buckley310 has joined #nixos
<booglewoogle> clever: okay, gotcha, thanks!
crmlt has quit [Ping timeout: 276 seconds]
cryptomonoid has quit [Ping timeout: 240 seconds]
FRidh has quit [Quit: Konversation terminated!]
wpcarro has quit [Remote host closed the connection]
sbdchd has joined #nixos
wpcarro has joined #nixos
nlyy has quit [Quit: Leaving]
nlyy has joined #nixos
<mightybyte> LnL: Yeah, I understand that it makes sense for the daemon to handle that, but why can't the daemon make the ssh connection as the user?
joehh has quit [Ping timeout: 240 seconds]
sbdchd has quit [Ping timeout: 260 seconds]
<mightybyte> Doing it as root forces you to duplicate your ssh credentials for the root user, which is problematic for multi-user situations.
<clever> mightybyte: just give it user@host ?
<mightybyte> clever: I'm talking about which ssh private key is used.
<{^_^}> [nixpkgs] @andir merged pull request #43851 → vulnix: 1.6.3 -> 1.7 → https://git.io/fNCzD
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/fNCid
<clever> mightybyte: root can read other peoples files, so you can symlink the .ssh/id_rsa also
<mightybyte> clever: That doesn't make much sense because that makes you not multi-user any more.
<clever> mightybyte: i generally give root its own key for build slaves, that cant access non-buildslave machines
<mightybyte> This isn't a build slave
<mightybyte> This is my regular development machine accessing a private SSH cache.
<nh2> with the normal builder, how can I tell nix to pass extra flags to `make`?
<clever> ah, then id have an ssh key just for the cache
silver has quit [Read error: Connection reset by peer]
<clever> nh2: makeFlags i think
wpcarro has quit [Ping timeout: 244 seconds]
<mightybyte> clever: That means that you have to pass around the cache's secret key, which kind of defeats the purpose of ssh keys.
sigmundv has quit [Ping timeout: 240 seconds]
Fare has quit [Ping timeout: 276 seconds]
<clever> mightybyte: each user or machine has their own private for accessing the cache, and then the cache has a whitelist of publics that can read it
<mightybyte> clever: Right. But as it stands now I have to copy that per-user private key to the root user.
<nh2> clever: excellent, thanks!
<mightybyte> ...which doesn't make any sense.
<clever> mightybyte: i would just generate a new private as root
<clever> dedicated just to the cache use
<mightybyte> That still doesn't make any sense because it's not multi-user.
<mightybyte> That implicitly means that all users of a particular machine will have access to a cache.
<clever> theres not really a way to give just one user access to the cache
<clever> and either way, things get cached in /nix/store and become world readable
<mightybyte> Also...I prefer to do SSH authentication with my Yubikey, and this makes that impossible (or at least I haven't figured out how to make it work yet)
igo95862 has joined #nixos
wpcarro has joined #nixos
<{^_^}> [nixpkgs] @Infinisil pushed to master « libsass: Fix CVE-2018-11693 »: https://git.io/fNCPo
<mightybyte> clever: It seems like it should be relatively easy for the daemon to change to be running as the user that executed whatever command is currently running.
<mightybyte> ...whenever it is doing SSH stuff.
<clever> mightybyte: only if /nix/store is user writeable can you run without the daemon, and then nix-build just spawns the ssh directly as your user
<clever> mightybyte: but then the rules of the store cant easily be enforced, and a multi-user setup would become a security problem
<mightybyte> Why can't the cached info be retrieved as the user and then written to the store by the daemon as root?
<clever> mightybyte: because a malicous user can just give the daemon a trojan'd copy of sudo, and wait for it to be ran as root
nlyy has quit [Remote host closed the connection]
<mightybyte> Hmmmmmm...
nlyy has joined #nixos
booglewoogle has quit [Quit: Leaving]
booglewoogle has joined #nixos
<mightybyte> Then how does nix run fetchGit SSH as the local user?
<clever> mightybyte: the hash of that storepath is based on the contents of the directory
<clever> mightybyte: so somebody wanting an un-trojaned copy, will be using the hash of the unmodified source
<clever> and a trojaned copy of the source will always live in a different directory and be ignored
<mightybyte> So it's not that the daemon *couldn't* do what I'm asking, it's that doing so would be a security issue?
coconnor has joined #nixos
<clever> yeah
<coconnor> howdy all!
<coconnor> I got some time to do nixos stuff. yay!
<mightybyte> clever: Ok, I guess that makes sense.
<mightybyte> Still seems really annoying though.
<coconnor> Anyone using KDE and experiencing audio issues?
wpcarro has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dtzWill merged pull request #43854 → python3Packages.zconfig: remove test that relies on setlocale failing → https://git.io/fNC6l
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fNCXn
wpcarro has joined #nixos
wpcarro has quit [Remote host closed the connection]
wpcarro has joined #nixos
<coconnor> specicially: unable to play multiple streams? Pulseaudio errors in logs?
alex`` has quit [Quit: WeeChat 2.1]
<clever> coconnor: if you check pavucontrol, do you see several streams on the playback tab?
<coconnor> which package is pavucontrol?
<clever> coconnor: i believe its pavucontrol
<coconnor> I've also applied this patch: https://github.com/NixOS/nixpkgs/issues/11970
<{^_^}> #11970 (by javins, open): pulseaudio: Failed to open module module-x11-publish.so: module-x11-publish.so: cannot open shared object file: No such file or directory
<coconnor> whic resolved one aspect of pulseaudio issues
__Sander__ has quit [Quit: Konversation terminated!]
nlyy has quit [Ping timeout: 248 seconds]
<coconnor> (waiting on pavucontrol install)
johnhamelink has quit [Quit: PanicBNC - https://PanicBNC.net]
<coconnor> KDE also has this line in the journal: 'org.kde.kcoreaddons: Error loading plugin "kcm_pulseaudio" "The shared library was not found."'
<coconnor> which is interesting...
<coconnor> ah well. Guess I'll skip music for now
goibhniu has quit [Ping timeout: 260 seconds]
<infinisil> ,locate bin pavucontrol
<{^_^}> Found in packages: pavucontrol
<worldofpeace> so satisfiying
genesis has quit [Ping timeout: 256 seconds]
ThatDocsLady_ has quit [Quit: Leaving]
muzzy_ has quit [Remote host closed the connection]
genesis has joined #nixos
Oyren has quit [Quit: Leaving]
nlyy has joined #nixos
drakonis has quit [Remote host closed the connection]
hxrts_ has joined #nixos
<nlyy> join ##anime
<kiloreux> I'm trying to create a binary cache on S3 but failing to find the right documentation to do so. Anyone here has some links maybe ?
igo95862 has quit [Quit: igo95862]
igo95862 has joined #nixos
wpcarro has quit [Remote host closed the connection]
wpcarro has joined #nixos
<{^_^}> [nixpkgs] @leo60228 closed pull request #43680 → msbuild: init at 15.6 → https://git.io/fNsuZ
johanot has joined #nixos
wpcarro has quit [Ping timeout: 248 seconds]
ericsagnes has quit [Ping timeout: 244 seconds]
<kalbasit> `buildInputs` and `nativeBuildInputs` are confusing! Am I to understand that `nativeBuildInputs` are dependencies required only for build phase but not for runtime?
<{^_^}> [nixpkgs] @leo60228 reopened pull request #43680 → msbuild: init at 15.6 → https://git.io/fNsuZ
<coconnor> ah ha. pavucontrol does show multiple outputs but the volumes have no connection to the KDE audio controls. I suspect that's related to the "kcm_pulseaudio" error
<ocharles_> Anyone have any ideas on how to get /keybase files into a Nix builder?
<ocharles_> I'm referring to stuff in /keybase for nixops deployment.keys
<ocharles_> but /keybase is user readable only
<ocharles_> maybe I should just make it readable by the nixbld group
<clever> ocharles_: nixops deployment.keys are not read by the nixbld group
<clever> ocharles_: when done correctly, its read directly by the python code in nixops
<ocharles_> hm
__monty__ has joined #nixos
<ocharles_> I have text = pkgs.stdenv.mkDerivation { ...}, where I need to normalise a Dhal lfile
<clever> ocharles_: can you gist your current nix file?
<ocharles_> yea
<booglewoogle> nlyy: am i right in that there are something like sub-channels? cause two hashes
<ocharles_> well, not the whole thing, but I will share the relevant part of deployment.keys
silver has joined #nixos
<kiloreux> Can I use cachix with binaries installed through nix-env ?
<ocharles_> ./server-config.dhall refers to things in /keybase
<clever> ocharles_: the output of that will land in /nix/store/ and be readable to all users on the machine
lomotov has quit [Quit: Leaving]
__monty_1 has joined #nixos
__monty__ has quit [Read error: Connection reset by peer]
<ocharles_> why? It will land up in the /nix/store of my machine, sure
<ocharles_> but I can't see why it would end up in the servers /nix/store
<clever> yeah, since your using deployment.keys, it will copy to the specified path on the server, outside the store
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/99adfd0a422 (from 76 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<ocharles_> yes
<clever> ocharles_: id recomend passing "${/keybase}" to the dhallToNix script as well
<clever> and then modifying it to take a snapshot of the keybase files
<ocharles_> ah
<clever> each time you deploy, nix will snapshot that directory and store it in the local /nix/store/
<ocharles_> right
<clever> and pass the derivation the storepath of the snapshot
<ocharles_> yea, that makes sense
<ocharles_> I wonder if this will end up with a gc root
joshie has quit [Quit: No Ping reply in 180 seconds.]
<clever> i dont think it will
<ocharles_> testing now, let's see
<ocharles_> thanks for the advice! That's a good work around
joshie has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
wpcarro has joined #nixos
<ocharles_> hmm. deployment.keys.<name>.text can't be a derivation
leo60228 has joined #nixos
<clever> ocharles_: i think you want .source
<leo60228> I think my few-days-old PR got buried (I noticed that the package doesn't work immediately after opening it), and I think it got buried. What should I do?
<ocharles_> what is .source?
<clever> ocharles_: deployment.keys.<name>.source
<ocharles_> that doesn't exist. is that new?
<clever> hmmm, *checks docs*
<ocharles_> I only recall text and keyFile
<clever> ocharles_: ah, yeah, its keyFile
<ocharles_> doh, of course that makes sense
<clever> the /etc stuff has text and source, but deployment.keys decided to rename it
<ocharles_> end of friday :)
hxrts_ has quit [Ping timeout: 265 seconds]
wpcarro has quit [Ping timeout: 240 seconds]
<{^_^}> #43680 (by leo60228, open): msbuild: init at 15.6
jtojnar has quit [Ping timeout: 276 seconds]
<manveru> what do you guys use to run e.g. postgres in a nix-shell?
<leo60228> how do the smiley face usernames work?
<samueldr> manveru: postgresql server in a nix-shell?
<manveru> samueldr: yeah
<samueldr> oh boy :)
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #43855 → postgresql updates: 10.4, 9.6.9, 9.5.13, 9.4.18, 9.3.23, CVE-2018-1115 → https://git.io/fNC6B
<{^_^}> [nixpkgs] @thoughtpolice pushed 5 commits to master: https://git.io/fNCyp
<manveru> i mean, i tried the PG_DATA setting stuff, and it kinda works :)
<samueldr> give me a sec
<samueldr> you probably have something similar to what I use then
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #43856 → file: patch for CVE-2018-10360 → https://git.io/fNCSv
<maurer> manveru: That project was designed to be testable under nix-shell, and needed to spin up temp databases to do it
<manveru> maurer: awesome, thanks :)
<manveru> i'm trying to find a nice alternative to docker-compose
<manveru> and pg really doesn't need a container...
<samueldr> oh, turns out it's uh, more integrated into $work thing than expected, so can't just dump code
<manveru> np
<samueldr> it looks like maurer's, except I onlt initdb if the folder isn't there, and the folder is at a well-known location relative to the project (.gitignored)
<samueldr> the configuration files are managed through a nix-build
<manveru> yeah
<manveru> i was kinda hoping for something like using the nixos module to generate the config only
d1rewolf_ has joined #nixos
<samueldr> that would have been really nice, it may happen in the future as it turns out that the hack I did for postgresql, nginx, php-fpm is really working well for development use
<samueldr> so, cleaning it up is a must
<samueldr> and parts of cleaning it up would be to re-use the nixos modules if possible
<manveru> easily running DBs in a project is pretty much the only thing i haven't switched fully to nix to yet
<samueldr> I think the biggest issue I have to fix, yet, is some process supervision that works on both macOS and Linux
<manveru> there's extra-container and nixos-shell and nix-containers, but they all have quite some bugs and bad UX :|
<manveru> runit?
<samueldr> it's linux-only in nixpkgs, haven't yet looked if it's a limitation of runit or if it's just not "done"
<maurer> If you're in the context of nixos, it might be possible to write something that caused the postgresql module to start under a user unit of systemd
<maurer> I think there might be a good deal of black magic involved in that though
<samueldr> maurer: definitely not nixos, only nix
<samueldr> (and with macOS support required :/)
<manveru> i just found runit works on anything i throw it at :)
<manveru> "It runs on GNU/Linux, *BSD, MacOSX, Solaris, and can easily be adapted to other Unix operating systems"
<manveru> so must be a packaging issue?
<samueldr> haha great, no need to do any research when I can lazily talk about an issue on #nixos ;)
<samueldr> yeah, pretty much, just haven't gotten around to it yet
<d1rewolf_> guys, I have a bunch of scripts which reference things like /usr/share. For example, under ubuntu, i3blocks utilities are installed in /usr/share/i3blocks. in nixos, they are in /nix/store/0zxf7wj1sj10zj74kck0faqfzk8z7gi3-i3blocks-1.4/libexec/i3blocks/. what's the appropriate way to refer to thihs path across machines?
nlyy has quit [Remote host closed the connection]
<clever> d1rewolf_: run something like sed over the script to insert ${pkgs.i3blocks}/libexec/i3blocks into the script
halfbit has joined #nixos
<clever> d1rewolf_: if that string is within a nix file, it will automatically expand to /nix/store/0zxf7wj1sj10zj74kck0faqfzk8z7gi3-i3blocks-1.4/libexec/i3blocks
<d1rewolf_> clever, it's not within a nix file. it's in a shell script
<clever> d1rewolf_: youll need to write a nix file to package that shellscript, and apply sed to it
Judson has joined #nixos
<d1rewolf_> clever, hmmm...ok. i'll look at that. thx. any examples?
Judson is now known as Guest26172
Sonarpulse has joined #nixos
<ocharles_> clever: hmm, weirdly it complains that: Exception: Neither 'text' or 'keyFile' options were set for key 'server-config.dhall'.
jperras has quit [Quit: WeeChat 2.2]
<ocharles_> I guess you can't have keyFile = <a derivation>
<clever> ocharles_: i think nixops is doing some funny things, and wont build the derivation
<clever> because its meant for keys that are never meant to enter the store
<ocharles_> yea, I'm trying to work out what this python is doing
mtjmullen has quit [Quit: WeeChat 2.0]
<clever> d1rewolf_: some scripts i made, though these are all inlined: https://github.com/cleverca22/nixos-configs/blob/master/util.nix
<d1rewolf_> clever, thanks
<manveru> is there any way to get the default value of a function argument?
<clever> manveru: i dont think there is, only to check if it has a default
<manveru> ok
<ocharles_> it seems to be using some XML representation of the nix input. anyone know how to get at that?
mtjmullen has joined #nixos
<clever> > builtins.functionArgs ({ a, b ? "hasDefault" }: b)
<{^_^}> { a = false; b = true; }
<clever> ocharles_: nix-instantiate --xml i think
<d1rewolf_> clever, so there's no way to give nix a package name on the command line and have it return the path to it?
<clever> ocharles_: but it runs your deployment files thru <nixops/eval-machines.nix> with some complex args
<ocharles_> mmm
<clever> d1rewolf_: you can, with `nix-build '<nixpkgs>' -A i3blocks --no-out-link`
<clever> d1rewolf_: but then it will try to download when you run it, and things will be a lot slower
<d1rewolf_> clever, ok, thank you
chreekat has joined #nixos
graphene has quit [Read error: Connection reset by peer]
graphene has joined #nixos
ahmedtd has quit [Ping timeout: 245 seconds]
nixy has quit [Ping timeout: 265 seconds]
benley has quit [Ping timeout: 245 seconds]
benley has joined #nixos
wucke13 has quit [Quit: WeeChat 2.0]
nixy has joined #nixos
semihonest has quit [Quit: WeeChat 2.1]
<kiloreux> How can I make nix-build not create a a symlink in current directory and store everything directly to /nix/store ?
Henson has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
toby1851 has quit [Ping timeout: 276 seconds]
<samueldr> kiloreux: --no-out-link
d1rewolf_ has quit [Ping timeout: 276 seconds]
<kiloreux> Saw it on the help but wasn't sure what "Note that as a result the output does not become a root of the garbage collector, and so might be deleted by nix-store --gc."
<kiloreux> Will my package get removed if I run nix-store --gc ?
<kiloreux> I mean exclusively there ?
jb55 has joined #nixos
<samueldr> when a garbage collection happens, so either manually like that, or if you have them done on a timer (as configurable)
<samueldr> if you want to keep it around, you could always set a specific symlink
<{^_^}> [nixpkgs] @thoughtpolice pushed 5 commits to release-18.03: https://git.io/fNCHX
<infinisil> kiloreux: Note that a nix-build and all nix command store everything in /nix/store directly. The result in the current directory is just a symlink to the /nix/store path
<samueldr> --out-link ~/.local/share/gc-root-for-my-thing would keep it out of sight
<kiloreux> Thank you <3 .
wpcarro has joined #nixos
raynold has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #43845 → nixos/home-assistant: do not always override extraComponents → https://git.io/fNCsk
<{^_^}> [nixpkgs] @dotlambda pushed to master « nixos/home-assistant: do not always override extraComponents (#43845) »: https://git.io/fNCHN
<LnL> mightybyte: there's kind of an alternative tho, you can build stuff using --store ssh-ng://host (that doesn't go through the daemon), and then nix copy back if the paths are signed with a key that's trusted
cryptomonoid has joined #nixos
jperras has joined #nixos
<booglewoogle> is there a difference between adding fish to the 'systempackages' and adding 'programs.fish.enable=true'? the latter option seems to be available for some packages and i'm wondering what its purpose is
aarvar has joined #nixos
keith_analog has joined #nixos
<manveru> booglewoogle: yeah, the first adds it to your PATH, the second lets other programs and modules know that you're using it
<manveru> so they can e.g. add lines into the fishrc
<manveru> bbl, food
wpcarro has quit [Ping timeout: 248 seconds]
igo95862 has quit [Quit: igo95862]
<booglewoogle> aah, okay! thanks
<keith_analog> Hi All, I'm wondering if you can help me to fix a linking bug w/ gcc7. Here's the error message:
<keith_analog> gcc: error: /nix/store/4zd34747fz0ggzzasy4icgn3lmy89pra-gcc-7.3.0-lib/lib/../lib64/libstdc++.a: No such file or directory
<keith_analog> Does anyone know where I can find the location of libstdc++.a?
ianz has joined #nixos
<infinisil> booglewoogle: On NixOS a module is strictly more powerful than just adding a package, so it's usually preferred
raynold has quit []
<infinisil> ,locate libstdc++.a
<{^_^}> Found in packages: androidndk, gcc-unwrapped, gcc-arm-embedded, mentorToolchains.armEabi, mentorToolchains.armLinuxGnuEabi
d1rewolf_ has joined #nixos
<infinisil> keith_analog: I think it's some clang thing or so though, try with clangStdenv instead of stdenv
<infinisil> I think clever recently answered something like that
graphene has quit [Remote host closed the connection]
<dhess> In NixOS modules, what determines whether a configuration option is merged or is treated as a singleton?
<booglewoogle> infinisil: okay, that's good to know
graphene has joined #nixos
<infinisil> dhess: there is a priority system: the values with the highest priorities are merged together
<infinisil> mkDefault assigns a low priority (1500), mkForce assigns a high priority (50)
<keith_analog> infinisil: thanks, i'll give it a try
<dhess> infinisil: Will all modules' `options` attrsets be merged automatically by the module system?
sbdchd has joined #nixos
humanoyd has quit [Quit: WeeChat 2.2]
<dhess> never mind that, it was a poorly formed question
<infinisil> dhess: Generally yes, but it can't "deep merge" options.
<dhess> let me think more carefully about what I'm trying to ask.
<infinisil> It would help to know what your goal is :)
<d1rewolf_> guys, on my newly installed system, nix-profile seems to broken: /home/d1rewolf/.nix-profile: broken symbolic link to /nix/var/nix/profiles/per-user/d1rewolf/profile. Any idea why?
<LnL> have you installed anything yet?
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/d6c6c7fcec6 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
<d1rewolf_> me? yes
<dhess> infinisil: I want to create a module acts like networking.nat does. Specifically, other modules can, as part of their configuration, add, say, IP addresses to a list, similarly to how networking.nat.internalIPs work. Then, in my module, it should take *all* of the instances of that list that the other modules have populated, and merge them into a single list.
<dhess> so what I'm wondering is, do I need to do that merge manually, or will it be done automatically so that by the time my module sees that list, it will already have been merged?
<d1rewolf_> how should I recreate ~/.nix-profile if it's incorrect?
Fare has joined #nixos
<dhess> looking at the nat.nix module, it looks like this is something that's done automagically. I just want to confirm that or figure out if there's something I'm missing
sbdchd has quit [Ping timeout: 240 seconds]
<infinisil> dhess: The type `types.listOf ...` will automatically merge all definitions by concating them
johanot has quit [Remote host closed the connection]
<infinisil> Every type specifies how multiple definitions should get merged
<dhess> infinisil: ok cool.
cryptomonoid has quit [Ping timeout: 265 seconds]
<dhess> ohhhhh right I think I remember seeing that somewhere
<infinisil> ,find types.nix
<infinisil> Oh no
<infinisil> Why 404
<LnL> d1rewolf_: hmm, do you have any other profiles in nix-store --gc --print-roots | grep profiles?
<dhess> infinisil: thanks, that's super helpful
<LnL> d1rewolf_: it's normal that it doesn't exist yet if you have not installed anything in your user profile yet
<Dezgeg> maybe the hash is too short?
<d1rewolf_> LnL, I see this: https://pastebin.com/WEfyURRD
<d1rewolf_> LnL, I've installed things in my profile, and my configuration.nix has user.users.d1rewolf.packages with some that are installed by default
<infinisil> Dezgeg: Indeed, that was it
<infinisil> Dezgeg: Apparently 7 chars doesn't always work..
<d1rewolf_> i just built this system, so if the best thing to do is re-do nixos-install, I can do that
<Dezgeg> I suppose it depends on the repo size
<Dezgeg> in Linux 14 chars is the recommended minimum, IIRC
<LnL> d1rewolf_: ah nixos, you've only used nixos-rebuild so far, it's normal
<d1rewolf_> actually, this is my second install this morning, and both have that same broken link
<infinisil> Dezgeg: Increasing it to 8 now, would like those links to stay small (but still link to a persistent version)
<LnL> d1rewolf_: nix-env -iA nixos.hello will create it and install hello for example
<infinisil> ,find types.nix
<LnL> there's no need for a profile if it's empty :)
<d1rewolf_> LnL, ok, great, thank you! Is there a manual section which would further explain this behavior?
<dhess> Huh, I did not know that types.string was deprecated
<dhess> I should probably go check that in all of my repos
<LnL> wut string merges?
<infinisil> There's also a whole lot of usages in nixpkgs
<infinisil> LnL: types.lines merges with \n, types.str doesn't merge
<LnL> I thought string -> 1 value, lines -> merge
<LnL> ah str vs string
<infinisil> > types.string.merge {} [{ value = "Hello"; }{ value = "there"; }]
<{^_^}> undefined variable 'types' at (string):162:1
<infinisil> > lib.types.string.merge {} [{ value = "Hello"; }{ value = "there"; }]
<{^_^}> "Hellothere"
<LnL> that should have a trace waring
<infinisil> > lib.types.str.merge {} [{ value = "Hello"; }{ value = "there"; }]
<{^_^}> value is a set while a list was expected, at /var/lib/nixbot/state/nixpkgs/lib/options.nix:143:32
<infinisil> Huh
<infinisil> > lib.types.str.merge [] [{ value = "Hello"; }{ value = "there"; }]
<{^_^}> attribute 'file' missing, at /var/lib/nixbot/state/nixpkgs/lib/options.nix:78:22
<LnL> nix-darwin has 2 options that unintentionally use it
<infinisil> OH, whatever
<LnL> :/
<infinisil> $ rg types.string ~/src/nixpkgs | wc -l
<infinisil> 264
<infinisil> That's a lot!
<LnL> s/types.sting/types.str/g
<dhess> Can I do that?
<dhess> > lib.types.string.merge {} [{ value = "Hello"; }{ value =
<dhess> "there"; }]
<{^_^}> error: syntax error, unexpected ')', at (string):163:1
<dhess> bah
<dhess> > lib.types.string.merge {} [{ value = "Hello"; }{ value = "there"; }]
<{^_^}> "Hellothere"
<dhess> oh cool
<infinisil> :)
<dhess> > lib.types.commas.merge {} [{ value = "Hello"; }{ value = "there"; }]
<{^_^}> "Hello,there"
<dhess> > lib.types.commas.merge {} [{ value = "Hello,there"; }{ value = "dhess"; }]
<{^_^}> "Hello,there,dhess"
<dhess> excellent
<infinisil> Also usable in nix-repl
<dhess> yeah :)
<dhess> that was more fun though
<infinisil> Feel free to spam the bot as much as you want in #bottest :P
<dhess> just wanted to test that types.commas worked with commas in the strings, too
<dhess> infinisil: yeah, sorry :)
<dhess> I will stop now
* infinisil is secretly in love with the module system
<{^_^}> [nixpkgs] @volth opened pull request #43857 → [bot] treewide: remove unreferenced code → https://git.io/fNC5c
halfbit has quit [Quit: WeeChat 1.9.1]
<dhess> It is definitely part of NixOS's secret sauce
keith_analog has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @dtzWill opened pull request #43858 → perl-cross: 1.1.8 -> 1.2, needed for newer perl versions → https://git.io/fNC5X
<infinisil> There are some people who don't like the module system though, and admittedly there are some problems with it
<samueldr> secretly?
Tobba has quit [Read error: Connection reset by peer]
iqubic has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Hodapp87 opened pull request #43859 → appleseed: Fix non-executable items and Python bindings → https://git.io/fNCdv
<infinisil> samueldr: I guess a lot of people know that they can easily configure stuff by adding a line to configuration.nix, but don't actually know what's going on to make that happen (the module system)
<samueldr> I meant, you are not secretly in love
<samueldr> (and yeah, learning the modules system was a wonderful experience)
<infinisil> Ah heh yeah
<booglewoogle> how would i go about installing a new x-cursor theme globally? where do i put it?
wpcarro has joined #nixos
muzzy_ has joined #nixos
cloud-maingo has joined #nixos
muzzy__ has joined #nixos
ianz has quit [Quit: Page closed]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/6115f477703 (from 51 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
hxrts_ has joined #nixos
muzzy_ has quit [Ping timeout: 276 seconds]
<mightybyte> LnL: Ahh, ok. I don't think that's the way I want to do it, but thanks for that tip.
eskytthe has joined #nixos
chreekat has quit [Quit: quitting]
SyrupThinker has joined #nixos
kiloreux has quit [Ping timeout: 255 seconds]
kiloreux has joined #nixos
<ocharles_> clever:
<ocharles_> I found little hack to my problem. keyFile = import ( let configFile = ... in pkgs.stdenv.mkDerivation { buildCommand = ''echo ${keyFile} > $out"; } );
<ocharles_> ifd ftw
<infinisil> ocharles_: Is that supposed to be `echo ${keyFile}` in there? That's a recursive definition
<ocharles_> that's meant to be ${configFile}
<infinisil> Ah that makes more sense :) (although recursive definitions are also nice when you want them)
<{^_^}> [nixpkgs] @dtzWill merged pull request #43858 → perl-cross: 1.1.8 -> 1.2, needed for newer perl versions → https://git.io/fNC5X
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/fNCbB
fresheyeball has joined #nixos
<fresheyeball> hey folks
<fresheyeball> so I am trying to use succeedOnFailure so I can capture failed test output in result for a Haskell project
<fresheyeball> problem is, I also have doHaddock = true
<fresheyeball> so if the test fails, it never creates anything at $doc
eskytthe has quit [Remote host closed the connection]
d1rewolf__ has joined #nixos
sbdchd has joined #nixos
eskytthe has joined #nixos
<Acou_Bass> heyy everyone, im trying to get Steam to install under wine using Playonlinux on Nixos... im getting a command not found error using the nixos playonlinux-4.2.12 when it pulls the wine-staging binary
jD91mZM2 has joined #nixos
sbdchd has quit [Ping timeout: 264 seconds]
<Acou_Bass> https://pastebin.com/aHN4MJfT error msg here... can anyone help me with this? :D (i would assume its a setup problem on my end as the nixpkg hasnt had any errors against it for a while!)
<srk> If your program is running, just ignore this message.
<srk> :D
<Acou_Bass> it isnt though :P
<srk> no idea, just find that funny :)
<Acou_Bass> yeah its funny when it carries on but a smack in the teeth when it doesnt :D
<srk> I only run steam without playonlinux
Tiez has quit [Quit: WeeChat 2.1]
coot_ has joined #nixos
coot__ has joined #nixos
johnhamelink has joined #nixos
<clever> fresheyeball: you may need an `mkdir $doc` to fake it sooner on
Thra11 has joined #nixos
<clever> srk: i tried to play a game under wine a few days ago, and the input lag made it imposible to play
<clever> srk: i later discovered it had native linux under steam, and that plays with no issues at all
<fresheyeball> Yeah, I run steam on nixos with no issue, including streaming to my steam link
<srk> yup
coot__ is now known as coot
<srk> I remember one game (system shock 2) which didn't work at first (on fedora) cause it bundled it's own wine version
<Acou_Bass> native steam runs fine for me - wine steam however fails to install, and the game im after has no linux version
<srk> running it with distro wine fixed it
<fresheyeball> clever: I am trying preBuild = "mkdir -p $doc";
<fresheyeball> I still think this might be a bug
<clever> Acou_Bass: that reminds me, one game i installed with wine steam (and native windows wine) left linux binaries in its install directory!
<clever> native windows steam*
alexteves has quit [Remote host closed the connection]
<sphalerite> Acou_Bass: binaries for other linux distros don't work on nixos.
alexteves has joined #nixos
<sphalerite> Acou_Bass: you could use steam-run or use a nix package.
<sphalerite> Acou_Bass: Are you using the playonlinux nix package?
<Acou_Bass> sphalerite: yes im using the playonlinux nixpkg, not using a binary for another linux distro 0,o dunno why youd think that :P
johnw_ is now known as johnw
johnw has quit [Changing host]
johnw has joined #nixos
<sphalerite> Acou_Bass: hm ok. Are you sure it's "command not found" and not "No such file or directory"?
pie_ has joined #nixos
<sphalerite> Acou_Bass: because I'm 95% sure that this is a case of playonlinux just downloading a wine binary from god knows where and trying to run that
<fresheyeball> srk: I have steam in virtual box, plays ok
<Acou_Bass> /nix/store/b6d30a7l27xi0crzm8sinakli104z88n-playonlinux-4.2.12/share/playonlinux/lib/scripts.lib: line 1013: lsb_release: command not found
<Acou_Bass> it says command not found hehe
<sphalerite> oh
<sphalerite> lol
obadz has quit [Ping timeout: 256 seconds]
<Acou_Bass> but yes, playonlinux does download wine binaries from god knows where and dump 'em in your home folder, but this has historically worked fine even on nixos for me so not sure why its decided to quit on me
<srk> fresheyeball: most of my fav games got linux ports so I can just run linux version :)
<sphalerite> Acou_Bass: easiest solution is probably just using wine from nixpkgs without playonlinux
obadz has joined #nixos
<sphalerite> although in this case it's not because of the wine binary downloads
crmlt has joined #nixos
<sphalerite> but because it tries to use the (nonexistent on nixos) lsb_release command to work out… stuff?
<sphalerite> idk
<acowley> Is there any documentation for strictDeps? Given that it seems to be getting sprinkled everywhere to unbreak long command lines, I feel like I should know what it is.
booglewoogle has quit [Quit: Leaving]
<Acou_Bass> presumably to figure out where the downloaded-from-god-knows-where wine binary is as thats generally setup with environment variables i think
<Acou_Bass> as there is a no such file or directory error when it tries to find said binary in my home directory
<Acou_Bass> /nix/store/b6d30a7l27xi0crzm8sinakli104z88n-playonlinux-4.2.12/share/playonlinux/lib/wine.lib: line 565: /home/eddie/.PlayOnLinux//wine/linux-x86/2.12-staging/bin/wine: No such file or directory
<Acou_Bass> like that ^ :P
<sphalerite> yeah that'll be the missing dynamic linker
<sphalerite> can you point playonlinux to a wine of your choice?
<Acou_Bass> oooh thats a good plan, lemme try
chreekat has joined #nixos
<sphalerite> if so I'd suggest pointing it to a nix-built wine :)
<{^_^}> [nixpkgs] @FRidh merged pull request #43857 → [bot] treewide: remove unreferenced code → https://git.io/fNC5c
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNCx4
nlyy has joined #nixos
wpcarro has quit [Remote host closed the connection]
<bgamari> how does one prevent nix from probing its caches for derivations that it can otherwise build?
* bgamari is on a very high-latency internet connection so it's much faster to just build the derivation in questin
<nlyy> is there any difference between dnscache and dnsmasq?
wpcarro has joined #nixos
<bgamari> nlyy, dnsmasq includes a dhcp server
* bgamari doesn't know about dnscache
<infinisil> bgamari: --option substitute false
<bgamari> ahh
<bgamari> infinisil, thanks!
wpcarro has quit [Remote host closed the connection]
<nlyy> should i use dnsmasq or dnscache if i have a dhcp server [on the router]
wpcarro has joined #nixos
<bgamari> nlyy, I use unbound for local dns caching
<bgamari> nlyy, I used to use dnsmasq
<kiloreux> How can I make binaries of a package built with `nix-build` visible in "/nix/var/nix/profiles/default/bin" ?
ahmedtd has joined #nixos
<infinisil> kiloreux: I would have to look that up, but why not just use the systems/roots profile?
graphene has quit [Remote host closed the connection]
<Acou_Bass> i believe its nix-env -f . -iA programname
<bgamari> infinisil, that being said, it still appears to check cachix
<nlyy> ty bgamari
<Acou_Bass> assuming youre in the directory that the default.nix is in
<infinisil> bgamari: Hmm..
graphene has joined #nixos
<kiloreux> infinisil, I am used to installing my binaries with 'nix-env` and the binaries were always there. Now that I am installing them with nix-build, i don't know where to find them?
<infinisil> kiloreux: Oh nix-build doesn't install them
<Acou_Bass> if you did a nix-build on a default.nix of your own or someone else's creation itll be in result/bin/binary
<Acou_Bass> so if you then do the nix-env -f . -iA programname in that same directory
<Acou_Bass> itll install it to your nix-profile
<kiloreux> Nice
<kiloreux> I see now.
<infinisil> bgamari: Maybe check the other options in man nix.conf
<bgamari> alright, thanks!
<Acou_Bass> of course just test it first by doing a ./result/bin/binary to make sure it all works :d
<kiloreux> Acou_Bass, So I can build it with nix-build. Push it to my binary cache and then run nix-env. And it should use that binary cache?
<Acou_Bass> 0,o i dunno about that
<infinisil> kiloreux: Well if you built it with nix-build there's no need to get it from the cache as you already have it
nlyy has quit [Quit: Leaving]
<fresheyeball> how can I cast a string to a bool?
<fresheyeball> --argstr foo true
<fresheyeball> makes a string
<chreekat> fresheyeball: don't ? :)
<fresheyeball> I just want to pass a bool on argstr
<infinisil> fresheyeball: --arg foo true?
<fresheyeball> true is a string in that context
<infinisil> No need to pass it as a string when you can just use --arg
<fresheyeball> oh duh, I can == "true"
<chreekat> fresheyeball: yeah, just use --arg instead of --argstr
<kiloreux> infinisil, I am mainly talking about the case where I want to avoid building next time. (new disk or something like that). Would that be feasible you think /
<fresheyeball> oh
<fresheyeball> I didn't know about --arg
<infinisil> kiloreux: Yeah sure, if you set up the cache correctly then that should work
<infinisil> I mean that's what caches are there for
booglewoogle has joined #nixos
<bgamari> infinisil, It's use-substitutes
<infinisil> bgamari: Oh, so you're using nix 1.x
<infinisil> I assumed 2.0
<bgamari> hmm, am I? I'm on NixOS 18.03
<infinisil> Hmm, I can't find use-substitutes in my man page
<infinisil> bgamari: What's nix --version?
<bgamari> wow
<bgamari> infinisil, you are right
<bgamari> ahh, I have a version in my user profile
<bgamari> much better
<bgamari> infinisil, thanks!
<infinisil> :)
<booglewoogle> key, after switching to the unstable channel, whenever I rebuild it'll print the line 'warning: Nix search path entry '$HOME/.nix-defexpr/channels' does not exist, ignoring' a few times. it doesn't seem to hurt the ugrade process, but where's it coming from? the directory even exists!
<booglewoogle> hey*
ersran9 has quit [Ping timeout: 244 seconds]
<fresheyeball> grr
<fresheyeball> so I got succeedOnFailure to work
igo95862 has joined #nixos
bennofs has joined #nixos
<booglewoogle> not a common thing?
<infinisil> booglewoogle: Does running `nix-channel --update` get rid of it?
<infinisil> Yes, very common
<infinisil> #40165
<{^_^}> https://github.com/NixOS/nixpkgs/issues/40165 (by wizzup, open): warning: Nix search path entry '$HOME/.nix-defexpr/channels' does not exist, ignoring
<booglewoogle> it doesn't
<booglewoogle> get rid of it
muzzy__ has quit [Remote host closed the connection]
eskytthe has left #nixos [#nixos]
<infinisil> booglewoogle: What if you just `mkdir ~/.nix-defexpr/channels`?
<booglewoogle> mkdir: cannot create directory ‘/home/boogie/.nix-defexpr/channels’: File exists
<booglewoogle> both with and without sudo
<booglewoogle> :p
<infinisil> Huh (should not have anything to do with sudo)
alex`` has joined #nixos
<booglewoogle> oh right
<booglewoogle> yeah
<booglewoogle> it's weird
<infinisil> What if you do `echo '{}' > ~/.nix-defexpr/channels/default.nix`?
<booglewoogle> An error occurred while redirecting file '/home/boogie/.nix-defexpr/channels/default.nix'
<booglewoogle> open: Read-only file system
<infinisil> Oh right
<infinisil> Okay what if you do `nix-channel --add https://nixos.org/channels/nixos-unstable whatever`?
<infinisil> (without sudo)
<manveru> is the protocol for nix-daemon documented somewhere?
<booglewoogle> unchange
<booglewoogle> d
<infinisil> Still the does not exist error?
<booglewoogle> yep
<infinisil> Damnit
<infinisil> Well there is the solution to just remove this entry from NIX_PATH
<infinisil> Doesn't solve the underlying problem though
<{^_^}> haskell-nix/hnix-store#13 (by sorki, open): WIP: Remote store
<manveru> that's some dense reading :)
<booglewoogle> yeah..
<booglewoogle> i imagined that'd be a possibility, but it just makes me curious
<manveru> booglewoogle: i usually just remove .nix-defexpr and run update again
<booglewoogle> what's going on there
<booglewoogle> oh you just remove the directory? that's fine?
<manveru> but no clue what it means
<booglewoogle> i was hesitant about that
<manveru> yeah
<booglewoogle> okay
<manveru> you can move it if you're unsure :)
<toppler> Apologies. I've never quite got my head around this: how can I easily nix-shell from the command-line into a derivation that's a function of its dependencies, by which I mean the .nix files that make up most of the distro and are called using callPackage in all-packages.nix?
<srk> manveru: it's not that difficult to implement - there's command (operation) you send to daemon over unix socket, then you need to stream-parse logger output and then it sends actual output of the operation
<manveru> srk: yeah, i was just reading it through strace
<manveru> but since it's binary it's a bit cryptic
<manveru> was mostly wondering how to implement nix-serve without perl
<srk> hehe, did the same while implementing it :)
<srk> there are some catches - like if logger contains error you need to bail out and not wait for response
ckauhaus has quit [Quit: WeeChat 2.0]
<booglewoogle> removing the directory and updating didn't help. --updating itself even spit out the error itself
<booglewoogle> running 'nix-channel --update' that is
d1rewolf__ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @volth opened pull request #43860 → [bot] treewide: remove unused 'inherit' in let blocks → https://git.io/fNChj
<manveru> srk: the nix-perl seems to use a Store.so... maybe we can find the source for that?
<booglewoogle> whoops @ the double
mojjo has joined #nixos
<mojjo> hi.. by any chance someone using nixos + emacs + purescript (psc-ide mode)?
<srk> manveru: src/libstore/remote-store.cc src/nix-daemon/nix-daemon.cc
<manveru> thanks man
graphene has quit [Remote host closed the connection]
<manveru> doesn't look much easier... and linking it from go is gonna be a pain too
cryptomonoid has joined #nixos
<srk> come to the dark side
<manveru> c++?
<srk> monads are not that hard :D
igo95862 has quit [Quit: igo95862]
graphene has joined #nixos
<manveru> :P
Fare has quit [Ping timeout: 256 seconds]
<manveru> i've done enough haskell to know that it's not for me
<manveru> plus i only have until tuesday
<srk> :)
<booglewoogle> no worries tho
<booglewoogle> i'm omw to the dark side
<toppler> Anyone? :(
<booglewoogle> new recruits are coming in
<manveru> toppler: got an actual example?
<srk> booglewoogle: <3 :D
<booglewoogle> :D
<booglewoogle> okay now it's getting really weird, at least for my understanding
Fare has joined #nixos
<{^_^}> [nixpkgs] @dywedir opened pull request #43861 → elvish: 0.11 -> 0.12 → https://git.io/fNCjB
<booglewoogle> i removed '$HOME/.nix-defexpr/channels' from my $NIX_PATH (updating it the classical way via export)
<toppler> manveru: Just about any argument to "callPackage" in all-packages.nix. I'd like to be able to do that same call, but everytime, I get told that the arguments are missing.
chreekat has quit [Quit: quitting]
<manveru> srk: i guess having hnix and dhall would be cool :)
<booglewoogle> and the error STILL happens
<booglewoogle> not when running it without sudo though (but then it can't rebuild)
<booglewoogle> i'm at a loss
<booglewoogle> just happy this doesn't break anything lol
<manveru> what's your $NIX_PATH?
<manveru> and nix-channel --list
<booglewoogle> nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
agile has left #nixos ["Leaving"]
<manveru> and `sudo nix-channel --list`, since they're not the same
<booglewoogle> ^without sudo
hotfuzz_ has joined #nixos
<booglewoogle> same with sudo
<manveru> hmm
<toppler> manveru: Two secs.
jD91mZM2 has quit [Quit: WeeChat 2.0]
<manveru> booglewoogle: what happens if you add a nixpkgs entry to that?
<neonfuz> is there any standard way of versioning packages that don't have an upstream version?
<srk> manveru: I'm gonna try reimplementing hydra-queue-runner and hydra when worker protocol is done
<manveru> neonfuz: the date of the last commit or tarball
<neonfuz> oh yeah, thanks
<toppler> manveru: Actually, it might just be getting upset about missing mkDerivation, but that's it.
<neonfuz> any standard formatting for that?
<booglewoogle> what would i add there for example? shouldn't this just be determined by the channel i use?
hotfuzz has quit [Ping timeout: 244 seconds]
<manveru> neonfuz: not that i know of... something like 2018-07-20 should be fine anyway
<fresheyeball> after nix-build succeeds how can I find the coverage and haddock output
<neonfuz> oh found it
<fresheyeball> from the persepective of a calling bash script?
<neonfuz> in the nixpkgs manual, must be YYYY-MM-DD
<manveru> cool :)
<neonfuz> oh and the word unstable,
<neonfuz> like pkg-unstable-2018-07-20
mojjo has quit [Ping timeout: 240 seconds]
<clever> booglewoogle: sudo changes env vars
<fresheyeball> the normal output gets dropped as `result`
<fresheyeball> but what about docs and coverage reports?
<clever> fresheyeball: ls -ltrh
<manveru> `tree -l` :)
nallar has joined #nixos
<clever> manveru: i dont want recursion and i want it sorted by lastmod
<fresheyeball> clever: uhh, but docs are a whole seporate output
<manveru> tree won't recurse, even with -l
<clever> fresheyeball: if you point nix-build at a derivation with multiple outputs, it will create a result and a result-doc symlink
<manveru> and nix build output all has the same timestamp :|
<clever> manveru: the symlinks have a recent timestamp, seperate from the unix 1 from the store
Ross has quit [Ping timeout: 268 seconds]
nallar is now known as Ross
blankhart has quit [Quit: WeeChat 1.9.1]
<manveru> oh?
<manveru> interesting...
<sphalerite> clever: doesn't it usually just make the default output and you need to get the `all` attr of the derivation?
<clever> lrwxrwxrwx 1 clever users 62 Jul 19 17:11 result-dev -> /nix/store/q239yikz665n4a5rff7rg2vc7jpay6xb-openssl-1.0.2o-dev
<clever> lrwxrwxrwx 1 clever users 58 Jul 19 17:12 result -> /nix/store/adf048j1l1adwx35rd3acpalmjbkv1mk-openssl-1.0.2o
<clever> sphalerite: ah maybe, the above have different timestamps
cryptomonoid has quit [Ping timeout: 260 seconds]
<booglewoogle> clever: oh, okay. in that case, how should I change the sudo env?
<clever> booglewoogle: does it behave differently if you run `sudo -i` then seperately run `nixos-rebuild switch`
<{^_^}> [nixpkgs] @volth opened pull request #43862 → [bot] treewide: remove unused 'args@' in lambdas → https://git.io/fNWeK
jperras has quit [Quit: WeeChat 2.2]
<booglewoogle> clever: yes, no warning printed in this scenario
wpcarro has quit [Remote host closed the connection]
graphene has quit [Read error: Connection reset by peer]
graphene has joined #nixos
<fresheyeball> clever: I don't see a result-doc symlink
<clever> fresheyeball: try adding .doc to the attr path
<fresheyeball> clever: what do you mean by attr path? I do see docs get build btw
<clever> fresheyeball: nix must always build all outputs at the same time
<clever> fresheyeball: what command do you run to build the package?
<fresheyeball> nix-build
<clever> fresheyeball: then use nix-build -A doc
<fresheyeball> oh interesting, tell me more about this please
kerrhau has joined #nixos
kerrhau has quit [Changing host]
kerrhau has joined #nixos
<clever> fresheyeball: -A takes an attribute path
timon37 has joined #nixos
<clever> fresheyeball: it then reads attributes from the file it loaded
<fresheyeball> what conceptually is an attribute path?
<clever> a path you form from multiple attributes
<clever> > ({ a = { b = 2; }; }).a.b
<{^_^}> 2
<clever> a.b is an attribute path
<fresheyeball> oic
<fresheyeball> so what if I want both result and result-doc
<fresheyeball> ?
<fresheyeball> I should `nix-build -A out doc` ?
<clever> sphalerite mentioned the all attribute, so try -A all
<clever> or -A out -A doc
<fresheyeball> ok, trying all
<fresheyeball> `all`
ersran9 has joined #nixos
ersran9 has quit [Changing host]
ersran9 has joined #nixos
wpcarro has joined #nixos
d1rewolf__ has joined #nixos
<d1rewolf__> guys, I see https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/browsers/google-chrome/default.nix, but "nix-env -qaP 'google.*' doesn't show chrome. I have nonFree enabled
<d1rewolf__> any ideas?
<d1rewolf__> I have allowUnfree enabled, rather
<d1rewolf__> and nix found and built vscode just fine, so I know that part is working
<srk> nix-shell -p google-chrome
<clever> d1rewolf__: the attribute paths are google-chrome for the pre-compiled blob and chromium for the opensource one (also precompiled, but by hydra)
<sphalerite> d1rewolf__: and it's enabled in your user config at ~/.config/nixpkgs/config.nix ?
<bennofs> o.o. why is perl in the closure of git-minimal
<clever> bennofs: it has some perl based scripts in it
<sphalerite> bennofs: iirc a lot of git is implemented in perl
<d1rewolf__> sphalerite, what, allowUnfree?
<sphalerite> d1rewolf__: yep
<clever> d1rewolf__: nix-env obeys the per-user nixpkgs config, not configuration.nix
<d1rewolf__> clever: so wouldn't nix-env -qaP 'google-.*' find google-chrome?
<bennofs> wouldn't have expected git to pull in perl-html-tagcloud
<d1rewolf__> one sec
<clever> d1rewolf__: what file did you set allowUnfree in?
<fresheyeball> clever: that worked!
<sphalerite> d1rewolf__: it'll only find it if you have allowUnfree enbaled for the user
<sphalerite> ,unfree
<{^_^}> You cannot install your unfree software? See https://nixos.wiki/wiki/FAQ/unfree
<fresheyeball> now I just need to know where that code coverage report winds up
<sphalerite> ^ shows all the places you can enable it
<d1rewolf__> I have no ~/.config/nixos directory
Fare has quit [Ping timeout: 240 seconds]
<d1rewolf__> but that's probably it... I just have it in configuration.nix atm
<sphalerite> yep that would explain it
* sphalerite thinks `nix-env -f '<nixpkgs/nixos>' -A pkgs` should be more commonly used on nixos
wpcarro has quit [Ping timeout: 248 seconds]
<bennofs> any idea how I could proceed with https://discourse.nixos.org/t/feedback-wanted-publish-hydra-job-names-alongside-with-channel/259? I want to improve nix-index but the current hydra API is missing some features for that
Fare has joined #nixos
wpcarro has joined #nixos
johanot has joined #nixos
booglewoogle has quit [Quit: Leaving]
wpcarro has quit [Ping timeout: 264 seconds]
jperras has joined #nixos
<{^_^}> [nixpkgs] @pSub merged pull request #40768 → nixos/thinkfan: use non-deprecated keywords in config file. → https://git.io/vppxL
<{^_^}> [nixpkgs] @pSub pushed 3 commits to master: https://git.io/fNWJl
nuncanada has quit [Quit: Leaving]
otlfac has joined #nixos
<clever> bennofs: you can either run the indexer against the release.nix file, or directly run hydra-eval-job against release.nix
<clever> bennofs: hydra-eval-jobs can be used without configuring or installing hydra: https://github.com/input-output-hk/cardano-sl/blob/develop/scripts/ci/check-hydra.sh
<bennofs> yeah but this doesn't work too well because a) hydra-eval-jobs is resource intensive (requires quite a bit of ram) and b) does this work for other arches?
<bennofs> also I find that britle because it relies on the fact that I reproduce the environment that hydra has. any small differences could lead to different hashes
jdnavarro has joined #nixos
<clever> bennofs: the whole point of the hydra-eval-jobs binary is to isolate the eval from the environment
<clever> bennofs: just call it with the right flags and it will always produce the right output
<bennofs> ok. is everything there built by hydra?
<clever> all it does is eval the nix expressions and spit out json containing all of the .drv paths
<clever> and the job name for each .drv
<clever> release.nix also has some special nix code to reduce memory usage
<bennofs> last i tried it it required ~3g iirc?
<infinisil> Would it be better to prefix of suffix a compiler with a nix-provided gcc in PATH?
stranger___ has joined #nixos
<infinisil> prefix would disallow it to be changed by people, while suffix could lead to weird behaviour of it using a weird gcc in your PATH
wpcarro has joined #nixos
Fare has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @pSub pushed to master « calibre: 3.27.1 -> 3.28.0 »: https://git.io/fNWUL
<infinisil> I'll do prefix i guess
<bennofs> clever: is hydra-eval-jobs supposed to work with restricted mode?
sbdchd has joined #nixos
<coot> has anybody tries to add some colours to the output of nix-build? Some compiler (ghc) have a colorful output that is lost when running in nix.
<coot> has anybody tried to add some colours to the output of nix-build? Some compiler (ghc) have a colorful output that is lost when running in nix.
<coot> has anybody tried to add some colours to an output of nix-build? Some compiler (ghc) have a colorful output that is lost when running in nix.
<bennofs> clever: trying to run it on pkgs/top-level/release.nix in nixpkgs resulted in "access to path NIXPKGS_CHECKOUT_DIR/lib/ is forbidden in restricted mode"
<{^_^}> #42932 (by Infinisil, open): stdenv: enable colors
<clever> bennofs: you need to include -I NIXPKGS_CHECKOUT_DIR
<clever> bennofs: only paths listed in -I are allowed, to improve purity
wpcarro has quit [Ping timeout: 244 seconds]
<bennofs> ok thanks
<infinisil> coot: Don't spam though
ersran9 has quit [Ping timeout: 256 seconds]
<coot> sorry, I after whole day in slack I go used to up key to fix a typo...
crmlt has quit [Ping timeout: 276 seconds]
<coot> and thanks for the link @infinisil
<infinisil> :)
<bennofs> clever: hmm, getting an error: syntax error, unexpected '+', at /code/nixpkgs/pkgs/development/tools/misc/help2man/default.nix:27:32 when running it on channels/nixos-unstable now...
sbdchd has quit [Ping timeout: 240 seconds]
<infinisil> coot: So you can enable colors today if you're willing to do rebuilds of everything, and I don't think colors will come in the near future, but maybe eventually when somebody decides to implement it properly
katona has joined #nixos
<clever> clever 30494 22.0 14.2 5297164 4683932 pts/7 Sl+ 17:37 1:39 ./hydra/bin/hydra-eval-jobs -I . pkgs/top-level/release.nix
<clever> bennofs: all i did was run this in the root dir of a nixpkgs checkout, and its streaming all kinds of json at me
<clever> and yeah, its up to 4.8gig of ram
<katona> Hi, anyone else having problem with amdgpu and 4.14.56 kernel version (black screen)
d1rewolf has quit [Ping timeout: 276 seconds]
<bennofs> clever: ah ok I need to use the hydra from the checkout and not the hardcoded one from your link. sorry, I was a bit lazy, should've debugged this a little more myself
<clever> bennofs: 7.4gig used
<clever> bennofs: aha, and it finished
<clever> Maximum resident set size (kbytes): 7782192
<clever> Elapsed (wall clock) time (h:mm:ss or m:ss): 12:25.14
<bennofs> 7.4gig is a little... heavy
<clever> bennofs: the bulk of the runtime was waiting for nix-daemon to do IO
<bennofs> that means i can't easily test it on most of my laptops if i don't take extra steps to close any other programs first
<{^_^}> [nixpkgs] @pSub pushed to master « bazel-buildtools: add version to name »: https://git.io/fNWTZ
<clever> bennofs: i just ran it with 700 tabs open in chrome ....
<bennofs> i only have 8g :)
jgt has joined #nixos
<clever> 32gig...
<bennofs> this is probably still better than just running nix-env and hoping the hashes mathc
fresheyeball has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @pSub pushed to master « buck: adhere to version schema convention »: https://git.io/fNWT4
<bennofs> although it will be a little bit harder to figure out canonical attribute path for installing
wpcarro has joined #nixos
<bennofs> maybe we should do something about channel evaluation taking ~8g of memory. isn't that a bit too much?
<clever> ,profiling
<{^_^}> Use NIX_COUNT_CALLS=1 and/or NIX_SHOW_STATS=1 to profile Nix evaluation
<clever> NIX_SHOW_STATS=1 will tell you where all the memory is going, on a type basis
<clever> but only certain binaries support it
tertle||eltret has joined #nixos
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
<tertle||eltret> i couldnt figure out how to get nixos gui going on my machine
<tertle||eltret> now im using in vm
<jgt> current setup: developing Haskell project on MacOS, deploying to AWS with NixOps, building on a Docker remote machine. How do I dump all the Nix store paths for the packages my project depends on?
Acou_Bass has joined #nixos
<clever> jgt: nix-store -qR
wpcarro has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @volth opened pull request #43863 → [bot] nixos/*: remove unused arguments in lambdas → https://git.io/fNWT9
Ralith has joined #nixos
wpcarro has joined #nixos
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/fNWTh
cloud-maingo has quit [Quit: Connection closed for inactivity]
<jgt> clever: it didn't have any output, so I'm guessing I need to specify some target (I don't have a default.nix; maybe that command depends on that?)
<jgt> I'm checking nix-store --help
<clever> jgt: give it the path to your output
<clever> jgt: for example: du -hc --max-depth=0 $(nix-store -qR /nix/store/awdgjdg1lcpm27xkf68aph52a10hvyfg-hydra-2017-11-21) | sort -h
<infinisil> When I compile something with gcc and it needs a header file <CL/cl.h> from opencl-headers, I pass -IOpenCL to it. What env var do I need to set for it to find those headers?
bennofs has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @pSub pushed to master « frog: adhere to version schema convention »: https://git.io/fNWkC
wpcarro has quit [Ping timeout: 268 seconds]
<clever> infinisil: i think you need to compute -I${opencl}/include/CL in nix, and pass that in however you want, usually NIX_COMPILE_CFLAGS i think
<clever> infinisil: the problem is packages trying to avoid conflicts, which nix solves, and now they make nix harder to use :P
<infinisil> Ohhh yeah I've seen that -I${... before
Anton-Latukha has quit [Quit: Leaving.]
<infinisil> I guess I'll have to patch it..
<katona> Amdgpu doesn't work on kernel 17.* (Absolutely no display, although it never worked on this version for me) , nor on 14.* with current trunk. I can't find the commit that made it so, any idea? No change to amdgpu since last working version
<jgt> clever: Ok, yeah that's super helpful. Thanks! Basically I want to throw all these paths at Cachix.
<{^_^}> [nixpkgs] @pSub pushed to master « hyper-haskell-server-with-packages: add version to name »: https://git.io/fNWki
<infinisil> clever: Oh how about this: I can pass any gcc I want, so I could make a gcc wrapper that adds the -I${opencl... flag :O
<infinisil> And pass that, no patching needed
<clever> infinisil: the gcc wrapper used by nix already obeys $NIX_COMPILE_CFLAGS
<clever> infinisil: that is how buildInputs are injected into it
<infinisil> Ohh, so I could just set that!
<infinisil> Let's see..
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<jgt> clever: Ok, so I can get all my dependencies with `nix-store -qR /nix/store/0ipns30slkihw012867q3fxr6ksyachw-nixops-machines.drv`, but I wonder, am I at risk of caching secrets by doing this? domenkozar gave me this hint in this GH Issue: https://github.com/cachix/cachix/issues/100
<{^_^}> cachix#100 (by jezen, open): How do I use Cachix with a remote builder and nixops?
<clever> jgt: thats the build-time dependencies, not the runtime ones
<infinisil> clever: Doesn't seem to work, unless I got something wrong
<clever> jgt: run `nix-store -r /nix/store/0ipns30slkihw012867q3fxr6ksyachw-nixops-machines.drv` and then repeat -qR on the output it gave
<infinisil> I don't think it's NIX_COMPILE_CFLAGS
<infinisil> Oh
<clever> jgt: you can also grep those paths for secrets
<infinisil> NIX_CFLAGS_COMPILE
<infinisil> That does indeed work
<clever> [clever@amd-nixos:~/nixpkgs]$ grep -r secret $(nix-store -qR /nix/store/awdgjdg1lcpm27xkf68aph52a10hvyfg-hydra-2017-11-21)
<clever> /nix/store/d3aa78jf7pm9lk6ad67x4f21a068dxn6-python-2.7.15/lib/python2.7/distutils/tests/test_config.py:password:secret
<clever> jgt: i found some "secrets" in the closure of hydra
<dhess> This is why I don't use cachix :)
wpcarro has joined #nixos
<infinisil> clever: But it still doesn't work because "/bin/ld: cannot find -lOpenCL"
<jgt> clever: isn't it the build time dependencies that I want? My use case is: I'd like to not have to recompile all packages I depend on after doing a Nix GC
<infinisil> Because the arg still gets passed :/
<clever> dhess, jgt: its safer to push just the closure of the program, rather then the entire nixops deployment, and to also never give the package build the secrets
Adev[m] has quit [Ping timeout: 240 seconds]
chominist[m] has quit [Ping timeout: 240 seconds]
bluewolfy[m] has quit [Ping timeout: 240 seconds]
tokudan[m] has quit [Ping timeout: 240 seconds]
Minijackson[m] has quit [Ping timeout: 240 seconds]
nmikhailov[m]1 has quit [Ping timeout: 240 seconds]
mtncoder[m] has quit [Ping timeout: 240 seconds]
pierrebeaucamp[m has quit [Ping timeout: 240 seconds]
Olinkl[m] has quit [Ping timeout: 240 seconds]
gh0st[m] has quit [Ping timeout: 240 seconds]
bkchr[m] has quit [Ping timeout: 240 seconds]
ahbnr[m] has quit [Ping timeout: 240 seconds]
timokau[m] has quit [Ping timeout: 240 seconds]
bugabinga[m] has quit [Ping timeout: 240 seconds]
funits[m] has quit [Ping timeout: 240 seconds]
fgaz[m] has quit [Ping timeout: 240 seconds]
<clever> infinisil: is opencl in buildInputs?, does its lib exist in ${opencl}/lib/ ?
ngerstle[m] has quit [Ping timeout: 255 seconds]
russiancow[m] has quit [Ping timeout: 255 seconds]
Hook[m] has quit [Ping timeout: 255 seconds]
panther320[m] has quit [Ping timeout: 255 seconds]
DavidLeung[m] has quit [Ping timeout: 255 seconds]
zdisk[m] has quit [Ping timeout: 255 seconds]
bitmapper[m] has quit [Ping timeout: 255 seconds]
r3mfKm[m] has quit [Ping timeout: 255 seconds]
zaphar_ps[m] has quit [Ping timeout: 255 seconds]
thefloweringash[ has quit [Ping timeout: 255 seconds]
Bruno[m] has quit [Ping timeout: 255 seconds]
morgib[m] has quit [Ping timeout: 255 seconds]
abbafei[m] has quit [Ping timeout: 255 seconds]
petersjt014[m] has quit [Ping timeout: 255 seconds]
nelag[m] has quit [Ping timeout: 255 seconds]
Elephant454[m] has quit [Ping timeout: 255 seconds]
Richard[m] has quit [Ping timeout: 255 seconds]
bionicmac[m] has quit [Ping timeout: 255 seconds]
darkmeson[m]1 has quit [Ping timeout: 255 seconds]
TaoHansen[m] has quit [Ping timeout: 255 seconds]
nocent[m] has quit [Ping timeout: 255 seconds]
darkmeson[m] has quit [Ping timeout: 255 seconds]
unlmtd[m] has quit [Ping timeout: 255 seconds]
jack[m]1 has quit [Ping timeout: 240 seconds]
aiyubkhan[m] has quit [Ping timeout: 240 seconds]
DenisLehmann[m] has quit [Ping timeout: 240 seconds]
Christian[m]7 has quit [Ping timeout: 240 seconds]
Dan[m]1 has quit [Ping timeout: 240 seconds]
patrl[m] has quit [Ping timeout: 240 seconds]
rnhmjoj[m] has quit [Ping timeout: 240 seconds]
ipj[m] has quit [Ping timeout: 240 seconds]
xobroll[m] has quit [Ping timeout: 240 seconds]
Zurdo[m] has quit [Ping timeout: 240 seconds]
Kallegro[m] has quit [Ping timeout: 240 seconds]
U[m] has quit [Ping timeout: 240 seconds]
AlanPearce[m] has quit [Ping timeout: 240 seconds]
wervenyt[m] has quit [Ping timeout: 240 seconds]
regnat[m] has quit [Ping timeout: 240 seconds]
musicmatze[m] has quit [Ping timeout: 240 seconds]
trikl[m] has quit [Ping timeout: 240 seconds]
jesper[m] has quit [Ping timeout: 240 seconds]
CoopDot[m] has quit [Ping timeout: 240 seconds]
indefini[m] has quit [Ping timeout: 240 seconds]
WilliamHamilton[ has quit [Ping timeout: 240 seconds]
mirlur[m] has quit [Ping timeout: 240 seconds]
davidarmatrixorg has quit [Ping timeout: 240 seconds]
copumpkin[m] has quit [Ping timeout: 240 seconds]
Ralith[m] has quit [Ping timeout: 240 seconds]
efx[m] has quit [Ping timeout: 245 seconds]
incospicuous[m] has quit [Ping timeout: 245 seconds]
aaronc[m] has quit [Ping timeout: 245 seconds]
mlaskus[m] has quit [Ping timeout: 245 seconds]
liberdiko[m] has quit [Ping timeout: 245 seconds]
Phil[m]2 has quit [Ping timeout: 245 seconds]
NickHu[m] has quit [Ping timeout: 245 seconds]
fishy[m] has quit [Ping timeout: 245 seconds]
omawnakw[m] has quit [Ping timeout: 245 seconds]
jerengie[m] has quit [Ping timeout: 245 seconds]
sirocyl[m] has quit [Ping timeout: 245 seconds]
tfc[m] has quit [Ping timeout: 245 seconds]
tehnix[m] has quit [Ping timeout: 245 seconds]
aniketd[m] has quit [Ping timeout: 245 seconds]
lkjhgfdsa00xxx[m has quit [Ping timeout: 245 seconds]
PascalBach[m] has quit [Ping timeout: 245 seconds]
WilliamGHatch[m] has quit [Ping timeout: 245 seconds]
iceTanner[m] has quit [Ping timeout: 245 seconds]
Magnap[m] has quit [Ping timeout: 245 seconds]
demyan[m] has quit [Ping timeout: 245 seconds]
BennoFnfstck[m] has quit [Ping timeout: 245 seconds]
coorey[m] has quit [Ping timeout: 245 seconds]
Necronian[m] has quit [Ping timeout: 245 seconds]
ArdaXi[m] has quit [Ping timeout: 245 seconds]
offlinehacker[m] has quit [Ping timeout: 245 seconds]
AristotleCajetan has quit [Ping timeout: 245 seconds]
dywedir[m] has quit [Ping timeout: 245 seconds]
sudoreboot[m] has quit [Ping timeout: 245 seconds]
freeman42x[m] has quit [Ping timeout: 245 seconds]
tet[m] has quit [Ping timeout: 245 seconds]
codyopel[m] has quit [Ping timeout: 245 seconds]
TimePath[m] has quit [Ping timeout: 245 seconds]
wilornel[m] has quit [Ping timeout: 245 seconds]
nh2[m] has quit [Ping timeout: 245 seconds]
forex[m] has quit [Ping timeout: 245 seconds]
card[m] has quit [Ping timeout: 245 seconds]
semyon[m] has quit [Ping timeout: 245 seconds]
Singularity[m] has quit [Ping timeout: 245 seconds]
slabity[m] has quit [Ping timeout: 245 seconds]
trubii[m] has quit [Ping timeout: 245 seconds]
Dean[m] has quit [Ping timeout: 245 seconds]
bhipple[m] has quit [Ping timeout: 245 seconds]
GiodAmelio[m] has quit [Ping timeout: 245 seconds]
gbuisson[m] has quit [Ping timeout: 245 seconds]
HamishHutchings[ has quit [Ping timeout: 245 seconds]
danielrf[m] has quit [Ping timeout: 245 seconds]
zurk[m] has quit [Ping timeout: 245 seconds]
BurNiinTRee[m] has quit [Ping timeout: 245 seconds]
tamwile[m] has quit [Ping timeout: 245 seconds]
wak-work[m] has quit [Ping timeout: 245 seconds]
bdimcheff[m] has quit [Ping timeout: 245 seconds]
primeos[m] has quit [Ping timeout: 245 seconds]
tosh[m] has quit [Ping timeout: 245 seconds]
edef[m] has quit [Ping timeout: 245 seconds]
hl[m] has quit [Ping timeout: 245 seconds]
malteof[m] has quit [Ping timeout: 245 seconds]
<infinisil> Oh
emil1234[m] has quit [Ping timeout: 256 seconds]
ninjarai4[m] has quit [Ping timeout: 256 seconds]
fighterhero[m] has quit [Ping timeout: 256 seconds]
grahamc[m]1 has quit [Ping timeout: 256 seconds]
colmeka[m] has quit [Ping timeout: 256 seconds]
manveru[m] has quit [Ping timeout: 256 seconds]
hendrik[m]1 has quit [Ping timeout: 256 seconds]
octalsrc[m] has quit [Ping timeout: 256 seconds]
chreekat[m] has quit [Ping timeout: 256 seconds]
Obscurity[m] has quit [Ping timeout: 256 seconds]
pauricthelodger[ has quit [Ping timeout: 256 seconds]
felipeac[m] has quit [Ping timeout: 256 seconds]
rihardsk[m] has quit [Ping timeout: 256 seconds]
reactormonk[m] has quit [Ping timeout: 256 seconds]
nmikhailov[m] has quit [Ping timeout: 256 seconds]
midchildan[m] has quit [Ping timeout: 256 seconds]
AndrewMiloradovs has quit [Ping timeout: 256 seconds]
davidak[m] has quit [Ping timeout: 256 seconds]
cornu[m]1 has quit [Ping timeout: 256 seconds]
lycium[m] has quit [Ping timeout: 256 seconds]
ivanfon[m] has quit [Ping timeout: 256 seconds]
mudri[m] has quit [Ping timeout: 256 seconds]
ArtemVorotnikov[ has quit [Ping timeout: 256 seconds]
bendlas[m] has quit [Ping timeout: 256 seconds]
telent[m] has quit [Ping timeout: 256 seconds]
Linus[m] has quit [Ping timeout: 256 seconds]
Drakonis[m] has quit [Ping timeout: 256 seconds]
adisbladis[m] has quit [Ping timeout: 256 seconds]
aramiscd[m] has quit [Ping timeout: 256 seconds]
Wysteriary[m] has quit [Ping timeout: 256 seconds]
Florian[m] has quit [Ping timeout: 256 seconds]
philipp[m] has quit [Ping timeout: 256 seconds]
herzmeister[m] has quit [Ping timeout: 256 seconds]
cornu[m] has quit [Ping timeout: 256 seconds]
<dhess> clever: Yeah, but without some programmatic safeguards, I don't trust myself not to make a mistake.
roberth has quit [Ping timeout: 260 seconds]
MichaelEden[m] has quit [Ping timeout: 260 seconds]
admintgs[m] has quit [Ping timeout: 260 seconds]
nickdshsadhkas[m has quit [Ping timeout: 260 seconds]
Albtrz[m] has quit [Ping timeout: 260 seconds]
mathis[m] has quit [Ping timeout: 260 seconds]
ldesgoui[m] has quit [Ping timeout: 260 seconds]
dpetranek[m] has quit [Ping timeout: 260 seconds]
danbst[m] has quit [Ping timeout: 260 seconds]
jgl[m] has quit [Ping timeout: 260 seconds]
shd[m] has quit [Ping timeout: 260 seconds]
das-g[m] has quit [Ping timeout: 260 seconds]
rycee[m] has quit [Ping timeout: 260 seconds]
DanielSchfer[m] has quit [Ping timeout: 260 seconds]
techtangents[m] has quit [Ping timeout: 260 seconds]
praticamentetild has quit [Ping timeout: 260 seconds]
leftfold[m] has quit [Ping timeout: 260 seconds]
sargon[m] has quit [Ping timeout: 260 seconds]
hw9891[m] has quit [Ping timeout: 260 seconds]
ayyjayess[m] has quit [Ping timeout: 260 seconds]
dkellner[m] has quit [Ping timeout: 260 seconds]
nyanloutre[m] has quit [Ping timeout: 260 seconds]
mica[m] has quit [Ping timeout: 260 seconds]
k0d3fr34k[m] has quit [Ping timeout: 260 seconds]
AntonLatukha[m] has quit [Ping timeout: 260 seconds]
AhmedOmar[m] has quit [Ping timeout: 260 seconds]
Sorbet[m] has quit [Ping timeout: 260 seconds]
jameshjacksonjr[ has quit [Ping timeout: 260 seconds]
attero[m] has quit [Ping timeout: 260 seconds]
smrtak[m] has quit [Ping timeout: 260 seconds]
oknf[m] has quit [Ping timeout: 260 seconds]
uvnikita[m] has quit [Ping timeout: 256 seconds]
rnkch[m] has quit [Ping timeout: 256 seconds]
Bugworm[m] has quit [Ping timeout: 256 seconds]
have-quick[m] has quit [Ping timeout: 256 seconds]
moredhel[m] has quit [Ping timeout: 256 seconds]
Noughtmare[m] has quit [Ping timeout: 256 seconds]
mith[m] has quit [Ping timeout: 256 seconds]
ms[m]1 has quit [Ping timeout: 256 seconds]
hedning[m] has quit [Ping timeout: 256 seconds]
devr[m] has quit [Ping timeout: 256 seconds]
Seeker[m] has quit [Ping timeout: 256 seconds]
YegorTimoshenko[ has quit [Ping timeout: 256 seconds]
crystalgamma[m] has quit [Ping timeout: 256 seconds]
peel[m] has quit [Ping timeout: 256 seconds]
sgk[m] has quit [Ping timeout: 256 seconds]
asp[m] has quit [Ping timeout: 256 seconds]
JaakkoLuttinen[m has quit [Ping timeout: 256 seconds]
v0id72[m] has quit [Ping timeout: 260 seconds]
gudea[m] has quit [Ping timeout: 260 seconds]
vskilet[m] has quit [Ping timeout: 260 seconds]
bobvanderlinden_ has quit [Ping timeout: 260 seconds]
cryptobilly[m] has quit [Ping timeout: 260 seconds]
nico202[m]1 has quit [Ping timeout: 260 seconds]
srid[m] has quit [Ping timeout: 260 seconds]
lordfluffywobble has quit [Ping timeout: 260 seconds]
buzzmaster[m] has quit [Ping timeout: 260 seconds]
freusque[m] has quit [Ping timeout: 260 seconds]
EB[m] has quit [Ping timeout: 260 seconds]
goibhniu[m] has quit [Ping timeout: 260 seconds]
PlasmaStrike[m] has quit [Ping timeout: 260 seconds]
mcatis[m] has quit [Ping timeout: 260 seconds]
urien1[m] has quit [Ping timeout: 260 seconds]
stigmergik[m] has quit [Ping timeout: 260 seconds]
Pneumaticat[m] has quit [Ping timeout: 260 seconds]
desttinghim[m] has quit [Ping timeout: 260 seconds]
xnaveira[m] has quit [Ping timeout: 260 seconds]
ProofTechnique[m has quit [Ping timeout: 260 seconds]
spacekitteh[m] has quit [Ping timeout: 260 seconds]
dtz[m] has quit [Ping timeout: 260 seconds]
comphez[m] has quit [Ping timeout: 260 seconds]
<sphalerite> whoosh
<clever> and we are getting matrixed again
daftect[m] has quit [Ping timeout: 276 seconds]
d3rNarr[m] has quit [Ping timeout: 276 seconds]
MaJoe[m] has quit [Ping timeout: 276 seconds]
Khorne[m]1 has quit [Ping timeout: 276 seconds]
stekke[m] has quit [Ping timeout: 276 seconds]
dadadus[m] has quit [Ping timeout: 276 seconds]
PeterRomfeld[m] has quit [Ping timeout: 276 seconds]
spring322[m] has quit [Ping timeout: 276 seconds]
AdamSlack[m] has quit [Ping timeout: 276 seconds]
Dezgeg[m] has quit [Ping timeout: 276 seconds]
yochai[m] has quit [Ping timeout: 276 seconds]
fearlessKim[m] has quit [Ping timeout: 276 seconds]
Orbstheorem[m] has quit [Ping timeout: 276 seconds]
PeterHoeg[m] has quit [Ping timeout: 276 seconds]
kainospur[m] has quit [Ping timeout: 276 seconds]
thra11[m] has quit [Ping timeout: 276 seconds]
joh[m] has quit [Ping timeout: 276 seconds]
happyente[m] has quit [Ping timeout: 276 seconds]
sevanspowell[m] has quit [Ping timeout: 276 seconds]
YuFanLovezYou[m] has quit [Ping timeout: 276 seconds]
olejorgenb[m] has quit [Ping timeout: 276 seconds]
Leon[m] has quit [Ping timeout: 276 seconds]
atopuzov[m] has quit [Ping timeout: 276 seconds]
greska[m] has quit [Ping timeout: 276 seconds]
puffnfresh[m] has quit [Ping timeout: 276 seconds]
mgttlinger[m] has quit [Ping timeout: 276 seconds]
dash[m] has quit [Ping timeout: 276 seconds]
htafdwes[m] has quit [Ping timeout: 276 seconds]
equalunique[m] has quit [Ping timeout: 276 seconds]
Dt[m] has quit [Ping timeout: 276 seconds]
aspiwack[m] has quit [Ping timeout: 276 seconds]
mankyKitty[m] has quit [Ping timeout: 276 seconds]
EuAndreh[m] has quit [Ping timeout: 276 seconds]
<infinisil> clever: There are only opencl headers though
<clever> infinisil: then you need to find the derivation that includes the libs, and add it to buildInputs
agjacome has joined #nixos
<dhess> I've mostly removed secrets from my builds now. There are still a few things that remain, though.
<infinisil> Oh right, libs != headers
agjacome has quit [Client Quit]
wpcarro has quit [Ping timeout: 244 seconds]
__monty_1 has quit [Quit: leaving]
sellout- has quit [Ping timeout: 260 seconds]
<infinisil> NIX_LDFLAGS might be it
<clever> yeah, seperate one for compile and link
wpcarro has joined #nixos
sellout- has joined #nixos
wpcarro has quit [Ping timeout: 276 seconds]
<infinisil> clever: Um, could it be that I need to use a special gcc to honor these env vars?
<clever> infinisil: let me confirm the names
<infinisil> The gcc in `nix-shell -p gcc` works just fine, but using the gcc directly fails
<clever> pkgs/top-level/perl-packages.nix: NIX_CFLAGS_LINK = "-L${pkgs.openssl.out}/lib -lcrypto";
<infinisil> I mean it works in a nix-shell for some reason
<clever> pkgs/top-level/perl-packages.nix: NIX_CFLAGS_COMPILE = "-I${pkgs.openssl.dev}/include";
<clever> infinisil: those are the correct names, and both happen to be perl and openssl
<infinisil> Yeah that's not the problem
<infinisil> It gets gcc from PATH
<clever> infinisil: oh, your wrapping some kind of compiler
<infinisil> When I try to run it, I get "CL/cl.h: No such file or directory"
<infinisil> Yeah
<clever> --set NIX_CFLAGS_COMPILE "-I ${opencl-headers}/include" \
<infinisil> But then I can enter nix-shell -p stdenv where it gets an stdenvy gcc and the flags are honored
<clever> try dropping the space in here?
wpcarro has joined #nixos
<infinisil> Same problem :)
<clever> this seems like a job for propagatedBuildInputs
<clever> put opencl into the propagated inputs for the compiler, and use the compiler from another derivation
<infinisil> It calls gcc at runtime
<infinisil> Can't do anything with nix there
<clever> make sure that "runtime" happens inside another derivation
<clever> is that possible?
<infinisil> That would mean the compiler would be unusable without nix, which is not what I'm going for
<infinisil> Should be self-contained
<clever> id say make your own wrapper around gcc, that inserts the right flags
agjacome has joined #nixos
<infinisil> hmm..
<infinisil> Where the hell does the gcc in stdenv come from
<clever> infinisil: i think i see the problem
wpcarro has quit [Ping timeout: 256 seconds]
<clever> infinisil: there is a accumulateRoles function that generates the var NIX_CFLAGS_COMPILE
<clever> based on the state of cross-compile flags
<clever> and when you use it outside of nix, those flags are missing
<clever> > gcc.cc
agjacome has quit [Client Quit]
<{^_^}> "<derivation /nix/store/bkl2zbbvhq8ykn7536gi5y17q2sb0wnd-gcc-7.3.0>"
<clever> infinisil: thats the raw gcc
agjacome has joined #nixos
<infinisil> Not sure what that means now
<clever> infinisil: try setting `export NIX_DEBUG=1` and then compare how it behaves under nix-shell to outside
agjacome has quit [Client Quit]
<infinisil> No output inside the nix-shell, but also no error
<clever> infinisil: it will only give output when gcc is ran
<infinisil> Outside nix-shell I get an error along with this output: https://gist.github.com/022d514fa2f8cd3c88a98d021f12da54
<infinisil> Heh, I think if the command succeeds this compiler will just get rid of stderr lol
crmlt has joined #nixos
<clever> infinisil: manually run gcc with args that are close enough
wpcarro has joined #nixos
sir_guy_carleton has joined #nixos
<infinisil> First 3 are in nix-shell -p stdenv, third of which succeeds, inbetween are the manual exports of NIX_CFLAGS_{COMPILE,LINK}
<infinisil> Last 3 are without nix-shell, just doing PATH=/nix/store/...gcc-wrapper/bin:$PATH
<infinisil> and also exports inbetween
<infinisil> The exports don't do anything without nix-shell
<clever> infinisil: what if you export NIX_CC_WRAPPER_x86_64_unknown_linux_gnu_TARGET_HOST=1 ?
<infinisil> Whew, let's see
<infinisil> What that works
<infinisil> Naniii?
<clever> that controls which env vars gcc reads
cryptomonoid has joined #nixos
<clever> how it decides between NIX_BUILD_LDFLAGS, NIX_LDFLAGS, and NIX_TARGET_LDFLAGS
<LnL> lol
<clever> since none of the cross-compile stuff was set, it was broken
<infinisil> Huh, interesting
<sphalerite> when do we get multi-target gas
<sphalerite> it would make cross so much easier
<infinisil> This seems a bit hacky, is this okay to do?
<infinisil> Or will the nixpkgs gods ban me from heaven
<clever> infinisil: id say use it
johanot has quit [Remote host closed the connection]
agjacome has joined #nixos
<infinisil> Maybe it being a compiler justifies it
agjacome has quit [Client Quit]
<LnL> I didn't follow what's going on, but this doesn't sound right
<clever> infinisil: youll also want to read <utils.bash> and <add-flags.sh>
<infinisil> It's ,find now due to some complaints
<infinisil> ,find utils.bash add-flags.sh
<clever> ,find <utils.bash>
<{^_^}> Couldn't find any such files
<clever> ah
<clever> infinisil: those 2
<infinisil> Thanks for the help clever, wouldn't have been able to do it without you :)
<infinisil> (Well it would've been possible, but not without ugly hacks)
<{^_^}> [nixpkgs] @oyren opened pull request #43864 → write_stylus: icons added → https://git.io/fNWmc
agjacome has joined #nixos
cryptomonoid has quit [Ping timeout: 245 seconds]
wpcarro has quit [Ping timeout: 256 seconds]
tet[m] has joined #nixos
<{^_^}> [nixos-channel-scripts] @matthewbauer closed pull request #20 → Add netboot to mirror-nixos-branch.pl → https://git.io/fN34S
crmlt has quit [Ping timeout: 260 seconds]
<dhess> Anyone around who's using dhall-nix for their NixOS/NixOps configs?
gurmble has joined #nixos
<dhess> or even just for packaging stuff for use with nixpkgs?
<{^_^}> [nixpkgs] @Infinisil opened pull request #43865 → futhark: init at 0.6.2 → https://git.io/fNWYn
<infinisil> clever: ^^
grumble has quit [Ping timeout: 610 seconds]
iqubic has joined #nixos
<infinisil> To demonstrate how well Nix can work as Futharks package manager :)
gurmble is now known as grumble
Sonarpulse has quit [Ping timeout: 256 seconds]
<clever> infinisil: if you run cabal2nix with a git url, it will create the right src= for you
Guest26172 has quit [Ping timeout: 276 seconds]
<clever> infinisil: cabal2nix https://github.com/diku-dk/futhark --revision v0.6.2
<clever> infinisil: that will get rid of src.nix and the need to override the src
jgt has quit [Ping timeout: 248 seconds]
<infinisil> But that won't get me a github url
<manveru> dhess: can't say i've seen that yet
<infinisil> a github archive url i mean
<infinisil> And will take forever to fetch, because the submodules of this project are huuuuge
<infinisil> (but not needed for compilation)
<infinisil> There's cabal2nix#260 to fix that eventually :)
<{^_^}> https://github.com/NixOS/cabal2nix/issues/260 (by taktoa, open): Use `fetchFromGitHub` instead of `fetchgit` when the source is a GitHub clone URL
onon is now known as cops
<clever> infinisil: and i dont think a PR will be accepted with storepaths in it, so just manually paste the fetchFromGitHub in for now?
<infinisil> It will get overridden by the default.nix
cops is now known as onon
<infinisil> I guess it is a bit ugly
erasmas has quit [Quit: leaving]
kerrhau has quit [Read error: Connection reset by peer]
NightTrain has joined #nixos
<elvishjerricco> dhess: Is it even possible to use Nix's `self: super:` pattern with `dhall`? Isn't `dhall` strict?
<dhess> elvishjerricco: Hmm that's interesting, I haven't considered that.
agjacome has quit [Ping timeout: 260 seconds]
<dhess> dhall-nix is just generating .nix files though, I don't think it's intended to do what nixpkgs does. So I'm imaginging using it as a nicer way to do Nix programming.
<elvishjerricco> dhess: I can't imagine doing nix programming without `self: super:` though :P
<dhess> elvishjerricco: I write a bunch of NixOS modules and none of those use self or super.
sbdchd has joined #nixos
<elvishjerricco> dhess: A NixOS module *is* a `self:` pattern, albeit no `super`
<infinisil> dhess: Actually, all of nixpkgs packages are done through layers of overlays
hxrts_ has quit [Ping timeout: 268 seconds]
<infinisil> ,find stage.nix
<infinisil> See the bottom of that file where they are combined
stranger___ has quit [Quit: Connection closed for inactivity]
sbdchd has quit [Ping timeout: 260 seconds]
<dhess> elvishjerricco: well for example, anything that iterates over the module system's types.* (and possibly large portions of pkgs.lib) could be done in Dhall, no?
statusbot has joined #nixos
<dhess> so potentially you could replace pkgs.lib with a type-checked Dhall-to-Nix equivalent standard library
<neonfuz> Any way to easily turn on sandboxing just for one build?
<infinisil> neonfuz: --option sandbox true
<neonfuz> k thanks lol
<dhess> and using lib and types and walking over reasonably deeply-nested data structures is about 80% of what my NixOS modules do
<dhess> and it would be really nice to have a real type system for that because I get it wrong all the time, and have to wait for nix-build to evaluate the whole complicated mess before I get any feedback
<johnw> dhess: perhaps hnix could help too, but be more integrated with nixpkgs
<johnw> dhess: it has a type checker now, although it's fairly liberal at the moment (for lack of annotations()
<dhess> johnw: well with hnix I think now you're talking about being able to replace the whole ball of wax :)
<johnw> I want to keep nixpkgs
<dhess> but dhall could do the configuration bits that it's good at
<johnw> that's like 90% of the wax
<dhess> Is your goal to be able to point hnix and nixpkgs as-is and ask it to build something?
AndrewMiloradovs has joined #nixos
comphez[m] has joined #nixos
unlmtd[m] has joined #nixos
atopuzov[m] has joined #nixos
cornu[m] has joined #nixos
jerengie[m] has joined #nixos
<johnw> yep
dpetranek[m] has joined #nixos
mirlur[m] has joined #nixos
ProofTechnique[m has joined #nixos
telent[m] has joined #nixos
gbuisson[m] has joined #nixos
ahbnr[m] has joined #nixos
WilliamHamilton[ has joined #nixos
nyanloutre[m] has joined #nixos
jesper[m] has joined #nixos
sevanspowell[m] has joined #nixos
pauricthelodger[ has joined #nixos
PascalBach[m] has joined #nixos
abbafei[m] has joined #nixos
Drakonis[m] has joined #nixos
indefini[m] has joined #nixos
tokudan[m] has joined #nixos
demyan[m] has joined #nixos
Leon[m] has joined #nixos
mankyKitty[m] has joined #nixos
tfc[m] has joined #nixos
regnat[m] has joined #nixos
roberth has joined #nixos
primeos[m] has joined #nixos
Bruno[m] has joined #nixos
U[m] has joined #nixos
codyopel[m] has joined #nixos
aspiwack[m] has joined #nixos
chominist[m] has joined #nixos
lycium[m] has joined #nixos
tehnix[m] has joined #nixos
Olinkl[m] has joined #nixos
danielrf[m] has joined #nixos
HamishHutchings[ has joined #nixos
YegorTimoshenko[ has joined #nixos
have-quick[m] has joined #nixos
WilliamGHatch[m] has joined #nixos
uvnikita[m] has joined #nixos
freeman42x[m] has joined #nixos
leftfold[m] has joined #nixos
stigmergik[m] has joined #nixos
Linus[m] has joined #nixos
mith[m] has joined #nixos
TimePath[m] has joined #nixos
hl[m] has joined #nixos
Minijackson[m] has joined #nixos
rihardsk[m] has joined #nixos
Noughtmare[m] has joined #nixos
aniketd[m] has joined #nixos
Seeker[m] has joined #nixos
wervenyt[m] has joined #nixos
ipj[m] has joined #nixos
hendrik[m]1 has joined #nixos
adisbladis[m] has joined #nixos
wak-work[m] has joined #nixos
chreekat[m] has joined #nixos
Kallegro[m] has joined #nixos
<dhess> wow that's pretty ambitious :)
cryptobilly[m] has joined #nixos
bdimcheff[m] has joined #nixos
das-g[m] has joined #nixos
bobvanderlinden_ has joined #nixos
peel[m] has joined #nixos
Bugworm[m] has joined #nixos
xobroll[m] has joined #nixos
ArdaXi[m] has joined #nixos
nmikhailov[m] has joined #nixos
puffnfresh[m] has joined #nixos
davidarmatrixorg has joined #nixos
moredhel[m] has joined #nixos
xnaveira[m] has joined #nixos
timokau[m] has joined #nixos
sudoreboot[m] has joined #nixos
octalsrc[m] has joined #nixos
shd[m] has joined #nixos
rnhmjoj[m] has joined #nixos
rycee[m] has joined #nixos
mudri[m] has joined #nixos
thra11[m] has joined #nixos
grahamc[m]1 has joined #nixos
<clever> and matrix is striking again!
desttinghim[m] has joined #nixos
jgl[m] has joined #nixos
aiyubkhan[m] has joined #nixos
Sorbet[m] has joined #nixos
greska[m] has joined #nixos
fishy[m] has joined #nixos
olejorgenb[m] has joined #nixos
ivanfon[m] has joined #nixos
zaphar_ps[m] has joined #nixos
efx[m] has joined #nixos
bluewolfy[m] has joined #nixos
thefloweringash[ has joined #nixos
YuFanLovezYou[m] has joined #nixos
tamwile[m] has joined #nixos
ayyjayess[m] has joined #nixos
copumpkin[m] has joined #nixos
fearlessKim[m] has joined #nixos
Elephant454[m] has joined #nixos
patrl[m] has joined #nixos
midchildan[m] has joined #nixos
NickHu[m] has joined #nixos
wilornel[m] has joined #nixos
davidak[m] has joined #nixos
reactormonk[m] has joined #nixos
CoopDot[m] has joined #nixos
ArtemVorotnikov[ has joined #nixos
techtangents[m] has joined #nixos
nh2[m] has joined #nixos
omawnakw[m] has joined #nixos
AlanPearce[m] has joined #nixos
manveru[m] has joined #nixos
happyente[m] has joined #nixos
ngerstle[m] has joined #nixos
sirocyl[m] has joined #nixos
bugabinga[m] has joined #nixos
herzmeister[m] has joined #nixos
yochai[m] has joined #nixos
danbst[m] has joined #nixos
htafdwes[m] has joined #nixos
Florian[m] has joined #nixos
darkmeson[m]1 has joined #nixos
lkjhgfdsa00xxx[m has joined #nixos
Magnap[m] has joined #nixos
DanielSchfer[m] has joined #nixos
<johnw> and if it fails to evaluate, give you an awesome error message
asp[m] has joined #nixos
joh[m] has joined #nixos
liberdiko[m] has joined #nixos
dkellner[m] has joined #nixos
Dezgeg[m] has joined #nixos
admintgs[m] has joined #nixos
bitmapper[m] has joined #nixos
trubii[m] has joined #nixos
goibhniu[m] has joined #nixos
fighterhero[m] has joined #nixos
spring322[m] has joined #nixos
AdamSlack[m] has joined #nixos
ldesgoui[m] has joined #nixos
Christian[m]7 has joined #nixos
slabity[m] has joined #nixos
Singularity[m] has joined #nixos
mlaskus[m] has joined #nixos
Dan[m]1 has joined #nixos
DenisLehmann[m] has joined #nixos
semyon[m] has joined #nixos
vskilet[m] has joined #nixos
sargon[m] has joined #nixos
Necronian[m] has joined #nixos
Wysteriary[m] has joined #nixos
nico202[m]1 has joined #nixos
Richard[m] has joined #nixos
felipeac[m] has joined #nixos
hedning[m] has joined #nixos
ms[m]1 has joined #nixos
nocent[m] has joined #nixos
nmikhailov[m]1 has joined #nixos
offlinehacker[m] has joined #nixos
edef[m] has joined #nixos
iceTanner[m] has joined #nixos
Obscurity[m] has joined #nixos
trikl[m] has joined #nixos
ninjarai4[m] has joined #nixos
urien1[m] has joined #nixos
bkchr[m] has joined #nixos
BurNiinTRee[m] has joined #nixos
philipp[m] has joined #nixos
AristotleCajetan has joined #nixos
kainospur[m] has joined #nixos
dtz[m] has joined #nixos
jameshjacksonjr[ has joined #nixos
DavidLeung[m] has joined #nixos
BennoFnfstck[m] has joined #nixos
bhipple[m] has joined #nixos
Pneumaticat[m] has joined #nixos
oknf[m] has joined #nixos
hw9891[m] has joined #nixos
tosh[m] has joined #nixos
Dt[m] has joined #nixos
crystalgamma[m] has joined #nixos
darkmeson[m] has joined #nixos
spacekitteh[m] has joined #nixos
Dean[m] has joined #nixos
AhmedOmar[m] has joined #nixos
coorey[m] has joined #nixos
aramiscd[m] has joined #nixos
pierrebeaucamp[m has joined #nixos
AntonLatukha[m] has joined #nixos
equalunique[m] has joined #nixos
sgk[m] has joined #nixos
lordfluffywobble has joined #nixos
PlasmaStrike[m] has joined #nixos
fgaz[m] has joined #nixos
JaakkoLuttinen[m has joined #nixos
mtncoder[m] has joined #nixos
morgib[m] has joined #nixos
funits[m] has joined #nixos
gh0st[m] has joined #nixos
nelag[m] has joined #nixos
malteof[m] has joined #nixos
mica[m] has joined #nixos
TaoHansen[m] has joined #nixos
Zurdo[m] has joined #nixos
petersjt014[m] has joined #nixos
Ralith[m] has joined #nixos
mgttlinger[m] has joined #nixos
bionicmac[m] has joined #nixos
zurk[m] has joined #nixos
mcatis[m] has joined #nixos
r3mfKm[m] has joined #nixos
colmeka[m] has joined #nixos
zdisk[m] has joined #nixos
PeterRomfeld[m] has joined #nixos
musicmatze[m] has joined #nixos
EuAndreh[m] has joined #nixos
devr[m] has joined #nixos
dash has joined #nixos
cornu[m]1 has joined #nixos
forex[m] has joined #nixos
k0d3fr34k[m] has joined #nixos
dywedir[m] has joined #nixos
Khorne[m]1 has joined #nixos
rnkch[m] has joined #nixos
praticamentetild has joined #nixos
GiodAmelio[m] has joined #nixos
bendlas[m] has joined #nixos
attero[m] has joined #nixos
smrtak[m] has joined #nixos
aaronc[m] has joined #nixos
PeterHoeg[m] has joined #nixos
EB[m] has joined #nixos
stekke[m] has joined #nixos
freusque[m] has joined #nixos
mathis[m] has joined #nixos
MaJoe[m] has joined #nixos
MichaelEden[m] has joined #nixos
panther320[m] has joined #nixos
d3rNarr[m] has joined #nixos
buzzmaster[m] has joined #nixos
Hook[m] has joined #nixos
Albtrz[m] has joined #nixos
Adev[m] has joined #nixos
srid[m] has joined #nixos
daftect[m] has joined #nixos
incospicuous[m] has joined #nixos
gudea[m] has joined #nixos
nickdshsadhkas[m has joined #nixos
v0id72[m] has joined #nixos
card[m] has joined #nixos
emil1234[m] has joined #nixos
russiancow[m] has joined #nixos
jack[m]1 has joined #nixos
Phil[m]2 has joined #nixos
Orbstheorem[m] has joined #nixos
<dhess> do you think Nix+nixpkgs types are well-specified enough to do that with no changes to existing nixpkgs?
dadadus[m] has joined #nixos
<johnw> no, not for really good error messages
agjacome has joined #nixos
<johnw> i want typing annotations that specify when a list must be homogenously typed, for example
<dhess> ok so you are still envisioning some things (e.g., annotations) will be needed
<johnw> then I can make assumptions about every member
<dhess> right
<johnw> when you use hnix --check right now
<johnw> it just assumes that all types are homogenous, for example
<dhess> that seems still ambitious but plausible.
<johnw> all lists*
<johnw> the typing of attribute sets remains tricky
<johnw> since the membership itself is sometimes a part of the type
<johnw> other times, you only care about the types of members
<dhess> right
<dhess> good point
<johnw> hnix starts being as strict as it can, but it backs off quickly
<johnw> and then there's the soul destroying 'with' construct
<dhess> I actually take advantage of the "duck typing" of the modules fairly often
<johnw> which makes static analysis very hard
ericsagnes has joined #nixos
sellout- has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « foundationdb: bump to 5.2.6, 6.0.2-prelease »: https://git.io/fNWOd
<dhess> like, I can assign one submodule-type object to another as long as they're more-or-less the same, and/or one of them has default values for the values that aren't provided in the other.
<johnw> yep
<johnw> same with matching up argument sets to function parameters
<dhess> right
<dhess> yeah that's a better example of course.
<dhess> johnw: Are you using hnix in production for any of your projects? Even just as a pre-processor/linter?
agjacome has quit [Ping timeout: 276 seconds]
<johnw> not yet, just as an exploratory debugging tool at the moment
<dhess> I was just poking around the GitHub repo a few minutes ago actually
<{^_^}> [nixpkgs] @neonfuz opened pull request #43866 → yaxg: init at 2018-07-20 → https://git.io/fNW3f
<dhess> I do that (and the dhall-nix repo) every time I'm knee-deep in NixOS module-writing and I'm miserable.
<johnw> hahaa
<dhess> "Is this thing working yet? Let's see...."
Fare has joined #nixos
revskill has quit [Ping timeout: 264 seconds]
sellout- has joined #nixos
Tobba has joined #nixos
<johnw> with help, hnix would work even more... :)
<dhess> heheh I was also looking at the issues list ;)
<dhess> maybe I'll spelunk a bit, I could definitely use it.
<johnw> dhess: very soon (a few weeks) Obsidian Systems will start supporting hnix work by allocating some time from one of their engineers to help me get the whole of nixpkgs evaluating up-to-equivalence with C++ nix
monotux has quit [Ping timeout: 264 seconds]
Guest99618 has joined #nixos
<dhess> oh wow, cool
katona has quit [Quit: Connection closed for inactivity]
<maurer> johnw: While I like haskell over C++ as a matter of taste when writing it, is there some benefit to hnix over normal nix?
<maurer> Is it just intended to be easier to extend? Is there some new trick you've tought it?
<johnw> maurer: it's just a very natural fit is all
<johnw> maurer: it's originally meant so that Haskell programmers can easily build custom tooling for the Nix ecosystem
<maurer> johnw: Also, out of curiosity, is there a reason that the execution method for nix code isn't transpiling it to a subset of haskell? :P
<johnw> maurer: no reason at all; in fact, it's on the idea board
<{^_^}> hnix#187 (by jwiegley, open): Compile Nix files into Haskell, and from there to native code
<clever> maurer: i had an idea a few days ago, could nix be compiled to llvm?
monotux has joined #nixos
<maurer> If you compiled nix to haskell, ghc would turn it into llvm
<johnw> clever: I don't see why not, if you have the builtins defined in llvm
<johnw> or yeah, go by way of Haskell
<clever> johnw: or just link it against libnixexpr
<johnw> right
cacatoes has joined #nixos
<johnw> we could export Builtins.hs as a set of C functions
<maurer> LLVM would require more work to do directly, since you'd need to write a compilation layer that faked the laziness
<maurer> that's why I was saying compiling through haskell might make sense - you could just steal ghc's laziness
<clever> maurer: yeah, that does make more sense
simukis has quit [Ping timeout: 256 seconds]
agjacome has joined #nixos
sbdchd has joined #nixos
<elvishjerricco> johnw: Does hnix just steal GHC's laziness? Or does it do extra work to implement Nix's laziness?
<johnw> elvishjerricco: it does extra work
<johnw> i tried to steal laziness
<johnw> but it was impossible to debug
agjacome has quit [Ping timeout: 240 seconds]
<johnw> so instead we have this:
paraseba has quit [Ping timeout: 240 seconds]
<infinisil> johnw: clever: Um, what about import though?
<infinisil> Can't compile what you don't yet know
<elvishjerricco> JIT :P
<johnw> you can compile to code that uses 'import' from libnixexpr
<johnw> just means that you carry a compiler around with you
<infinisil> So in the end this means only 1 layer of compilation
<maurer> johnw: Yeah, stealing laziness would only really make sense with transpiling imo
<infinisil> Not any deeper than the first import
<infinisil> Which seems pretty limiting
<johnw> hnix has a "reducer" which flattens out all statically determinable improts
<johnw> if you use this prior to compilation, you'll have very few imports in the final result -- where nixpkgs is concerned
<infinisil> Ah true
<maurer> If you're using an import of a dynamically determined string
<maurer> I think you might be engaging in shenanigans and should stop :P
<johnw> which happens almost not at all in nixpkgs
abcrawf has quit [Remote host closed the connection]
<johnw> in user code, there will always be cases we have to punt and say that evaluation of the import will be done at runtime
gurmble has joined #nixos
<infinisil> "True" compilation impossible with nix :(
<johnw> another thing that hnix does is to snapshot the AST to a cache file
<johnw> makes future loads of the same file take a fraction of the time
<johnw> only, it doesn't work if your nixpkgs was imported into the /nix/store, since we don't have a convenient place to write the caches to
<PyroLagus> is there a way to use firejail without root on nixos?
grumble has quit [Disconnected by services]
gurmble is now known as grumble
<johnw> I guess that's easy enough to solve using ~/.cache/nix or something
<PyroLagus> unprivileged lxc containers with nixos-container would be so amazing *sigh*
<infinisil> johnw: Cache it with a nix build? :P
<infinisil> I guess the overhead for that is way too high
hellrazor has joined #nixos
hakujin has quit [Ping timeout: 276 seconds]
<kalbasit> is it possible to change the gid of the group users?
<PyroLagus> i think so
<PyroLagus> not sure if users.extraGroups.users.gid = nnnn; would do the trick
init_6 has joined #nixos
<clever> it may need an mkForce, and it would only work if set prior to installing
<kalbasit> clever: hmm I see
<clever> changing the id of a user/group can cause problems, so nixos avoids doing it for existing users
<kalbasit> I'll probably add my own group and ditch the `users`
<kalbasit> might be the easiest way
<kalbasit> I'll chgrp my files manually of course
<dhess> johnw: ahh cool, I was just musing about that (caching the AST/parse)