gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || 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
<boomshroom> iqubic: It's all in the file. Specifically, volume up/down, mute, and mic mute.
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/f3353fffc4b (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
<iqubic> Is there a corresponding option for monitor brightness keys? My keyboard has XF86MonBrightnessUp and Down keys.
timokau has joined #nixos
<boomshroom> iqubic: Sadly, I don't know what commands would map to that and if you could find them, they'd have to be manually added to services.actkbd.bindings.
jrolfs has quit [Ping timeout: 240 seconds]
<iqubic> I was just planning on mapping "xbacklight + 5" and "xbacklight - 5" to those.
blonkhart has joined #nixos
jperras has quit [Ping timeout: 268 seconds]
jrolfs has joined #nixos
<boomshroom> iqubic: That makes things easier. Now I just need to find how to check what id those keys have. After that, you can use the entries in alsa.nix as a template and substitue the values for the backlight keys and commands.
<iqubic> Isn't it just XF86MonBrightnessUp and XF86MonBrightnessDown?
techtangents[m] has quit [Ping timeout: 240 seconds]
DIzFer[m] has quit [Ping timeout: 240 seconds]
leoleoleotest[m] has quit [Ping timeout: 240 seconds]
<iqubic> Oh, no it really isn't.
reactormonk[m] has quit [Ping timeout: 240 seconds]
ison[m] has quit [Ping timeout: 240 seconds]
lazygun[m] has quit [Ping timeout: 240 seconds]
pierrebeaucamp[m has quit [Ping timeout: 240 seconds]
asp_ has quit [Ping timeout: 240 seconds]
hl has quit [Ping timeout: 240 seconds]
nh2[m] has quit [Ping timeout: 240 seconds]
nelag[m] has quit [Ping timeout: 246 seconds]
bkchr[m] has quit [Ping timeout: 246 seconds]
ConorCurry[m] has quit [Ping timeout: 246 seconds]
M-dpetranek has quit [Ping timeout: 246 seconds]
smrtak[m] has quit [Ping timeout: 246 seconds]
cornu[m] has quit [Ping timeout: 246 seconds]
LiuWeiHua[m] has quit [Ping timeout: 246 seconds]
chatnowvvv[m] has quit [Ping timeout: 245 seconds]
timokau[m] has quit [Ping timeout: 245 seconds]
Minijackson[m] has quit [Ping timeout: 245 seconds]
felipeac[m] has quit [Ping timeout: 245 seconds]
Elephant454[m] has quit [Ping timeout: 245 seconds]
primeos[m] has quit [Ping timeout: 245 seconds]
musicmatze[m] has quit [Ping timeout: 245 seconds]
bennofs[m] has quit [Ping timeout: 245 seconds]
superusercode has quit [Ping timeout: 256 seconds]
AllanDaemon has quit [Ping timeout: 256 seconds]
bachp has quit [Ping timeout: 256 seconds]
srini[m] has quit [Ping timeout: 256 seconds]
chominist[m] has quit [Ping timeout: 256 seconds]
benasse has quit [Ping timeout: 256 seconds]
gh0st[m] has quit [Ping timeout: 256 seconds]
turok9[m] has quit [Ping timeout: 256 seconds]
itorres has quit [Ping timeout: 256 seconds]
Orbstheorem[m] has quit [Ping timeout: 256 seconds]
jgl[m] has quit [Ping timeout: 256 seconds]
Deleh[m] has quit [Ping timeout: 256 seconds]
mith[m] has quit [Ping timeout: 256 seconds]
kainospur[m] has quit [Ping timeout: 256 seconds]
spawnthink[m] has quit [Ping timeout: 256 seconds]
purewater[m] has quit [Ping timeout: 256 seconds]
octowan[m] has quit [Ping timeout: 256 seconds]
atopuzov[m] has quit [Ping timeout: 256 seconds]
wilornel has quit [Ping timeout: 256 seconds]
aspiwack[m] has quit [Ping timeout: 256 seconds]
AntonLatukha[m] has quit [Ping timeout: 255 seconds]
leons has quit [Ping timeout: 255 seconds]
aramiscd[m] has quit [Ping timeout: 255 seconds]
clacke[m] has quit [Ping timeout: 255 seconds]
xodbox[m] has quit [Ping timeout: 255 seconds]
thra11[m] has quit [Ping timeout: 255 seconds]
PeterRomfeld[m] has quit [Ping timeout: 255 seconds]
m4rv33n[m] has quit [Ping timeout: 255 seconds]
mirlur[m] has quit [Ping timeout: 255 seconds]
imbigbrother[m] has quit [Ping timeout: 255 seconds]
YuFanLovezYou[m] has quit [Ping timeout: 255 seconds]
admin[m]4 has quit [Ping timeout: 256 seconds]
bhipple[m] has quit [Ping timeout: 256 seconds]
peterhoeg has quit [Ping timeout: 256 seconds]
BurNiinTRee[m] has quit [Ping timeout: 256 seconds]
baconicsynergy[m has quit [Ping timeout: 256 seconds]
crystalgamma[m] has quit [Ping timeout: 256 seconds]
matrixkrav has quit [Ping timeout: 256 seconds]
lolipducker[m] has quit [Ping timeout: 256 seconds]
benkolera1 has quit [Ping timeout: 246 seconds]
amiloradovsky[m] has quit [Ping timeout: 246 seconds]
randomenduser[m] has quit [Ping timeout: 256 seconds]
olejorgenb[m] has quit [Ping timeout: 256 seconds]
grahamc has quit [Ping timeout: 246 seconds]
zie[m] has quit [Ping timeout: 246 seconds]
unlmtd has quit [Ping timeout: 256 seconds]
herzmeister[m] has quit [Ping timeout: 256 seconds]
neecro[m] has quit [Ping timeout: 246 seconds]
M-ms has quit [Ping timeout: 246 seconds]
efx[m] has quit [Ping timeout: 246 seconds]
bobvanderlinden_ has quit [Ping timeout: 246 seconds]
kitten[m] has quit [Ping timeout: 246 seconds]
nmikhailov[m]1 has quit [Ping timeout: 246 seconds]
nmikhailov[m] has quit [Ping timeout: 246 seconds]
dywedir[m] has quit [Ping timeout: 246 seconds]
CoopDot has quit [Ping timeout: 246 seconds]
codyopel has quit [Ping timeout: 246 seconds]
swayf[m] has quit [Ping timeout: 276 seconds]
ipj[m] has quit [Ping timeout: 256 seconds]
Naughtmare[m] has quit [Ping timeout: 276 seconds]
Taneb has quit [Ping timeout: 265 seconds]
peterbat[m] has quit [Ping timeout: 240 seconds]
adisbladis[m] has quit [Ping timeout: 240 seconds]
johnnydread[m] has quit [Ping timeout: 240 seconds]
wervenyt[m] has quit [Ping timeout: 240 seconds]
regnat[m] has quit [Ping timeout: 240 seconds]
r3mfKm[m] has quit [Ping timeout: 240 seconds]
roygobeilantoine has quit [Ping timeout: 240 seconds]
etu[m] has quit [Ping timeout: 240 seconds]
YegorTimoshenko[ has quit [Ping timeout: 240 seconds]
DenisLehmann[m] has quit [Ping timeout: 240 seconds]
enick_350 has quit [Ping timeout: 240 seconds]
malteof[m] has quit [Ping timeout: 240 seconds]
magnap has quit [Ping timeout: 240 seconds]
thefloweringash[ has quit [Ping timeout: 240 seconds]
yochai[m] has quit [Ping timeout: 240 seconds]
chedi[m] has quit [Ping timeout: 240 seconds]
octalsrc[m] has quit [Ping timeout: 240 seconds]
rycee has quit [Ping timeout: 240 seconds]
hedning[m] has quit [Ping timeout: 240 seconds]
trikl[m] has quit [Ping timeout: 240 seconds]
ploud777[m] has quit [Ping timeout: 240 seconds]
TimePath has quit [Ping timeout: 240 seconds]
mbrgm has quit [Ping timeout: 264 seconds]
moosh_vectra[m] has quit [Ping timeout: 245 seconds]
abbafei[m] has quit [Ping timeout: 245 seconds]
retrry[m] has quit [Ping timeout: 245 seconds]
spacekitteh[m] has quit [Ping timeout: 245 seconds]
h30[m] has quit [Ping timeout: 245 seconds]
<boomshroom> iqubic: Ah! The readme says that actkbd -n -s will print out the keycodes for the keys you press. You can also probably just find a table that gives the keycodes for those keys.
happyente[m] has quit [Ping timeout: 260 seconds]
jbarthelmes[m] has quit [Ping timeout: 260 seconds]
peel[m] has quit [Ping timeout: 240 seconds]
scott has quit [Ping timeout: 240 seconds]
aniketd[m] has quit [Ping timeout: 240 seconds]
thunker[m] has quit [Ping timeout: 240 seconds]
equalunique[m] has quit [Ping timeout: 240 seconds]
saschaveres[m] has quit [Ping timeout: 240 seconds]
necronian has quit [Ping timeout: 255 seconds]
mankyKitty[m] has quit [Ping timeout: 255 seconds]
dpc has quit [Ping timeout: 255 seconds]
danielrf has quit [Ping timeout: 255 seconds]
demyan[m] has quit [Ping timeout: 255 seconds]
paperdigits[m] has quit [Ping timeout: 255 seconds]
tet[m] has quit [Ping timeout: 246 seconds]
M-bbigras has quit [Ping timeout: 246 seconds]
florianjacob has quit [Ping timeout: 246 seconds]
fearlessKim[m] has quit [Ping timeout: 246 seconds]
smbarte2[m] has quit [Ping timeout: 246 seconds]
Khorne[m] has quit [Ping timeout: 246 seconds]
das-g[m] has quit [Ping timeout: 246 seconds]
dkellner[m] has quit [Ping timeout: 246 seconds]
wzy8L-B2[m] has quit [Ping timeout: 246 seconds]
rihardsk[m] has quit [Ping timeout: 246 seconds]
jmorriss[m] has quit [Ping timeout: 246 seconds]
davidar has quit [Ping timeout: 246 seconds]
copumpkin has quit [Ping timeout: 256 seconds]
wmertens[m] has quit [Ping timeout: 256 seconds]
briansteffens[m] has quit [Ping timeout: 256 seconds]
sudoreboot[m] has quit [Ping timeout: 256 seconds]
M-manveru has quit [Ping timeout: 256 seconds]
Singularity[m] has quit [Ping timeout: 256 seconds]
johnhamelink[m] has quit [Ping timeout: 256 seconds]
revoltmedia[m] has quit [Ping timeout: 256 seconds]
Oo[m] has quit [Ping timeout: 256 seconds]
rnhmjoj[m] has quit [Ping timeout: 256 seconds]
EuAndreh[m] has quit [Ping timeout: 256 seconds]
FRidh[m] has quit [Ping timeout: 256 seconds]
GuillaumeBuisson has quit [Ping timeout: 256 seconds]
moredhel has quit [Ping timeout: 256 seconds]
serentty[m] has quit [Ping timeout: 256 seconds]
davidak[m] has quit [Ping timeout: 256 seconds]
sphalerit has quit [Ping timeout: 256 seconds]
Drakonis[m] has quit [Ping timeout: 256 seconds]
offlinehacker[m] has quit [Ping timeout: 256 seconds]
timclassic has quit [Ping timeout: 256 seconds]
Wysteriary[m] has quit [Ping timeout: 256 seconds]
edef[m] has quit [Ping timeout: 256 seconds]
templis[m] has quit [Ping timeout: 256 seconds]
jamshoot[m] has quit [Ping timeout: 256 seconds]
ngerstle[m] has quit [Ping timeout: 256 seconds]
EB[m] has quit [Ping timeout: 256 seconds]
Vincenzo[m] has quit [Ping timeout: 256 seconds]
Phil[m]2 has quit [Ping timeout: 256 seconds]
card[m] has quit [Ping timeout: 245 seconds]
Kallegro[m] has quit [Ping timeout: 245 seconds]
taohansen has quit [Ping timeout: 245 seconds]
Ralith has quit [Ping timeout: 245 seconds]
blahblah has quit [Ping timeout: 256 seconds]
jlle[m] has quit [Ping timeout: 256 seconds]
Hook[m]1 has quit [Ping timeout: 256 seconds]
M-fishy has quit [Ping timeout: 256 seconds]
patrl[m] has quit [Ping timeout: 256 seconds]
castordamon has quit [Ping timeout: 256 seconds]
midchildan[m] has quit [Ping timeout: 256 seconds]
steshaw[m] has quit [Ping timeout: 256 seconds]
sorbet has quit [Ping timeout: 256 seconds]
nwspk has quit [Ping timeout: 265 seconds]
WilliamHamilton has quit [Ping timeout: 240 seconds]
indefini has quit [Ping timeout: 240 seconds]
dash has quit [Ping timeout: 240 seconds]
Fedor[m] has quit [Ping timeout: 276 seconds]
telent[m] has quit [Ping timeout: 246 seconds]
gudea[m] has quit [Ping timeout: 246 seconds]
dmitry-zen[m] has quit [Ping timeout: 246 seconds]
ayyjayess[m] has quit [Ping timeout: 246 seconds]
lycium[m] has quit [Ping timeout: 246 seconds]
tfc[m] has quit [Ping timeout: 246 seconds]
NickHu has quit [Ping timeout: 276 seconds]
enick_598 has quit [Ping timeout: 276 seconds]
nixo[m] has quit [Ping timeout: 276 seconds]
icetan has quit [Ping timeout: 276 seconds]
jluttine[m] has quit [Ping timeout: 276 seconds]
aaronc[m] has quit [Ping timeout: 276 seconds]
zoya-kosova[m] has quit [Ping timeout: 276 seconds]
apurvapavaskar[m has quit [Ping timeout: 276 seconds]
wak-work has quit [Ping timeout: 276 seconds]
freeman42x has quit [Ping timeout: 276 seconds]
pstn has quit [Ping timeout: 276 seconds]
petersjt014[m] has quit [Ping timeout: 260 seconds]
puffnfresh has quit [Ping timeout: 260 seconds]
Barnabas[m] has quit [Ping timeout: 260 seconds]
Elorm[m] has quit [Ping timeout: 260 seconds]
chedi has quit [Ping timeout: 260 seconds]
telent_[m] has quit [Ping timeout: 255 seconds]
wizek[m] has quit [Ping timeout: 255 seconds]
dtz has quit [Ping timeout: 255 seconds]
dylanjust[m] has quit [Ping timeout: 256 seconds]
htafdwes[m] has quit [Ping timeout: 256 seconds]
Rick[29SMPittsbu has quit [Ping timeout: 256 seconds]
Dezgeg[m] has quit [Ping timeout: 256 seconds]
Adev[m] has quit [Ping timeout: 256 seconds]
tokudan[m] has quit [Ping timeout: 256 seconds]
nwspk has joined #nixos
jack[m] has quit [Ping timeout: 256 seconds]
mbrgm has joined #nixos
Taneb has joined #nixos
alp has quit [Ping timeout: 240 seconds]
<kini> Am I right in thinking that there's not much point to making a VM boot from UEFI instead of the traditional way?
<iqubic> Yes.
jrolfs has quit [Ping timeout: 256 seconds]
<iqubic> It matters more on actual hardware.
brodul has quit [Ping timeout: 240 seconds]
<kini> All right, good to know :) That's more or less what I figured, but I found pages out there describing how to do UEFI in a VM so I wondered what use case there could be
Fare has quit [Ping timeout: 264 seconds]
<boomshroom> kini: Are you specifically testing UEFI functionality?
<kini> maybe it's for testing UEFI stuff (?)
<gchristensen> clever: 'round?
<kini> boomshroom: nah, just setting up a NixOS workstation VM and following the installation instructions, which say to choose whether I want UEFI or BIOS-based booting
<boomshroom> kini: Then UEFI is just extra work and probably slower to boot.
<kini> OK, thanks :)
alp has joined #nixos
brodul has joined #nixos
<zybell> boomshroom:uefi is actually a few ns faster
jperras has joined #nixos
dan_b has quit [Ping timeout: 256 seconds]
telent has quit [Ping timeout: 256 seconds]
<boomshroom> zybell: Really? I remember wasting much time trying to get QEMU to boot UEFI.
thc202 has quit [Ping timeout: 264 seconds]
dottedmag has quit [Ping timeout: 256 seconds]
<zybell> yeah user time I was boot time
<boomshroom> zybell: Also? I said "probably".
flugsio has quit [Ping timeout: 264 seconds]
<zybell> and I actually
kmicklas has quit [Ping timeout: 264 seconds]
<zybell> ;-)
Maxdamantus has quit [Ping timeout: 255 seconds]
jrolfs has joined #nixos
Maxdamantus has joined #nixos
<zybell> Its because the cache isnt as loaded as in bios mode
<Lisanna> Is there a way to destroy a HashSink without hashing its contents?
<iqubic> boomshroom: I don't actualy have actkbd installed. That's rather odd becuase I'd assume that setting sound.mediaKeys.enable to true would pull that in.
<iqubic> Seeing as that's how the thing works.
daveo has joined #nixos
M-Dan has quit [Ping timeout: 256 seconds]
Bugworm[m] has quit [Ping timeout: 256 seconds]
<Lisanna> or if I just don't use the result will the C++ compiler be smart enough to optimize all that out?
<boomshroom> iqubic: It doesn't actually install it. It loads it into the store, but doesn't link it. Because it doesn't have to. to run it, you'd need nix-shell or nix run.
windy328ghoee[m] has quit [Ping timeout: 276 seconds]
alexoundos7[m] has quit [Ping timeout: 276 seconds]
bdimcheff has quit [Ping timeout: 276 seconds]
Obscurity[m] has quit [Ping timeout: 276 seconds]
Criena[m] has quit [Ping timeout: 276 seconds]
xnaveira[m] has quit [Ping timeout: 276 seconds]
ajmccluskey[m] has quit [Ping timeout: 276 seconds]
AlanPearce[m] has quit [Ping timeout: 276 seconds]
slabity[m] has quit [Ping timeout: 276 seconds]
AdamSlack[m] has quit [Ping timeout: 276 seconds]
lukeadams[m] has quit [Ping timeout: 276 seconds]
hendrik[m] has quit [Ping timeout: 276 seconds]
bugabinga[m] has quit [Ping timeout: 276 seconds]
joh[m] has quit [Ping timeout: 276 seconds]
johnazoidberg[m] has quit [Ping timeout: 276 seconds]
sargon[m] has quit [Ping timeout: 276 seconds]
johnazoidberg has quit [Ping timeout: 276 seconds]
rardiol[m] has quit [Ping timeout: 276 seconds]
iohidtbhfam[m] has quit [Ping timeout: 276 seconds]
mudri[m] has quit [Ping timeout: 276 seconds]
attero has quit [Ping timeout: 276 seconds]
y0no[m] has quit [Ping timeout: 276 seconds]
ArdaXi[m] has quit [Ping timeout: 276 seconds]
bendlas has quit [Ping timeout: 276 seconds]
fgaz[m] has quit [Ping timeout: 276 seconds]
dottedmag has joined #nixos
dottedmag has quit [Changing host]
dottedmag has joined #nixos
<iqubic> So what should I do? Add actkbd to environment.systemPackages?
<daveo> hello. My EFI boot partition got hosed and I can't even find my nixos partition in the boot menu of the BIOS. How do I recover my system? All guides I'm finding online are for other OSes and say to use rEFInd or rEFIt...
<boomshroom> iqubic: `nix run nixpkgs.actkbd -c actkbd -n -s` will run it without installing if you have Nix 2.0.
<iqubic> But I want to install it so that I can use it on future boots.
<iqubic> I want to have my media keys and other such things just work from the moment I boot into my system.
<boomshroom> daveo: You're best bet is to use the installer disk/URB and chroot in.
<zybell> the xserver and the console handle the keyboard totally different including the used progs
<iqubic> What does that mean?
<iqubic> zybell: does that help me?
<boomshroom> iqubic: The daemon will work without installing. If the flag is set in configuration.nix, it will run even if it's not in your environment.
logzet has quit [Ping timeout: 260 seconds]
<iqubic> If what flag is set?
<boomshroom> iqubic: I take it you're new to NixOS?
<zybell> what works without x must be redone in x
<iqubic> Yeah, fairly.
<iqubic> I've only been using it for 6-ish months
<boomshroom> iqubic: The flag that marks actkbd to run is services.actkbd.enable, but setting sound.mediaKeys.enable enables a few defaults. Only one is needed.
<Lisanna> Answer: finish doesn't actually destroy a HashSink, misleading name
jperras has quit [Quit: WeeChat 2.1]
<iqubic> Only one what is needed?
jperras has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
<boomshroom> iqubic: setting sound.mediaKeys.enable implicitly sets services.actkbd.enable for you.
<zybell> one flag
<daveo> boomshroom: I'm using the installer USB. I have luks encrypted volumes so I'm guessing I need all the stuff like `cryptsetup luksOpen /dev/sda2 enc-pv`
flugsio has joined #nixos
<iqubic> running actkbd -s -n in a tty produces odd results.
<boomshroom> daveo: The only issue that I can tell is that the motherboard can't see NixOS's bootloader. Chrooting in with the installer should let you tell nixos to boot to the latest generation and it should set the motherboards setting by doing so.
<daveo> boomshroom: sweet I'll try it. thanks
<boomshroom> iqubic: How so? Is it printing numbers when you press keys? If so it's working, otherwise it's not.
snajpa has quit [Ping timeout: 264 seconds]
<iqubic> It is, but some of the keys are translated directly into symbols like ^@
<iqubic> And running actkbd in a graphical environment is giving me different results.
<boomshroom> iqubic: OK, that I don't know about.
<iqubic> What I mean is that there are some keys that only show up when using a graphical terminal on X
<iqubic> For the keys that show up in both places, the numbers are the same.
<iqubic> But my brightness up and brightness down keys are not being seen by "actkbd -s -n"
<boomshroom> iqubic: The number that shows up for the brightness increase button is the number you use when configuring actkbd.
<iqubic> I know that.
<boomshroom> iqubic: In a TTY, X, or both?
<iqubic> But I'm getting no results from actkbd when hitting that particular button, in both places.
<zybell> it may be that they are catched by acpi
<boomshroom> In that case, you might have to set it up within EXWM.
<kini> ok, this is kind of dumb... I need to use an HTTP proxy on this network, so I've changed /etc/nixos/configuration.nix to set networking.proxy.default to the URI of the proxy, but when I try to do `nixos-rebuild switch` it fails because it can't contact cache.nixos.org
<kini> I tried exporting environment variables in my shell before running `nixos-rebuild` but that doesn't work, probably because it's talking to an already-running daemon -- what's the least hacky way to solve this?
silver_ has joined #nixos
<iqubic> That's a really stupid thing. I wish I could have this all handled from the same place.
<boomshroom> iqubic: Bug report?
snajpa has joined #nixos
<iqubic> Should I do that?
<zybell> you may be in luck
<zybell> if your keys are handled by acpi
<iqubic> I mean I can, but I want to make sure that actkbd works in the first place by getting my media keys.
<iqubic> zybell: If the keys are being handled by acpi, then what
silver has quit [Ping timeout: 264 seconds]
<zybell> then you can hadle then in one place
<zybell> *handle them
sigmundv__ has quit [Ping timeout: 255 seconds]
<daveo> boomshroom: used cryptsetup luksopen to open my volumes. I'm a bit unexperienced with chroot here so I need to know whether I need to mount anything first or do I just `chroot /dev/nvme0n1p2 /bin/bash`
<iqubic> How?
<iqubic> You need to mount root to /mnt
sehqlr has quit [Ping timeout: 264 seconds]
<boomshroom> daveo: Actually, mounting the partitions followed by nixos-enter would have been enough to chroot.
<iqubic> By root I mean the /dev/sda* that contains root.
kerrhau has joined #nixos
kerrhau has quit [Changing host]
kerrhau has joined #nixos
<zybell> every time you press a acpikey /etc/acpi/handler.sh is run
<iqubic> I see. How can I get that to update monitor brightness?
<daveo> ok
<daveo> boomshroom: I will do that instead
<zybell> you have to edit that file obviously. But read it before, maybe somebody has anticipated your need.
<gchristensen> samueldr: "+15,629 −329" X)
<iqubic> I thought you weren't supposed to edit /etc/* files when using nixos.
<iqubic> I thought that's what configuration.nix is for.
<samueldr> gchristensen: shh, this is bound to scare people :)
<zybell> that I mean with "anticipated your need"
joehh has quit [Ping timeout: 264 seconds]
<iqubic> zybell: I don't even have a /etc/acpi directory.
<iqubic> So I'm not sure what is going on.
<zybell> does acpid run (ps)
<iqubic> I'm not sure what you mean.
joehh has joined #nixos
<zybell> acpi is handled mostly by kernel, acpid hooks into that and is responsible for running handler.sh.
<iqubic> But I don't have that file.
<gchristensen> I don't think we run acpid
<zybell> if no acpid configured->no /etc/acpi
<iqubic> My issue has nothing to do with acpid.
<gchristensen> iqubic: I use i3, and bind the brightness keys to xbacklight -dec / xbacklight -inc
<zybell> if the hardware issues acpi events?what can one do?
pirateking has joined #nixos
<daveo> boomshroom: ok I've done `mount /dev/vg/root /mnt && mkdir -p /mnt/boot/efi && mount /dev/nvme0n1p1 /mnt/boot/efi`. Couldn't find nixos-enter ... 'nixos-enter: command not found'
<iqubic> gchristensen: you don't use actkbd for that?
<gchristensen> never heardr of actkbd
<boomshroom> daveo: You're booted into the installer medium right?
<iqubic> It's what sound.mediaKeys.enable uses.
<daveo> boomshroom: also I want to send you something for your help if you have a crypto currency address
<daveo> boomshroom: ytes
<gchristensen> never heard of sound.mediakeys either :P
joehh has quit [Ping timeout: 276 seconds]
<iqubic> Oh.
<zybell> actkbd is console xmodmap is x
<pirateking> is there anything else I'm supposed to do to get this guy merged? https://github.com/NixOS/nixpkgs/pull/39024
<iqubic> Yeah, I'm not even going to bother with that.
<gchristensen> oh, cool zybell
<daveo> boomshroom: I am booted into the nixos 17.03 install boot usb
joehh has joined #nixos
<boomshroom> daveo: I think nixos-enter came later. I'm checking the manual. It might just be a normal chroot for 17.03.
<boomshroom> daveo: Alternatively, since the installer is a nixos installation itself, you could update the in-memory instance of the installer and then you nixos-enter.
<daveo> yeah
<daveo> boomshroom: I'll try that
<daveo> boomshroom: referencing the manual for the commands
<iqubic> I'm just going to set-up these keys inside exwm.
<boomshroom> daveo: Thanks! I'm often just chill in the IRC to help along new users. I do have a bitcoin acount that doesn't get used very much.
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jperras has quit [Ping timeout: 256 seconds]
<daveo> boomshroom: that is great. I absolutely love nixos. It has amazed me in many ways. Made setting up a taskwarrior server much easier. Made many other things easy as well. I like nixos-rebuild build-vms as well. Pretty great stuff that the team is making.
xcmw has joined #nixos
mbrgm has quit [Ping timeout: 256 seconds]
sgillespie has joined #nixos
chisui has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
sehqlr has joined #nixos
mbrgm has joined #nixos
<daveo> boomshroom: did `nix-channel --add https://nixos.org/channels/nixos-18.03 nixos` and `nixos-rebuild switch --upgrade`. it should take a few more minutes
<kini> The NixOS manual says I should create user accounts with `useradd`, but the generated /etc/nixos/configuration.nix has a section for defining user accounts there. Which is the recommended method? Or is what I see in configuration.nix something else?
jperras has joined #nixos
<sgillespie> kini: You can do it either way
<gchristensen> kini: you can do either! me? I prefer putting them in configuration.nix
<boomshroom> kini: The manual lists both options. https://nixos.org/nixos/manual/index.html#sec-user-management
colonel_john_by has quit [Quit: leaving]
freeman42x]NixOS has joined #nixos
<kini> Ah, indeed. Sorry, I meant the "Installing NixOS" section of the manual specifically.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39028 → xterm: 331 -> 332 → https://git.io/vpJz6
<jgt> how do I use a different nixpkgs.haskellPackages in my default.nix? It looks like this: { pkgs ? import <nixpkgs> { nixpkgs.system = "x86_64-linux"; } , compiler ? "ghc802" }: pkgs.haskell.packages.${compiler}.callPackage ./riskbook.nix { }
<kini> Interesting -- so if both methods work, I guess that means removing a user declaration from configuration.nix isn't going to remove that user from the system, then? (since a user not described in configuration.nix might have been legitimately added by `useradd`)
<jgt> I made my different set of haskellPackages with stack2nix . > haskell-packages.nix
<boomshroom> kini: NixOS is usually pretty intelligent at undoing changes its made.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39029 → znapzend: 0.17.0 -> 0.18.0 → https://git.io/vpJzM
nuncanada2 has quit [Remote host closed the connection]
<kini> so it keeps track of which users were added via configuration.nix and which weren't, I guess
<sgillespie> I'm trying to install slack desktop, but I can't figure out how to get `nix-env` to find it
nuncanada2 has joined #nixos
<boomshroom> jgt: You'd add haskellPackages to the packageOverrides section in config.nix or you'd write an overlay that sets haskellPackages.
<sgillespie> but `sudo nix-env -qaP | grep slack` doesn't find it
Arcaelyx has joined #nixos
<htafdwes> hey guys, I got an idea for making nixos super secure, if each app had it's own username and group, and had a list of group corresponding to it's runtime dependencies, with the binaries having the setuid flag set.
<sgillespie> What's the way to do that?
<htafdwes> then normal users would need to be in the corresponding group to use an app.
<sgillespie> That is, if it is not referenced from the base default.nix
<jgt> boomshroom: I've somehow managed to make it work in nix-shell. This is my shell.nix: http://ix.io/17YT Does it look reasonable to you?
<boomshroom> sgillespie: `license = licenses.unfree;` You have to enable unfree packages in config.nix in order to install it.
jperras has quit [Ping timeout: 246 seconds]
<sgillespie> That makes sense, is there a way to set that on a package-by-package basis?
<sgillespie> Like, can I set only enable the one unfree package?
ericsagnes has joined #nixos
nuncanada2 has quit [Ping timeout: 256 seconds]
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39030 → you-get: 0.4.1040 -> 0.4.1060 → https://git.io/vpJgJ
<boomshroom> sgillespie: I know there's an environment variable to enable broken packages, but I don't know about unfree. It should be possible to reimport nixpkgs and set it from the command line, but it's not a simple expression to write in one line.
<sgillespie> nice, thanks
sigmundv has quit [Ping timeout: 264 seconds]
<boomshroom> brb, dinner
jperras has joined #nixos
<joepie91> boomshroom: sgillespie: NIXPKGS_ALLOW_UNFREE=1 is the env var - however, iirc there is now a way to add exceptions for specific packages
<joepie91> forgot what it was though
<joepie91> thanks, that's the one I was thinking of
<pirateking> sgillespie: sudo nix-env -qaP slack --arg config '{ allowUnfree = true; }'
Mic92 has quit [Ping timeout: 260 seconds]
goibhniu has quit [Ping timeout: 265 seconds]
Mic92 has joined #nixos
nwspk has quit [Ping timeout: 265 seconds]
cnu- has quit [Ping timeout: 260 seconds]
<joepie91> htafdwes: not sure what 'security' that would add?
<joepie91> like, what is the threat model here?
cnu- has joined #nixos
sigmundv has joined #nixos
<daveo> boomshroom: once again thanks
oltoAltn has joined #nixos
<sgillespie> Thanks for all this; I'll try that out soon, but first I want to figure out how to set allowUnfree correctly in my configuration.nix
olto has quit [Ping timeout: 268 seconds]
<daveo> boomshroom: I will have to go and resume this in the morning
nwspk has joined #nixos
<daveo> bbl tech is off for the night :)
<sgillespie> trying that...
<{^_^}> [nixpkgs] @teto opened pull request #39031 → kernel: fix boot.consoleLogLevel description → https://git.io/vpJgS
silver_ has quit [Read error: Connection reset by peer]
<gchristensen> :( ofborg hasn't been building in many hours :(
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39032 → xscreensaver: 5.38 -> 5.39 → https://git.io/vpJgH
<sgillespie> I must be missing a step
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39034 → yarn: 1.5.1 -> 1.6.0 → https://git.io/vpJgF
<sgillespie> In my configuration.nix, I have `nixpkgs.config.allowUnfree = true;`. I ran `nixos-rebuild switch` and `nix-env -qaP | grep slack` and it still didn't print out the package
<pirateking> sgillespie: hmm. lemme try some things. also look here https://nixos.org/nix-dev/2014-April/012970.html
<sgillespie> specifying `--arg config '{ allowUnfree = true; }' worked
<pirateking> sgillespie: mhm. did you want it in a config file though?
joehh has quit [Ping timeout: 256 seconds]
<sgillespie> yes
sigmundv has quit [Ping timeout: 246 seconds]
<sgillespie> that makes sense, I need it my local config.nix
<pirateking> sgillespie: do you have a system nix (/etc/nixos/configuration.nix) or a user nix (~/.nixpkgs/config.nix)?
<pirateking> sgillespie: ok
<sgillespie> I do have a system nix (`/etc/nixos/configuration.nix`)
<sgillespie> I tried copying `{ config.allowUnfree = true; }` into a new file at `~/.nixpkgs/config.nix`; but didn't seem to help
<pirateking> sgillespie: take out config.
<sgillespie> But it did let me add slack as to my environment.systemPackages, so that's definitely progress
<sgillespie> taking out `config` did the trick
<pirateking> whoa this is cool https://github.com/NixOS/nixos-homepage/pull/209. i wanted to make this myself but knew i wasn't going to have time. you can search for unfree if need be
<pirateking> learning how to get discord when i was new was hell
<sgillespie> neat
<sgillespie> That's awesome
daveo has quit [Ping timeout: 260 seconds]
<zybell> htafdwes:please note that a user can only be in 32(64?)groups at a time.
sehqlr has quit [Ping timeout: 256 seconds]
<boomshroom> I'm back
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39035 → linuxPackages.wireguard: 0.0.20180304 -> 0.0.20180413 → https://git.io/vpJak
<sgillespie> This also works: `nixpkgs.config.allowUnfreePredicate = (x: pkgs.lib.hasPrefix "slack-" x.name);`
<sgillespie> Thanks for that ryantm
freeman42x]NixOS has quit [Ping timeout: 256 seconds]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<pirateking> sgillespie: find more things with man 5 configuration.nix too
<foldingcookie> how do I get libnetlink.a (from iproute2) on nixOS?
<boomshroom> foldingcookie: If you're looking to build something that uses it, you'd need to to write a nix expression to build it with iproute as a buildInput. There's no actual way to install a library globally on NixOS.
mbrgm has quit [Ping timeout: 246 seconds]
vidbina has quit [Ping timeout: 240 seconds]
<teto1> for some reason, I've lost console messages on boot even though I have boot.consoleLogLevel=6 :s (using systemd-boot). any idea ?
mbrgm has joined #nixos
jrolfs has quit [Ping timeout: 256 seconds]
sgillespie has quit [Quit: Lost terminal]
<jgt> anyone know why my package overrides aren't working? http://ix.io/17Z5
<johnw> i think becasue your'e not using haskellPAckages
sigmundv has quit [Ping timeout: 256 seconds]
<johnw> at the end, try changing pkgs.haskell.packages.${compiler}.callPackage to haskellPackages.callPackage
pirateking has quit [Quit: Page closed]
<johnw> err, pkgs.haskellPackages.callPackage
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
v0latil3 has joined #nixos
<jgt> johnw: yeah, that makes sense. My override wasn't even being evaluated. Thanks :)
<jgt> hmm… it still isn't being evaluated
<jgt> my override syntax must be wrong
<johnw> is riskbook your local Haskell project?
<jgt> johnw: yes
<johnw> jgt: here's a template you might like, which I use in most of my Haskell developments: https://github.com/jwiegley/hnix/blob/master/default.nix
* gchristensen 's thinking about a nixops extension which, before copying closures to all the machines, first uploads all the closures to a singlg binary cache
<jgt> johnw: this has a good example of overriding an individual package, but I'd like to override all of haskellPackages with my own that I created with stack2nix
<boomshroom> It can get anoying when my computer starts slowing to the point where I can't do anything but wait. -_-
<johnw> jgt: just use import
<johnw> at line 14
<v0latil3> Brand new Nix user here, how can I find out which options I can use for a derivation? It looks like home-assistant is in nixpkgs but what options does it have and how would I even install that? I hope I'm even using the right terminology here haha.
<johnw> v0latil3: the best tool for exploring that I know of is to use tab completion in nix repl
<{^_^}> [nixpkgs] @mt-caret closed pull request #36107 → Fix permanent redirct issues detected by Repology → https://git.io/vAP9J
<johnw> run "nix repl", then :l <nixpkgs>
<johnw> and then type pkgs.foo.<TAB>
<johnw> to see what's under there
<jgt> johnw: is it valid to say `overrides = import ./haskell-packages.nix {};` on line 14 of your example?
<v0latil3> johnw, Does nix-repl have to be run by root?
<johnw> jgt: you probably don't want to call the function like that
<johnw> jgt: I think it would be like: overrides = self: super: import ./haskell-packages.nix { pkgs = super; }
<boomshroom> v0latil3: NOPE! nixos-rebuild is pretty much the only thing that needs root
<{^_^}> [nixpkgs] @peterhoeg opened pull request #39037 → vlc: 2.2.6 -> 3.0.1 WIP → https://git.io/vpJrH
<jgt> johnw: Ok, thanks. I'll try that. FWIW, my shell.nix works: http://ix.io/17YT
<jgt> but I'm having trouble translating that to my default.nix
<johnw> why not just use that shell.nix as your default.nix?
<johnw> i.e., mv shell.nix default.nix
<boomshroom> v0latil3: Personally, I just check the source file. In this case, home-assistant has extraComponents, extraPackages, and skipPip as arguments.
<johnw> it should work for both nix-shell and nix-build, the way you have it
<v0latil3> johnw, It looks like I'm on Nix 2.0 so I can just use "nix repl"
<{^_^}> [nixpkgs] @peterhoeg closed pull request #39020 → cantata: build with vlc_qt5 → https://git.io/vpJcf
<boomshroom> v0latil3: The set them, you just pass a set containing them to nixpkgs.home-assistant.override
freeman42x]NixOS has joined #nixos
<jgt> johnw: ok, I'll try that too
<v0latil3> boomshroom, you mean like nixpkgs.home-assisant.override.extraComponents = "whatever goes here" in my configuration.nix?
<boomshroom> v0latil3: more like `nixpkgs.home-assistant.override { extraComponents = ["whatever goes here"]; }` Override is a function that takes a set and extraComponents happens to be a list in this case. Since home-assistant is probably something you'd want available system wide, you'd add the result of the call to systemPackages, or something else if you're being more fancy.
<jgt> johnw: I'm not sure if I should be using the name nixpkgs or pkgs. I have a services.nix for nixops that depends on default.nix. It looks like http://ix.io/17Zd
<jgt> johnw: if I s/pkgs/nixpkgs/g in services.nix, it fails with missing attributes
<johnw> btw, I think that import ./default.nix { inherit pkgs; } can generally be replaced by callPackage ./default.nix {}
<johnw> er, pkgs.callPackage, of course
<johnw> I know nothing at all about nixops
<jgt> johnw: nixops should still work if I keep this top line in default.nix: { pkgs ? import <nixpkgs> { nixpkgs.system = "x86_64-linux"; }
<jgt> johnw: but I need to change the inherit in the default.nix; in my working shell.nix it's: inherit (nixpkgs) pkgs;
<jgt> but I can't do `inherit (pkgs) pkgs;`, because it fails with ininite recursion
<jgt> I really don't get how inherit works, even after reading the docs
<{^_^}> [nixpkgs] @grahamc merged pull request #39024 → hyper: 1.4.8 -> 2.0.0 → https://git.io/vpJ81
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/vpJoX
<{^_^}> → f72a80ae by @KingOfThePirates: hyper: 1.4.8 -> 2.0.0
<johnw> well, inherit (pkgs) pkgs is the same as pkgs = pkgs, but in a rec set, you can see the problem
<{^_^}> → 78b2345b by @grahamc: Merge pull request #39024 from KingOfThePirates/patch-1
<jgt> yes
Fare has joined #nixos
<johnw> sorry, pkgs = pkgs.pkgs is what I meant
<v0latil3> ahh nix is weird haha. you do "concat = x: y: x + y;" instead of doing concat x y = x + y or something.
<boomshroom> v0latil3: I think it's mostly to simplify the grammer. `\x -> e` would be too long without an alternative, so Nix has just one way of defining functions.
<v0latil3> boomshroom, yeah thats what I assumed. I was just trying to read through a .nix file and got confused at first. pretty big noob but i think I like what's goign on haha
<{^_^}> [nixpkgs] @strager opened pull request #39038 → clang: fix install on Darwin → https://git.io/vpJPy
<v0latil3> boomshroom, is "environment.systemPackages = with pkgs; [
<v0latil3> vim
<v0latil3> ];
<v0latil3> " short for "environment.systemPackages = [
<v0latil3> pkgs.vim
<v0latil3> ];
<v0latil3> " or something?
<v0latil3> oh god im sorry everyone, can't see newlines in this irc
<boomshroom> v0latil3: That's really the best you can do in terms of newlines without posting it to a third party website and linking it. At least Nix doesn't care about whitespace so it could all be one line if you cared.
<v0latil3> ok question answered thats what nix repl is for. boomshroom, I mean sorry for spamming the irc channel not for bad formatting
<boomshroom> v0latil3: Otherwise: yes, that is how it would simplify assuming you didn't have vim declared in the local scope elsewhere.
<boomshroom> v0latil3: It was a little freaky seeing it happen, but there's not much that could have been done to avoid it.
jperras has quit [Ping timeout: 256 seconds]
daveo has joined #nixos
<daveo> boomshroom: I got this error during the upgrade -- `Failed to start local-fs.target: Unit nix-.ro\x2dstore.mount is masked.`
<boomshroom> daveo: I guess it didn't like the fact that the installer is read only. Maybe just a regular chroot with the partitions mounted?
sehqlr has joined #nixos
<v0latil3> boomshroom, It doesn't seem to do anything by just adding pkgs.home-assistant Do I need some kind of services.<something> like I have for openssh?
<boomshroom> v0latil3: It doesn't look like nixos has a service for home-assistant. What that means, is that you'd have to make your own! How comfortable are you with writing nix expressions and systemd services?
schoppenhauer has quit [Ping timeout: 256 seconds]
<v0latil3> Systemd services are pretty easy I guess
schoppenhauer has joined #nixos
<v0latil3> and I was awake for part of a class that included a short bit on haskell
<boomshroom> v0latil3: You'd have to take a look at other services to see how they setup their services.
<v0latil3> Can a service "require" a package? like why does the default configuration.nix have "services.openssh...." but not have ssh in the system packages?
Lisanna has quit [Quit: Lisanna]
<boomshroom> v0latil3: Usually, you'd specify "${pkgs.openssh}/bin/sshd" to hardcode the absolute path into the service script. Nix picks up on that and registers a runtime dependency, so it won't get garbage collected and any attempt to copy the service will copy the binary with it.
<v0latil3> ryantm, cool thanks for the reference.
<ryantm> v0latil3: If you don't want it available on the path, you can just refer to it like boomshroom said.
Fare has quit [Ping timeout: 256 seconds]
<daveo> ok
<daveo> boomshroom: I'll try it
odi has joined #nixos
<daveo> boomshroom: chroot /mnt /bin/bash. guess that worked
<boomshroom> daveo: It shouldn't have since /bin/bash shouldn't exist.
<daveo> boomshroom: I had in linked
<boomshroom> daveo: I suppose that's fair.
<daveo> boomshroom: bash -> /run/current-system/sw/bin/bash
<daveo> thought I had to do that still figuring out how to handle the #!/bin/bash
<daveo> boomshroom: do I have to do anything else before the reboot?
<daveo> boomshroom: how do I know I've successfully done whatever it is I'm doing to fix the efi boot?
sehqlr has quit [Ping timeout: 246 seconds]
<boomshroom> daveo: You should be able to run /run/current-system/bin/switch-to-configuration boot
rosa has quit [Quit: rosa]
<daveo> boomshroom: do I have to locate a new script here? `[root@nixos:/]# /run/current-system/bin/switch-to-configuration boot updating GRUB 2 menu... read_file '/proc/self/mountinfo' - sysopen: No such file or directory at /nix/store/w29kkf6idy83242hnqhyz6qd42ivqsz3-install-grub.pl line 111.`
odi_ has joined #nixos
<daveo> boomshroom: locating the file found many matches with different hashes
<daveo> boomshroom: misunderstood the error the proc system is not set up
<boomshroom> daveo: I was worried about that. You might need to mount some of the system partitions first.
<daveo> boomshroom: ok I'll do that
<boomshroom> I'm pretty sure nixos-enter would handle that, but we had trouble getting the installer to update. (Downloading a more recent installer might actually have been easier)
pie_ has joined #nixos
iyzsong has quit [Ping timeout: 256 seconds]
<daveo> boomshroom: easy peasy after some false starts `export LFS=/mnt` `mount -v --bind /dev $LFS/dev` `mount -vt proc proc $LFS/proc`
<daveo> boomshroom: think I'm done here. looks like the menu is updated. sure you don't want some bitcoin to buy a beer? You deserve it!
<boomshroom> daveo: Fun fact: I initially installed NixOS because it was doing the same thing as I was trying to do with LFS.
<boomshroom> daveo: Should I just post my address here?
<boomshroom> Glad to see you got it to work!
odi has quit [Remote host closed the connection]
odi has joined #nixos
<boomshroom> daveo: bitcoin:19R3HmbNuM7S7daQvfuX8knA7rPm1q14ia
daveo has quit [Ping timeout: 260 seconds]
Lisanna has joined #nixos
odi__ has joined #nixos
odi_ has quit [Read error: Connection reset by peer]
mbrgm has quit [Ping timeout: 240 seconds]
odi__ has quit [Remote host closed the connection]
odi__ has joined #nixos
mbrgm has joined #nixos
kerrhau has quit [Ping timeout: 256 seconds]
dmj` has quit [Ping timeout: 256 seconds]
tkral has quit [Ping timeout: 256 seconds]
rosa has joined #nixos
<jgt> how do I correctly set arch in an import? This doesn't work: import ./haskell-packages.nix { nixpkgs.system = "x86_64-linux"; };
tkral has joined #nixos
dottedmag has quit [Ping timeout: 261 seconds]
pcarrier has quit [Ping timeout: 261 seconds]
etherdaemon has joined #nixos
ryantrinkle has quit [Ping timeout: 268 seconds]
<boomshroom> jgt: import <nixpkgs> { crossSystem = { config = "x86_64-linux" } }
aarvar has quit [Ping timeout: 260 seconds]
<jgt> boomshroom: thanks!
daveo has joined #nixos
<daveo> boomshroom: I must have missed something
<etherdaemon> Hi all
<Lisanna> etherdaemon hi!
<daveo> boomshroom: it did not seem to work
<boomshroom> jgt: No problem! Anything in https://github.com/NixOS/nixpkgs/tree/master/lib/systems concerns what goes into the crossSystem argument. You can also spoof localSystem to force building on a different machine, but I wouldn't recomend it.
<etherdaemon> I'm wondering if anyone has had experience with the Kubernetes service setup? I'm using nixops deploy with services.kubernetes where roles is "master" and that does setup Kubernetes cluster on the deployed to node. But I can't seem to change the apiserver address to listen on any port or a specific IP other than localhost
<boomshroom> daveo: Does it show up at all if you check your motherboard's boot menu?
<jgt> boomshroom: hmm… didn't seem to work :-/ anonymous function at /Users/jgt/projects/riskbook/haskell-packages.nix:5:1 called with unexpected argument ‘crossSystem’
<etherdaemon> I was able to change the apiserver port - but not the listener address for some reason
<jgt> do I maybe have an outdated Nix?
kerrhau has joined #nixos
<boomshroom> jgt: That's because crossPackages is an argument to all of nixpkgs. You then use the new cross nixpkgs's callPackage on your haskell file.
kerrhau has quit [Changing host]
kerrhau has joined #nixos
<jgt> boomshroom: to clarify, haskell-packages.nix is the output of running stack2nix
<jgt> boomshroom: this is what I have in default.nix: http://ix.io/17Zx
mjacob_ has joined #nixos
<jgt> boomshroom: I need it to specify that it's for linux arch, so that my NIX_REMOTE_SYSTEMS machine will build it
obadz- has joined #nixos
sphalerite_ has joined #nixos
<boomshroom> jgt: I was confused when first using stack2nix. In that case, it would be something like let pkgs = import <nixpkgs> {crossSystem = ...;}; in (import /path/haskell-packages.nix {pkg = pkgs;}).haskellPackage
<jgt> boomshroom: there are likely other things in that file that I'm getting wrong, which causes more confusion
<daveo> boomshroom: it did not
mteufel has joined #nixos
rosa has quit [Quit: rosa]
<boomshroom> daveo: Are you back in the installer? We might need to manually set the EFI settings.
rosa has joined #nixos
<daveo> boomshroom: I am. I think I will plan to continue tomorrow
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39039 → pqiv: 2.10.2 -> 2.10.3 → https://git.io/vpJSK
obadz has quit [Ping timeout: 266 seconds]
mjacob has quit [Ping timeout: 266 seconds]
mt has quit [Ping timeout: 266 seconds]
sphalerite has quit [Ping timeout: 266 seconds]
obadz- is now known as obadz
justanotheruser has quit [Ping timeout: 246 seconds]
justanotheruser has joined #nixos
<daveo> boomshroom: I wonder if it would have been possible to nixos-enter after mounting /proc /dev etc as well
<daveo> boomshroom: and in the chrooted shell
<daveo> boomshroom: maybe that is pointless
<boomshroom> : Idaveo'm getting the impression that switch-to-generation isn't updating the EFI settings. To you have a /sys/firmware/efi/efivars?
<boomshroom> *Do
<boomshroom> My computer was lagging.
<jgt> boomshroom: this is progress: http://ix.io/17Zz but now it fails with error: Package ‘acl-2.2.52’ in /nix/store/30g7yca1mmqm9x7w5psrljwdbb4mpvd7-nixpkgs-18.03pre121255.45a85eaceb/nixpkgs/pkgs/development/libraries/acl/default.nix:29 is not supported on ‘x86_64-darwin’, refusing to evaluate.
<jgt> boomshroom: which is strange, because I thought it would know to build on Linux
<daveo> boomshroom: in any case I'll purse manually setting the EFI settings or anything else tomorrow. thanks again! I definitely learned some stuff. Definitely interested in more info on the fun fact. Missed what you were trying to do with LFS that was already done by nixos exactly. TTYL!
odi has quit [Ping timeout: 240 seconds]
<daveo> boomshroom: just got the message about switch to generation I'll check /sys/firmware/efi/efivars tomorrow
Lisanna has quit [Quit: Lisanna]
boomshroom_ has joined #nixos
<jgt> boomshroom_: I may have fixed it; need to wait for it to download everything and compile: http://ix.io/17ZE
<boomshroom_> jgt: you have to take the attribute that corresponds to the specific Haskell package. Otherwise it will try to build every Haskell package in the file
<jgt> boomshroom_: am I not doing that?
<boomshroom_> jgt: I typed that before setting your latest update
<jgt> boomshroom_: (not being sarcastic, I'm just fumbling quite a lot so I'm not exactly sure what I'm doing)
<jgt> boomshroom_: ah ok :)
<boomshroom_> My computer is being stupid, so now I'm on my phone
<jgt> boomshroom_: well the output so far says it's building on nixos-docker, which is my remote build machine (developing on MacOS, deploying on Linux)
<jgt> boomshroom_: so this is looking good so far
odi__ has quit [Remote host closed the connection]
<jgt> boomshroom_: thanks so much for your help!
<boomshroom_> jgt: No problem! Helping people is one of the reasons a hang out in this channel.
<jgt> <3
rosa has quit [Quit: rosa]
<etherdaemon> hey all, have I pinged into the right channel for help with a nixpkg service? kubernetes in particular?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39040 → pstoedit: 3.70 -> 3.71 → https://git.io/vpJ9Z
<boomshroom_> etherdaemon: sorry, I don't know much about kubernetes.
<etherdaemon> no worries - thanks
[0__0] has quit [Remote host closed the connection]
blankhart has quit [Ping timeout: 240 seconds]
blonkhart has quit [Quit: WeeChat 1.9.1]
daveo has quit [Ping timeout: 260 seconds]
kerrhau has quit [Ping timeout: 246 seconds]
Rusty1_ has quit [Quit: Konversation terminated!]
ericsagnes has quit [Ping timeout: 240 seconds]
etherdaemon has quit [Quit: Page closed]
boomshroom_ has quit [Quit: Page closed]
mahalel_ has quit [Ping timeout: 264 seconds]
kerrhau has joined #nixos
kerrhau has quit [Changing host]
kerrhau has joined #nixos
simukis has joined #nixos
sehqlr has joined #nixos
rosa has joined #nixos
aniketd[m] has joined #nixos
patrl[m] has joined #nixos
neecro[m] has joined #nixos
NickHu has joined #nixos
musicmatze[m] has joined #nixos
jmorriss[m] has joined #nixos
AlanPearce[m] has joined #nixos
grahamc has joined #nixos
ayyjayess[m] has joined #nixos
bkchr[m] has joined #nixos
baconicsynergy[m has joined #nixos
kitten[m] has joined #nixos
timokau[m] has joined #nixos
wilornel has joined #nixos
ma27 has joined #nixos
alex`` has joined #nixos
davidar has joined #nixos
pie_ has quit [Write error: Connection reset by peer]
Guanin has quit [Ping timeout: 240 seconds]
dottedmag has joined #nixos
dottedmag is now known as Guest67506
jbarthelmes[m] has joined #nixos
GuillaumeBuisson has joined #nixos
telent[m] has joined #nixos
Oo[m] has joined #nixos
techtangents[m] has joined #nixos
leons has joined #nixos
alexoundos7[m] has joined #nixos
bugabinga[m] has joined #nixos
amiloradovsky[m] has joined #nixos
admin[m]4 has joined #nixos
Elorm[m] has joined #nixos
yochai[m] has joined #nixos
etu[m] has joined #nixos
jamshoot[m] has joined #nixos
nmikhailov[m] has joined #nixos
Minijackson[m] has joined #nixos
spawnthink[m] has joined #nixos
robstr has joined #nixos
dywedir[m] has joined #nixos
attero has joined #nixos
[0__0] has joined #nixos
cornu[m] has joined #nixos
edef[m] has joined #nixos
spacekitteh[m] has joined #nixos
Rick[29SMPittsbu has joined #nixos
LiuWeiHua[m] has joined #nixos
Guanin has joined #nixos
mteufel is now known as mt
rosa has quit [Quit: rosa]
endformationage has quit [Quit: WeeChat 1.9.1]
reinzelmann has joined #nixos
rauno has joined #nixos
hamishmack has quit [Quit: hamishmack]
rosa has joined #nixos
tfc[m] has joined #nixos
bobvanderlinden_ has joined #nixos
lukeadams[m] has joined #nixos
das-g[m] has joined #nixos
octalsrc[m] has joined #nixos
kainospur[m] has joined #nixos
randomenduser[m] has joined #nixos
dpc has joined #nixos
ajmccluskey[m] has joined #nixos
srini[m] has joined #nixos
primeos[m] has joined #nixos
codyopel has joined #nixos
r3mfKm[m] has joined #nixos
chedi has joined #nixos
rauno has quit [Remote host closed the connection]
rauno has joined #nixos
isaac_ has joined #nixos
rauno has quit [Remote host closed the connection]
EB[m] has joined #nixos
rauno has joined #nixos
rauno has quit [Remote host closed the connection]
simukis has quit [Quit: simukis]
peel[m] has joined #nixos
rauno has joined #nixos
timclassic has joined #nixos
Wysteriary[m] has joined #nixos
dmitry-zen[m] has joined #nixos
peterhoeg has joined #nixos
johnnydread[m] has joined #nixos
M-Dan has joined #nixos
m4rv33n[m] has joined #nixos
gudea[m] has joined #nixos
Hook[m]1 has joined #nixos
dkellner[m] has joined #nixos
aramiscd[m] has joined #nixos
tokudan[m] has joined #nixos
petersjt014[m] has joined #nixos
castordamon has joined #nixos
y0no[m] has joined #nixos
dylanjust[m] has joined #nixos
templis[m] has joined #nixos
M-bbigras has joined #nixos
lycium[m] has joined #nixos
nh2[m] has joined #nixos
chatnowvvv[m] has joined #nixos
M-ms has joined #nixos
mudri[m] has joined #nixos
matrixkrav has joined #nixos
trikl[m] has joined #nixos
pqvj has joined #nixos
demyan[m] has joined #nixos
DenisLehmann[m] has joined #nixos
efx[m] has joined #nixos
Dezgeg[m] has joined #nixos
swayf[m] has joined #nixos
rauno has quit [Remote host closed the connection]
rnhmjoj[m] has joined #nixos
gh0st[m] has joined #nixos
Obscurity[m] has joined #nixos
felipeac[m] has joined #nixos
Deleh[m] has joined #nixos
johnazoidberg[m] has joined #nixos
chedi[m] has joined #nixos
fgaz[m] has joined #nixos
wmertens[m] has joined #nixos
<pqvj> Is there a good way to get nix to preserve relative paths of files declared in `srcs`? e.g. `src = [ ./foo/bar ./baz/qux ]` would end up with `./foo/bar` and `./baz/qux` after unpack instead of `./bar` and `./qux`
smrtak[m] has joined #nixos
<boomshroom> pqvj: I think you'd have to write a custom unpackPhase to set it up like that.
davidak[m] has joined #nixos
Bugworm[m] has joined #nixos
jack[m] has joined #nixos
Vincenzo[m] has joined #nixos
<pqvj> It seems like the info is already "lost" even before the unpack phase
nelag[m] has joined #nixos
windy328ghoee[m] has joined #nixos
M-fishy has joined #nixos
<pqvj> I'm actually already adding a custom `unpackCmdHook` and the files it sees are already flattened into the nix store
offlinehacker[m] has joined #nixos
odi has joined #nixos
bachp has joined #nixos
<boomshroom> pqvj: As in, you'd have to manually create the foo directory and move qux and bar into it. Is there a reason why foo itself can't be the src?
Fedor[m] has joined #nixos
AntonLatukha[m] has joined #nixos
roygobeilantoine has joined #nixos
Adev[m] has joined #nixos
telent_[m] has joined #nixos
h30[m] has joined #nixos
bhipple[m] has joined #nixos
pierrebeaucamp[m has joined #nixos
midchildan[m] has joined #nixos
regnat[m] has joined #nixos
Elephant454[m] has joined #nixos
revoltmedia[m] has joined #nixos
hedning[m] has joined #nixos
mirlur[m] has joined #nixos
xodbox[m] has joined #nixos
olejorgenb[m] has joined #nixos
retrry[m] has joined #nixos
<jgt> when I try deploying with nixops now, it wants to upload a ~600 MB closure o.O
<pqvj> It's not that it strictly can't be but it's a bit dirty (i.e has files that aren't essential for the build)
ArdaXi[m] has joined #nixos
serentty[m] has joined #nixos
<pqvj> And it's created problems in the past
reactormonk[m] has joined #nixos
<jgt> and it wants to build nixos-system-riskbook-18.03pre121255.45a85eaceb.drv
<jgt> that doesn't sound right
<pqvj> So it seems useful to purify/clean things so that I'm only declaring a dependency on the files I actually need
<jgt> is it trying to upload a Linux distro?!
rosa has quit [Quit: rosa]
hendrik[m] has joined #nixos
happyente[m] has joined #nixos
sorbet has joined #nixos
AdamSlack[m] has joined #nixos
M-dpetranek has joined #nixos
M-manveru has joined #nixos
Kallegro[m] has joined #nixos
rosa has joined #nixos
Barnabas[m] has joined #nixos
aspiwack[m] has joined #nixos
paperdigits[m] has joined #nixos
CoopDot has joined #nixos
<vaibhavsagar> jgt: just go with it
octowan[m] has joined #nixos
clacke[m] has joined #nixos
imbigbrother[m] has joined #nixos
thra11[m] has joined #nixos
<boomshroom> pqvj: in that case, I'd probably clean the directory before invoking Nix.
<vaibhavsagar> the last time I used NixOps, it insisted on uploading 16.09 to the host and then using that to bootstrap
card[m] has joined #nixos
johnhamelink[m] has joined #nixos
slabity[m] has joined #nixos
PeterRomfeld[m] has joined #nixos
moosh_vectra[m] has joined #nixos
<jgt> vaibhavsagar: it's a big jump from what it was uploading before though, which was only 30mb or so
saschaveres[m] has joined #nixos
fearlessKim[m] has joined #nixos
<vaibhavsagar> ah, weird
<vaibhavsagar> in that case, disregard
wzy8L-B2[m] has joined #nixos
atopuzov[m] has joined #nixos
ison[m] has joined #nixos
jlle[m] has joined #nixos
ipj[m] has joined #nixos
TimePath has joined #nixos
sphalerit has joined #nixos
crystalgamma[m] has joined #nixos
apurvapavaskar[m has joined #nixos
jluttine[m] has joined #nixos
adisbladis[m] has joined #nixos
wervenyt[m] has joined #nixos
YegorTimoshenko[ has joined #nixos
dash has joined #nixos
danielrf has joined #nixos
johnazoidberg has joined #nixos
nmikhailov[m]1 has joined #nixos
DIzFer[m] has joined #nixos
<jgt> vaibhavsagar: I'll let it run, but I'm expecting my server to fall over
bendlas has joined #nixos
benkolera1 has joined #nixos
<pqvj> boomshroom: Yeah... I might resort to that. But a clean solution along the lines I was hoping for would be first best, I think. Because cleaning those files is a nuisance for other tasks
lolipducker[m] has joined #nixos
<vaibhavsagar> jgt: is riskbook something you're building?
<pqvj> To be a little more concrete: One of the things I'd like to clean is `node_modules`
thunker[m] has joined #nixos
<jgt> vaibhavsagar: yes
smbarte2[m] has joined #nixos
ngerstle[m] has joined #nixos
aaronc[m] has joined #nixos
<pqvj> Because I don't want to use the local copy in the directory during a proper nix build
<jgt> vaibhavsagar: does this default.nix look reasonable to you? http://ix.io/17ZR
sargon[m] has joined #nixos
Naughtmare[m] has joined #nixos
malteof[m] has joined #nixos
moredhel has joined #nixos
<pqvj> But it is useful to have those around for incremental builds during development
<vaibhavsagar> jgt: is this because you're developing on a Mac?
<boomshroom> pqvj: Try setting up a git repository to handle the cleaning for you. Anything you don't want in the resulting directory doesn't get committed. You can even aim fetchGit at the file itself.
chominist[m] has joined #nixos
leoleoleotest[m] has joined #nixos
zoya-kosova[m] has joined #nixos
Khorne[m] has joined #nixos
ConorCurry[m] has joined #nixos
lazygun[m] has joined #nixos
rihardsk[m] has joined #nixos
dtz has joined #nixos
rauno has joined #nixos
rauno has quit [Read error: Connection reset by peer]
thefloweringash[ has joined #nixos
necronian has joined #nixos
shabius_ has joined #nixos
<jgt> vaibhavsagar: that's why I'm specifying the system, yes
asp_ has joined #nixos
EuAndreh[m] has joined #nixos
joh[m] has joined #nixos
rycee has joined #nixos
<pqvj> Oooh, I like that idea
<jgt> vaibhavsagar: so it compiles locally in a docker vm
rauno has joined #nixos
<vaibhavsagar> looks alright otherwise
<pqvj> Thanks
pstn has joined #nixos
ploud777[m] has joined #nixos
WilliamHamilton has joined #nixos
<boomshroom> pqvj: This way it will be easier if you decide to make it public on Github or another site.
puffnfresh has joined #nixos
enick_598 has joined #nixos
<jgt> vaibhavsagar: the haskell-packages.nix file is the output of stack2nix
jgl[m] has joined #nixos
Singularity[m] has joined #nixos
zie[m] has joined #nixos
copumpkin has joined #nixos
florianjacob has joined #nixos
<vaibhavsagar> I think it's a bit odd that you're using stack2nix instead of cabal2nix but w/e
bennofs[m] has joined #nixos
equalunique[m] has joined #nixos
scott has joined #nixos
<vaibhavsagar> maybe that's why your dependency footprint is so erratic?
nixo[m] has joined #nixos
magnap has joined #nixos
<jgt> vaibhavsagar: it's because I wanted to use some forks of packages, and it ended up being too complicated to make this work otherwise
sehqlr has quit [Ping timeout: 256 seconds]
turok9[m] has joined #nixos
<jgt> vaibhavsagar: yeah, maybe
<boomshroom> vaibhavsagar: I mean, if your using stack, then stack2nix seems apropiate. And stack already integrates with Nix.
icetan has joined #nixos
itorres has joined #nixos
rosa has quit [Quit: rosa]
purewater[m] has joined #nixos
benasse has joined #nixos
ericsagnes has joined #nixos
<vaibhavsagar> boomshroom: stack's 'integration' with Nix is rudimentary at best
superusercode has joined #nixos
rardiol[m] has joined #nixos
AllanDaemon has joined #nixos
blahblah has joined #nixos
<vaibhavsagar> basically it does the Stack thing but in a nix-shell
herzmeister[m] has joined #nixos
xnaveira[m] has joined #nixos
taohansen has joined #nixos
YuFanLovezYou[m] has joined #nixos
<vaibhavsagar> so not that much of an improvement over just using Stack normally
shabius has quit [Ping timeout: 256 seconds]
abbafei[m] has joined #nixos
<jgt> vaibhavsagar: I think if this huge upload is a one-time thing, then it's ok. If it happens on subsequent runs, then something is definitely wrong
mith[m] has joined #nixos
freeman42x has joined #nixos
peterbat[m] has joined #nixos
steshaw[m] has joined #nixos
iohidtbhfam[m] has joined #nixos
hl has joined #nixos
mankyKitty[m] has joined #nixos
<vaibhavsagar> fair enough
BurNiinTRee[m] has joined #nixos
FRidh[m] has joined #nixos
wak-work has joined #nixos
ma27 has quit [Ping timeout: 260 seconds]
Drakonis[m] has joined #nixos
Phil[m]2 has joined #nixos
briansteffens[m] has joined #nixos
indefini has joined #nixos
bdimcheff has joined #nixos
<boomshroom> jgt: The packages will update whenever you run stack2nix. If you don't, it should use the cached versions.
Criena[m] has joined #nixos
htafdwes[m] has joined #nixos
unlmtd has joined #nixos
wizek[m] has joined #nixos
sudoreboot[m] has joined #nixos
tet[m] has joined #nixos
Orbstheorem[m] has joined #nixos
rosa has joined #nixos
Ralith has joined #nixos
enick_350 has joined #nixos
<jgt> boomshroom: but that'll be cached versions locally, right?
<boomshroom> jgt: If it had to copy a dependency and it didn't change, nix won't bother copying it again.
<jgt> boomshroom: Right
<jgt> boomshroom: would be good if nixops had some verbose output so I could ensure it's not copying over something it definitely doesn't need
<jgt> I had misconfigured my default.nix earlier (when you were helping me), and it was trying to copy a bunch of MacOS SDK stuff to a Linux machine
qewzee has quit [Quit: ZNC 1.6.6 - http://znc.in]
<jgt> ok, so I see nixops copied ghc and a bunch of haskell packages to the server
<jgt> which is definitely not right
<vaibhavsagar> why not?
<vaibhavsagar> they might be stack's dependencies
<boomshroom> jgt: It probably thinks that it can't build the linux binaries on mac, so it's trying to build them on the linux server. In that case, you'd need crossSystem.
<jgt> boomshroom: I'll try again with crossSystem
Ariakenom has joined #nixos
<jgt> boomshroom: http://ix.io/17ZU fails with error: infinite recursion encountered, at /nix/store/30g7yca1mmqm9x7w5psrljwdbb4mpvd7-nixpkgs-18.03pre121255.45a85eaceb/nixpkgs/pkgs/development/compilers/gcc/6/default.nix:52:33
<boomshroom> jgt: Nix tries to use a compiler that runs on localSystem and targets crossSystem. If you overwrite localSystem (which happens if you set system or platform directly), it will try to build on the given system.
rauno has quit [Remote host closed the connection]
rauno has joined #nixos
<jgt> boomshroom: I can tell you that my previous approach (before I was trying to use custom haskell packages) worked just fine: http://ix.io/17ZV
<jgt> it would recognise that I'm on darwin, and it would use my local docker-vm to build instead
<boomshroom> jgt: I didn't know that nix would use docker like that. Huh.
<jgt> boomshroom: I followed these directions, and it works perfectly: https://medium.com/@zw3rk/provisioning-a-nixos-server-from-macos-d36055afc4ad
<boomshroom> jgt
<jgt> boomshroom: I'm still here
<boomshroom> jgt: I was going to say that you should trust the article more than me, but my finger slipped and I commented nothing but your name.
<{^_^}> [nixpkgs] @eqyiel opened pull request #39041 → libraries/agg: disable building of examples to fix build → https://git.io/vpJ7g
<jgt> boomshroom: well that's why I'm setting `system` instead of `crossSystem`
jacob_ has joined #nixos
<boomshroom> jgt: Ah, so that's how Nix is able to build linux binaries on macos!
Ariakenom has quit [Read error: Connection reset by peer]
rosa has quit [Quit: rosa]
<jgt> boomshroom: really, I should be using the previous approach that worked, if only I could override haskellPackages with my own which stack2nix generates
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/c0c5571ec1a (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
<boomshroom> jgt: Nix's distributed builds are amazing.
freeman42x]NixOS has quit [Ping timeout: 256 seconds]
<jgt> boomshroom: they are. If only I could figure out how to use my own haskellPackages :P
chisui has joined #nixos
<boomshroom> jgt: At this point, the main problem is that I have no experience with nixops.
Tucky has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39042 → munin: 2.0.34 -> 2.0.37 → https://git.io/vpJ5L
kerrhau has quit [Ping timeout: 256 seconds]
rosa has joined #nixos
<{^_^}> [nixpkgs] @mbrgm opened pull request #39043 → tt-rss: fix directory permissions → https://git.io/vpJ5K
vaninwagen has joined #nixos
rosa has quit [Quit: rosa]
rosa has joined #nixos
sphalerite_ is now known as sphalerite
iqubic has quit [Remote host closed the connection]
rosa has quit [Quit: rosa]
iqubic has joined #nixos
rosa has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39044 → libsigrokdecode: 0.5.0 -> 0.5.1 → https://git.io/vpJFe
boomshroom has quit [Quit: WeeChat 2.0]
fragamus has joined #nixos
jackdk has quit [Ping timeout: 256 seconds]
blahdodo has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @nlewo opened pull request #39045 → gnupatch: fix CVE-2018-6951 → https://git.io/vpJF1
jtojnar has joined #nixos
blahdodo has joined #nixos
jensens has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #39019 → flow: 0.69.0 -> 0.70.0 → https://git.io/vpJZH
<{^_^}> [nixpkgs] @vbgl pushed commit from @frontsideair to master « flow: 0.69.0 -> 0.70.0 »: https://git.io/vpJbe
wangoe has joined #nixos
MarcWeber has joined #nixos
<iqubic> Why isn't alsaUtils installed by default when using alsa?
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/d17d4b70c95 (from 17 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
hyper_ch2 has joined #nixos
alex`` has quit [Quit: WeeChat 2.1]
chisui has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
chisui has joined #nixos
asuryawanshi has joined #nixos
chisui has quit [Client Quit]
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed commit from @Mic92 to staging-18.03 « Merge #39000: rustc: disable tests for aarch64 »: https://git.io/vpJAg
winem_ has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 42 commits to staging-18.03: https://git.io/vpJAS
<{^_^}> → c5575c46 by @dezgeg: nixos/make-ext4-fs: Use closureInfo
<{^_^}> → 01e1722e by @Ericson2314: cctools: Make assert meta.broken instead
<{^_^}> → 10013112 by @Ericson2314: cctools: Add alternative source for sierra hack
Myrl-saki has joined #nixos
Acou_Bass has quit [Read error: Connection reset by peer]
ixxie has joined #nixos
justanotheruser has quit [Ping timeout: 246 seconds]
sigmundv has joined #nixos
magnetophon has joined #nixos
lonokhov has joined #nixos
magnetophon has quit [Remote host closed the connection]
magnetophon has joined #nixos
pie_ has joined #nixos
coot has joined #nixos
<sphalerite> iqubic: it is as far as I can tell
MP2E has quit [Remote host closed the connection]
thc202 has joined #nixos
kosmikus has quit [Read error: Connection reset by peer]
tilpner has quit [Quit: :wq]
tilpner has joined #nixos
<{^_^}> [nixpkgs] @lsix opened pull request #39047 → pythonPackages.django: 1.11.9 -> 1.11.12 → https://git.io/vpJjw
<robstr> Hey, I need to deploy my application with `nixops deploy` what topic to look at for collecting log's ? :-/
shikiryogy has joined #nixos
<shikiryogy> Hi guys, I am not sure how to install imperatively something from here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/jetbrains/default.nix
<tilpner> nix-env -iA nixpkgs.jetbrains.idea-community
lonokhov has quit [Quit: WeeChat 1.9.1]
<tilpner> You may need to substitute nixpkgs for nixos
lonokhov has joined #nixos
<shikiryogy> tilpner, it completes instantly, but nothing happens
<tilpner> What does nix-env -q output now?
<shikiryogy> many things, but it is not in there
lonokhov has quit [Client Quit]
rosa has quit [Quit: rosa]
iyzsong has joined #nixos
ThatDocsLady_ has joined #nixos
pqvj has quit [Ping timeout: 246 seconds]
<mkaito> if I'm writing a service module, what's the best way to go about testing it, with a relatively quick feedback loop?
<tilpner> shikiryogy - Hmm, works for me
<tilpner> shikiryogy - Try nix-env -f https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz -iA jetbrains.idea-community
<shikiryogy> tilpner - unpacking, and then again just exists instantly
<tilpner> shikiryogy - Paste the log of that command with -vvv to gist.github.com
knupfer has joined #nixos
lonokhov has joined #nixos
kosmikus has joined #nixos
sigmundv has quit [Ping timeout: 256 seconds]
<shikiryogy> tilpner so it works for idea-community, it just doesn't work for datagrip
<tilpner> So you weren't using the command I sent?
<sphalerite> tilpner: nix-env -f channel:nixos-unstable ;)
<tilpner> sphalerite - I know about that, but I don't know if shikiryogy is on Nix 2 :)
<sphalerite> if they aren't they should be :)
<tilpner> Well, that's an issue for another day then
<sphalerite> shikiryogy: it's probably non-free. Try NIXPKGS_ALLOW_UNFREE=1 nix-env -f '<nixpkgs>' -iA jetbrains.datagrip
ma27 has joined #nixos
<tilpner> People don't usually respond well to dependency chains when they want to be productive
<tilpner> Oh, right
<tilpner> But that should give a better error :/
<mkaito> everything on nix needs better error messages
knupfer has quit [Ping timeout: 276 seconds]
<mkaito> half the time, it might as well just give you the finger for how useful those messages are
<tilpner> I do get errors with NIXPKGS_ALLOW_UNFREE=0 though
<sphalerite> this one is a regression though, it used to work
<sphalerite> huh
<tilpner> Well, not errors. Just good output
<tilpner> But yes, datagrip is unfree while idea-community isn't
<tilpner> So that sounds like a good explanation
rosa has joined #nixos
vrdhn has joined #nixos
pie_ has quit [Ping timeout: 260 seconds]
<vrdhn> hi. just moved from Arch to NixOS , a silly question: how do I install google-chrome, find /nix shows google-chrome, but nix-env -iA nixpkgs.google-chrome doesn't find it
chisui_w has joined #nixos
<mkaito> vrdhn: try -iA nixos.google-chrome
<vrdhn> mkaito, it exits without any message , ( and without installing! )
rosa has quit [Quit: rosa]
<vrdhn> should nix-channel be added as root ?
<vrdhn> the nigpkgs-unstable
<{^_^}> [nixpkgs] @oxij opened pull request #39048 → Nixos/fix rename bugs → https://git.io/vpUfn
rosa has joined #nixos
<mkaito> jesus don't use nixpkgs-unstable as your system channel :P
<vrdhn> mkaito, ok .. that's what i was thinkin.g
<sphalerite> !unfree
<{^_^}> You cannot install your unfree software? See https://nixos.wiki/wiki/FAQ/unfree
<sphalerite> vrdhn: ^
knupfer has joined #nixos
<sphalerite> there's a recent bug that causes the message that usually gets displayed when trying to install nonfree software not to show
<vrdhn> oh great ; Thanks ;; loving this nixos.
magnetophon has quit [Ping timeout: 240 seconds]
<mkaito> right, and we were just talking about that lol
<mkaito> didn't even occur to me that chrome is nonfree
<mkaito> so anyway, how does one test a service module?
<vrdhn> mkaito, i use chromium .. but somebody wants to vidoe/audio/screenview with chrome specific plugins..
sigmundv has joined #nixos
<mkaito> vrdhn: tell them to try appear.in
<sphalerite> mkaito: using nixos tests. Have a look at nixos/tests for some existing examples
* vrdhn checking out appear.in now.
magnetophon has joined #nixos
<mkaito> ... perl?
<{^_^}> [nixpkgs] @oxij opened pull request #39049 → nixos: doc module: add devdoc → https://git.io/vpUfy
<sphalerite> mkaito: yep.
<mkaito> and I was having such a great day
<sphalerite> hahaha
<mkaito> what's with Eelco and his Perl obsession, seriously.
<{^_^}> [nix] @edolstra merged pull request #2068 → bump version to 2.1 → https://git.io/vxbOW
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/vpUfA
<{^_^}> → f524bcb4 by @LnL7: bump version to 2.1
<{^_^}> → 20cd1e39 by @edolstra: Merge pull request #2068 from LnL7/version-2.1
<sphalerite> I can't speak for him, but I'd say it's probably less of an obsession and more of a pragmatic choice
<srhb> You can mostly ignore the perl (mostly...) in NixOS tests and just treat it like an opaque DSL for writing tests.
<mkaito> I'll give that a try
<mkaito> never thought I'd see "perl" and "pragmatic" in the same sentence
<srhb> When you know some tool well, you're apt to reach for it...
<mkaito> something something hammer and nail
sbu has joined #nixos
<srhb> I think I phrased it in the more flattering way. :P
sbu has quit [Client Quit]
Acou_Bass has joined #nixos
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
__Sander__ has joined #nixos
pie_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39051 → geoclue2: 2.4.7 -> 2.4.8 → https://git.io/vpUJo
chisui_w has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
chisui_w has joined #nixos
ckauhaus has joined #nixos
<ckauhaus> hi
<ckauhaus> I wonder that I'm still getting old option descriptions on https://nixos.org/nixos/options.html
<ckauhaus> has it been updated?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39052 → ethtool: 4.15 -> 4.16 → https://git.io/vpUU1
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39053 → exim: 4.90.1 -> 4.91 → https://git.io/vpUUH
<{^_^}> [nixpkgs] @abbradar opened pull request #39054 → firewall service: respect marks in rpfilter → https://git.io/vpUUd
<{^_^}> [nixpkgs] @abbradar opened pull request #39055 → firewall service: run stop commands in reload → https://git.io/vpUUN
<{^_^}> [nixpkgs] @mt-caret opened pull request #39056 → jumanpp: init at 1.02 → https://git.io/vpUUp
<mkaito> oh great, none of my linters work because nix-shell. but of course.
pie_ has quit [Quit: Leaving]
<niksnut> mkaito: what language would you suggest?
<mkaito> ALE can't find rubocop.
<mkaito> weird
kisik21 has joined #nixos
<sphalerite> ckauhaus: known issue https://github.com/NixOS/nixos-homepage/issues/207
<{^_^}> [nixpkgs] @gebner pushed to master « services.tt-rss: do not unnecessarily start nginx »: https://git.io/vpUkn
<ckauhaus> ah ok
<ckauhaus> just wondering
<kisik21> Hello there. Cannot install xfce4-notes-plugin despite it being present in the nixpkgs as /nix/var/nix/profiles/per-user/root/channels/nixos/pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin.nix - when I do nix-env -i xfce4-notes-plugin it says error: selector 'xfce4-notes-plugin' matches no derivations
<electrocat> is there a standard procedure for converting a single-user nix installation to multi-user?
i-am-the-slime has joined #nixos
<sphalerite> electrocat: not particularly. But it's basically a matter of 1. create build users and build group, 2. chown nix store to root, 3. set up nix daemon
<clever> kisik21: nix-env -iA nixos.xfce.xfce4-notes-plugin
orivej has joined #nixos
<kisik21> No output, just exits.
<kisik21> When I do nix-env -q afterwards, no changes.
<clever> kisik21: are you on nixos?
<kisik21> Yep, but installing into a user profile.
<electrocat> sphalerite: yeah, well i don't think it's just chowning the nix store, the permissions look more complicated than that
<clever> kisik21: what does `sudo nix-channel --list` say?
mt_caret_ has joined #nixos
<{^_^}> [nixpkgs] @abbradar merged pull request #38372 → acme service: generate a CA for self-signed certificate → https://git.io/vxP29
<{^_^}> [nixpkgs] @abbradar pushed to master « acme service: generate a CA for self-signed certificate »: https://git.io/vpUkz
<kisik21> clever: I think it's saying what it should
<clever> kisik21: then it should have given more output, can you try: nix-env -iA nixos.xfce.xfce4-notes-plugin -vvvv
<sphalerite> kisik21: it's marked as broken
<kisik21> sphalerite: how to unmark it?
<{^_^}> [nixpkgs] @abbradar pushed to release-18.03 « acme service: generate a CA for self-signed certificate »: https://git.io/vpUko
<kisik21> Is it something I could control?
<sphalerite> kisik21: you can do NIXPKGS_ALLOW_BROKEN=1 nix-env …
<sphalerite> but it probably won't work, it's probably marked broken for a reason
<mt_caret_> I'm getting an error "attribute 'proprietary' missing" from GrahamcOfBorg (https://gist.github.com/GrahamcOfBorg/d59a8fc86760ea78f0d2c8766a69354e), can anyone tell me what this is and how I can fix it? It's for a PR I'm working on (https://github.com/NixOS/nixpkgs/pull/38607).
<kisik21> sphalerite: Yep, setting the variable works, installing the package.
<kisik21> Let's see if it's really broken.
thblt has joined #nixos
<mt_caret_> I just realized what the problem is; I was dumb.
<clever> mt_caret_: license = licenses.proprietary
<mt_caret_> yeah, that's it
<mt_caret_> *facepalm*
<sphalerite> kisik21: usually it would actually give you an error message saying that it's marked as broken and how to install it anyway, it's just a recently introduced bug that causes it not to…
<clever> mt_caret_: this is where the list of valid choices exist: https://github.com/NixOS/nixpkgs/blob/master/lib/licenses.nix
<reinzelmann> Hi all, I'm getting this error when running nixos-rebuild, nix-env, nix-build etc. in a newly created container: "error: opening lock file '/nix/var/nix/db/big-lock': Read-only file system". I'm on a fresh nixos install; I've synced over my home dir from an old machine.
<vrdhn> is there a issue for 'more descriptive messagees when install failes' ( that we can go and upvote) ?
xy2_ has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #34296 → Isso: init at 0.10.6 (plus dependencies) → https://git.io/vNXPi
<{^_^}> [nixpkgs] @dotlambda closed pull request #13587 → isso: module & init at 0.9.10 WIP → https://git.io/v2KgG
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/vpUkH
<{^_^}> → b532cc37 by @fgaz: python: misaka: init at 2.1.0
<{^_^}> → c6a8b90d by @dotlambda: Merge pull request #34296 from fgaz/isso
<{^_^}> → 6d09fbfc by @fgaz: python: isso: init at 0.10.6
ixxie has joined #nixos
<sphalerite> it's kind of all over the place
<kisik21> sphalerite: Yeah, build fails
<reinzelmann> I've found an old IRC log entry that says to use a more recent version of nixos-rebuild, but I don't know how to go about that... I'm already on nixos-unstable, is there anything more recent than that?
<kisik21> well, I will try to live without it then
<sphalerite> kisik21: or you can try fixing it ;)
<kisik21> How am I supposed to fix a problem in upstream source when I don't know C and xfce lib internals?
<kisik21> It *seems* to be an upstream problem
qqlq has quit [Ping timeout: 268 seconds]
<kisik21> Or someone just updated one package and forgot about another
<kisik21> well, I don't use this package that often anyway, I could live without it
<vrdhn> sphalerite, this is spaghetti of issues (-:
<sphalerite> vrdhn: indeed
<fearlessKim[m]> robstr: --debug ?
<vrdhn> 'shlevy self-assigned this 16 days ago ' , so I guess this must be close to getting fixed now.
<sphalerite> not really
rosa has quit [Quit: rosa]
<{^_^}> [nix] @edolstra pushed to master « exportReferences: Check whether the path is in the input closure »: https://git.io/vpUIM
<sphalerite> kisik21: I think I've fixed it, at least it builds now
<kisik21> How do I receive your fix?
<kisik21> sorry for a dumb question
<kisik21> but I really don't know
thblt has quit [Remote host closed the connection]
<sphalerite> kisik21: could you try nix-env -f https://github.com/lheckemann/nixpkgs/archive/xfce-notes-fix.tar.gz -iA xfce.xfce-notes-plugin
<sphalerite> kisik21: not a dumb question :)
<kisik21> What the... what's that?!
<kisik21> error: Packages '/nix/store/3rf6b628m6kvjybgwlhsvvk9jnxg1ap5-xfce4-mailwatch-plugin-1.2.0/share/icons/hicolor/icon-theme.cache' and '/nix/store/32746xjnk7grmlww3w3mni46k130p7z2-xfce4-windowck-plugin-0.4.4/share/icons/hicolor/icon-theme.cache' have the same priority '5'use 'nix-env --set-flag priority NUMBER INSTALLED_PKGNAME' to change the priority of one of the conflicting packages ('0' being the highest priority)
<kisik21> ouch, I found a bug in nixos.xfce.xfce4-mailwatch-plugin
<srhb> kisik21: Usually you'll want to uninstall the older package rather than doing the priority flag dance.
<sphalerite> nix-env --set-flag priority 6 xfce4-mailwatch-plugin
<sphalerite> srhb: I presume kisik21 actually wants the mailwatch plugin too.
<kisik21> Wait, this file is not supposed to be here.
<srhb> sphalerite: Ah, okay, sorry.
<kisik21> icon-theme.cache is not supposed to be here probably...
<sphalerite> but yeah I don't think this icon cache file is supposed to be in the packages
<sphalerite> yeah
<{^_^}> [nixpkgs] @dotlambda merged pull request #39030 → you-get: 0.4.1040 -> 0.4.1060 → https://git.io/vpJgJ
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master « you-get: 0.4.1040 -> 0.4.1060 (#39030) »: https://git.io/vpULf
shikiryogy has quit [Remote host closed the connection]
<kisik21> so, I found three bugs today...
shikiryogy has joined #nixos
ericsagnes has quit [Ping timeout: 240 seconds]
<kisik21> sphalerite: trying to install your xfce-notes-fix
zybell has quit [Quit: Leaving]
zybell has joined #nixos
rosa has joined #nixos
<kisik21> sphalerite: error: attribute 'xfce-notes-plugin' in selection path 'xfce.xfce-notes-plugin' not found
Acou_Bass has quit [Ping timeout: 240 seconds]
<sphalerite> oops, that was just me giving you the wrong command
<sphalerite> there's supposed to be a 4 in there — xfce4-notes-plugin
<kisik21> Also, xfce4-fsguard-plugin also has the dreaded icon-theme.cache
<sphalerite> yeah a lot of them seem to
Acou_Bass has joined #nixos
rosa has quit [Client Quit]
<kisik21> sphalerite: should I file an issue?
zybell has quit [Read error: Connection reset by peer]
<kisik21> and where should I do it?
rosa has joined #nixos
<{^_^}> [nix] @edolstra pushed to master « Handle arguments in $EDITOR »: https://git.io/vpUt9
<sphalerite> yes, on nixpkgs
zybell has joined #nixos
sigmundv has quit [Ping timeout: 240 seconds]
qqlq has joined #nixos
<kisik21> sphalerite: Wow, your fix prompts to download almost a gigabyte of derivations unpacked, including glibc, curl, bash, coreutils and some others...
<kisik21> is my system not upgraded or is it a bug?
<sphalerite> kisik21: yeah it's because it's based on master
<sphalerite> whereas you're probably on 18.03
<kisik21> I am.
<kisik21> could you rebase it on top of 18.03 please?
<sphalerite> will do
Acou_Bass has quit [Ping timeout: 256 seconds]
tilpner has quit [Quit: :wq]
<sphalerite> could you ping me in the issue (@lheckemann) as well
tilpner has joined #nixos
<kisik21> sphalerite: issue done
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #39058 → Removed name from Scapy → https://git.io/vpUqX
<shikiryogy> sphalerite - about your help an hour ago - thanks, the package I needed was indeed in 'unfree' :)
Acou_Bass has joined #nixos
gmarmstrong has joined #nixos
rosa_ has joined #nixos
<sphalerite> kisik21: nix-env -f https://github.com/lheckemann/nixpkgs/archive/xfce-notes-fix-18.03.tar.gz -iA xfce.xfce4-notes-plugin
<sphalerite> it also contains a fix for the icon-theme.cache thing
<gmarmstrong> Hi! I have a question about something in the configuration.nix man page. Is the first sentence of the description for `services.xserver.libinput.horizontalScrolling` worded correctly? Does enabling that option really *disable* horizontal scrolling? That seems counter intuitive, so I just want to make sure.
rosa_ has quit [Client Quit]
rosa_ has joined #nixos
<sphalerite> gmarmstrong: that is confusing!
rosa has quit [Read error: Connection reset by peer]
<gmarmstrong> I can make a PR to fix this if it's wrong, but I imagine I'll need to look at the xserver "InputClass" documentation.
Synthetica has joined #nixos
<Synthetica> What is the difference between nixpkgs-unstable and nixos-unstable?
<unacceptable> Best guess, one is an OS, one a collection of packages
sigmundv has joined #nixos
<Synthetica> But can I use nixpkgs-unstable on nixos and still get (for example) a kernel?
<sphalerite> Synthetica: nixos-unstable only advances once a test set has passed
<sphalerite> you can, but it's strongly advised not to because that test set ensures that your system remains bootable
<kisik21> sphalerite: about the fix: how to apply it? and does it fix all of the xfce4-*-plugin icon-theme.cache issues?
<sphalerite> kisik21: no, I only fixed it for notes-plugin
<sphalerite> Synthetica: it has happened in the past that nixpkgs-unstable has included changes that trashed the bootloader, and nixos-unstable didn't advance because of the tests that prevent exactly that
<Synthetica> Ah, right
<sphalerite> Synthetica: using nixpkgs-unstable on nixos for user packages is fine though
<angerman> what’s the right way to read the `os` value?
<angerman> we have `system` which is a string, and the user could override the system with the config. So I’m interested in the `os` value at the end.
<gmarmstrong> Huh. Looks like the option is correct... ```Option "HorizontalScrolling" "bool" Disables horizontal scrolling.```
<kisik21> sphalerite: is it normal that it pulls many -dev packages and some seemingly unrelated packages like networkmanager?
<kisik21> btw, I don't have network-manager activated in /etc/nixos/configuration.nix and would like to not see it on my system
<sphalerite> kisik21: yes, it needs to build it from source since it's not in the binary cache
<kisik21> okay, installing
hamishmack has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #39047 → pythonPackages.django: 1.11.9 -> 1.11.12 → https://git.io/vpJjw
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/vpUYl
<{^_^}> → 44b82c6a by @lsix: pythonPackages.django: 1.11.9 -> 1.11.12
<{^_^}> → fcbee75c by @dotlambda: Merge pull request #39047 from lsix/django_1_11_12
ditadi has joined #nixos
nick_l has joined #nixos
<nick_l> Cloning nixpkgs-channels seems really slow. I get less than 1 MB/s. I tried from different networks. git clone https://github.com/NixOS/nixpkgs-channels.git
<gmarmstrong> I get 30 MiB/s on my university Ethernet...
<srhb> nick_l: I get 7 MiB/s
<srhb> nick_l: Guess things vary!
<nick_l> srhb: country?
<srhb> nick_l: Denmark, vpn through Sweden.
<gmarmstrong> United States, no VPN right now (oops!)
<nick_l> srhb: I get 20MB/s now too.
<etu[m]> nick_l: I'm pretty sure that git isn't always about bandwith
<gmarmstrong> All is well. It should really just be your bandwidth with GitHub, the repo shouldn't matter.
<nick_l> srhb: Perhaps they have some cloudy scheduling of some kind.
<tilpner> nick_l - If you don't need all of the history, you can also make a shallow clone
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/b25153a2983 (from 10 days ago, history: https://channels.nix.gsc.io/nixos-unstable)
<kisik21> sphalerite: Build works
<nick_l> tilpner: can I also update those?
<tilpner> No, do you need to?
<nick_l> tilpner: yes
gmarmstrong has quit [Quit: Page closed]
<nick_l> tilpner: after an initial download, new downloads should be fast.
<etu[m]> 2.2MiB/s at my location, and I'm on a very good network. I got 641Mbit/s down on speedtest :)
<etu[m]> Also, hooray, nixos-unstable is updated!
<nick_l> etu[m]: perhaps it's just because nobody pays for it.
<sphalerite> \o/
* etu[m] cheers
<nick_l> etu[m]: I should test this with our corporate account to see whether they discriminate.
c0ffee152 has joined #nixos
oltoAltn has quit [Quit: ZNC - http://znc.in]
<nick_l> Would be nice if they would just output that, though. "You could be faster if we weren't throttling you".
olto has joined #nixos
<etu[m]> nick_l: Pays for what? Github?
coot has quit [Quit: coot]
<nick_l> etu[m]: yes
<etu[m]> I don't think that matters tbh
<nick_l> etu[m]: if I would have designed their network, it would have.
<Myrl-saki> I know I already said this last night, but it still makes me happy.
<Myrl-saki> pi@raspberrypi:~ $ nix run nixpkgs.haskell.compiler.ghc802
<Myrl-saki> pi@raspberrypi:~ $ ghci
<Myrl-saki> GHCi, version 8.0.2: http://www.haskell.org/ghc/ :? for help
<Myrl-saki> Prelude>
<nick_l> Myrl-saki: how easy is it to get that going?
<Myrl-saki> nick_l: It's actually easy. Just takes 2 days.
<nick_l> Myrl-saki: lol
cacatoes has joined #nixos
<nick_l> Myrl-saki: CPU time or people time?
<nick_l> Myrl-saki: I.e. was it hard to configure?
<etu[m]> nick_l: Make tests, always interesting to see. At work we run Github Enterprise anyways, so it's kinda self-hosted almost :)
<Myrl-saki> nick_l: People time.
<Myrl-saki> nick_l: CPU time is 8 days. :P
<nick_l> Myrl-saki: oh, that's kind of bad.
<Myrl-saki> nick_l: Literally no configuring at all.
<Myrl-saki> I just checked out a recent unstable.
iyzsong has quit [Ping timeout: 256 seconds]
<nick_l> I think the default should be to ask for a build host.
<Myrl-saki> nick_l: There are no build hosts. :P
<nick_l> Myrl-saki: I understood, but who has 8 days?
<nick_l> Myrl-saki: a hackathon takes a day :P
<kisik21> Interesting. When installing xfce4-panel into user profile, it doesn't see installed plugins.
<Myrl-saki> nick_l: I don't. I had NixOS on my RasPi a day before my lecture. I had to quickly download a graphical Raspbian.
<Myrl-saki> nick_l: Now that that was done, I downloaded a console Raspbian and loaded Nix on it.
<kisik21> It acts like nothing is installed (while, in fact, there are plugins installed! And even built-in things like Launcher don't work)
<kisik21> sphalerite: should I file another issue about it?
<Myrl-saki> How the hell do people bootstrap GHC anyway.
<Myrl-saki> Did they like, start with Hugs, then made a GHC, then every succeeding GHC is bootstrapped by GHC-1?
<clever> Myrl-saki: nixpkgs has a binary ghc package, that just patchelf's a pre-compiled one
<clever> Myrl-saki: but that pre-compiled one is from debian
<sphalerite> kisik21: I'm not sure about this one. Try searching existing issues though, it may be that it's just not the right way of using xfce plugins
<Myrl-saki> clever: I mean how did they get the binaries from the start?
<Myrl-saki> s/get/build/
<clever> Myrl-saki: what i want to see, is a nix derivation that spits out a binary ghc, that can be patchelf'd to work on any future nixpkgs
<clever> Myrl-saki: i'm guessing they started with a compiler written in c++
<clever> Myrl-saki: there is also a language called c-- in the mix now i believe
<Myrl-saki> clever: According to #haskell
<Myrl-saki> │10:57:02 merijn | Myrl-saki: The very first Haskell compiler was written by Lennart in Lazy ML
ilyaigpetrov has joined #nixos
<Synthetica> Hmm, would `(with : foo)` be feasible as syntactic sugar for `(bar: with bar; foo)`, in a similar vein to Haskell's LambdaCase?
kai_w has joined #nixos
<kisik21> sphalerite: When installing system-wide, no changes, still empty "add to panel" menu
rosa_ has quit [Quit: rosa]
<sphalerite> Synthetica: there's an RFC that involves introducing something like that https://github.com/nbp/rfcs/blob/ee9bf0d7139870fa60a437fbd2a9705660d1e355/rfcs/0000-simple-override-strategy.md
Alling has joined #nixos
<Alling> Hello guys!
<Myrl-saki> zybell: Thanks, taking a look at it.
<Alling> As part of my efforts to make Haskell/Cabal/ghc-mod/Atom build/install/run so I can commence work on a lab, I have a Nix question.
rosa_ has joined #nixos
<Alling> I'm trying to override the cabal version in GHC. Let's say I have something like: let modifiedGhc = pkgs.haskell.packages.ghc802.override (oldAttrs: rec { }); in
<Alling> Now, how can I tell what I can put inside the recursive set? I tried for example "sgsdagsdga = 5" which gave me an error, but how can I tell what attributes are legal there?
srdqty has quit [Ping timeout: 264 seconds]
<Alling> I believe it would be useful to be able to "log" oldAttrs, just like one would do in JavaScript, to be able to examine its structure.
<Alling> Therefore, I tried "throw oldAttrs" but "cannot coerce a set to a string".
<Myrl-saki> clever: How hard would it be to extend from cross-platform to cross-architecture?
Ariakenom has joined #nixos
srdqty has joined #nixos
<Alling> TL;DR: How to tell what attributes are valid in a set?
<Myrl-saki> clever: I'm guessing "not hard at all" because a system is defined to be both `architceture-platform` string?
<clever> Myrl-saki: i think angerman already mentioned ghc can target ARM easily enough and generate a self-contained dynamic library that android can dlopen()
vidbina has joined #nixos
<Myrl-saki> clever: Right, but how about something that Nix can work with?b
<Myrl-saki> Errr, sorry, that was incomplete. I'm using screen-under-tmux
<Synthetica> sphalerite: Ah, that also works
<{^_^}> [nixpkgs] @shlevy pushed to release-18.03 « hydra: build against nix stable. »: https://git.io/vpUsT
<{^_^}> [nixpkgs] @shlevy pushed to master « hydra: build against nix stable. »: https://git.io/vpUsI
<Myrl-saki> clever: Right, but how about something I can nix-build, say, using a custom `<nixpkgs> override`, maybe `import <nixpkgs> { host = ...; target = ...; }`?
<clever> Myrl-saki: one sticky area with nix, is that you cant really mix native and cross easily
mkoenig has quit [Ping timeout: 240 seconds]
<{^_^}> [nixos-homepage] @samueldr opened pull request #210 → Fixes options.json updating... → https://git.io/vpUst
<Myrl-saki> clever: Is it a Nix problem or Nixpkgs problem?
<clever> Myrl-saki: if you configure nixpkgs to cross-compile with a linux-x86 host, then nix-env will forever rely on you having a linux-x86 host to do your building
<clever> Myrl-saki: and if you ever try to switch to native, nix will rebuild the world
<Myrl-saki> clever: I think that's fair.
<clever> Myrl-saki: its mostly a limitation of nix
<Myrl-saki> clever: It makes sense for maximum purity, I think?
<Myrl-saki> clever: I can imagine this being useful for quick prototyping.
<kisik21> sphalerite: https://github.com/NixOS/nixpkgs/issues/18724 relevant to xfce4-panel plugin issues
<clever> Myrl-saki: yeah, its mostly a purity thing, you cant tell nix that compiler x and compiler y are identical and can be swapped out
mkoenig has joined #nixos
<angerman> Myrl-saki: outside of nix it works pretty acceptable. See medium.com/@zw3rk, within nix Sonarpulse does a lot of infra, and i believe Obsidian Systems has it working for Android and iOS.
ericsagnes has joined #nixos
<angerman> Myrl-saki: for windows (same arch) we have even TH working almost fully transparent. For iOS/Android it would require an external runner to make TH work.
<angerman> For any cross Linux you could probably try QEMU or something similar.
xcmw has joined #nixos
<Myrl-saki> angerman: Thanks, taking a look at it. I'm pretty interested in having this in nixpkgs itself, because, I believe it's possible to say `host = "x86-linux"; target = "arm-linux";`? on the ARM machine, and have the x86 machine run the compiler natively? Just have the target have the x86 machine as a substituter.
Fare has joined #nixos
Acou_Bass has quit [Ping timeout: 256 seconds]
rosa_ has quit [Read error: Connection reset by peer]
<Myrl-saki> angerman: Yeah, I'm on the qemu route, and it seems to be slower than the RasPi itself.
<clever> angerman: it should be trivial to take a linux-arm TH runner, and throw it under qemu-user-arm
<clever> angerman: qemu-user basically works the same as wine, but for different arches of linux
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c3799d33d3f (from 81 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
xy2_ has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @shlevy pushed to release-18.03 « nixUnstable: 2.0pre6137_e3cdcf89 -> 2.1pre6148_a4aac7f »: https://git.io/vpUs9
<Myrl-saki> clever: Some people also run wine under qemu to emulate Windows programs under RasPi. Scary stuff.
<{^_^}> [nixpkgs] @shlevy pushed to master « nixUnstable: 2.0pre6137_e3cdcf89 -> 2.1pre6148_a4aac7f »: https://git.io/vpUsQ
<clever> Myrl-saki: :D
patrl has joined #nixos
<clever> Myrl-saki: i also once tried qemu-user-x86-64 to run teamspeak on an rpi, but it threw an assertion within pulseaudio
<clever> Myrl-saki: and the coredump was mangled by the mix of arches
<angerman> Myrl-saki: the key with the TH runners is that you compile the bulk (non-TH) on your build machine and only need the target (real or emulated) for the TH bits.
<clever> and getting the right gdb to play nicely...
<Myrl-saki> clever: Aww. :(
<clever> was too much of a mess to get a backtrace out of it
ma27 has quit [Quit: WeeChat 2.0]
<Myrl-saki> clever: I've heard about using qemu static for binfmt. Why does it have to be a static build?
ma27 has joined #nixos
<clever> Myrl-saki: ldd sets some magic env vars, that cause ld.so to spit out the dyn libs, rather then run things
<clever> Myrl-saki: those magic env vars cause the dynamic qemu-user to spit out its own host deps!!
<clever> then you wind up with x86 libraries in your arm initrd
<Myrl-saki> angerman: Why does TH have to be run on the target?
<clever> Myrl-saki: because the TH is importing libraries that have already been compiled for the target and the source for those is long lost
<Myrl-saki> clever: On that topic, can you have ARM bins call to x86 libs without qemu-under-qemu?
<Myrl-saki> Wait, can you even qemu a library?
<clever> Myrl-saki: we need 2 types of import, for the host, and target, and limit TH to using host imports
<clever> Myrl-saki: all code in the process has to be in the same arch
rosa has joined #nixos
<Myrl-saki> clever: Oh okay, that makes sense.
joehh has joined #nixos
<Myrl-saki> I'm pretty sure someone had a nixpkgs made specifically for cross compiling but I can't seem to find it.
<Myrl-saki> Oh, nixcrpkgs
<angerman> nixcrpkgs?
simukis has joined #nixos
<Myrl-saki> Google failed me this time I think
<angerman> Hehe ;)
<Myrl-saki> angerman: Have you tried it out, considering you seem to be doing smoething similar?
tmaekawa has joined #nixos
kai_w has quit [Quit: kai_w]
<Myrl-saki> Also, whatever happened to Church of Suckless NixOS?
<{^_^}> [nixpkgs] @shlevy pushed to release-18.03 « nix-plugins: 4.0.3 -> 4.0.4 »: https://git.io/vpUZe
<{^_^}> [nixpkgs] @shlevy pushed to master « nix-plugins: 4.0.3 -> 4.0.4 »: https://git.io/vpUZf
<{^_^}> [nixpkgs] @mdorman opened pull request #39059 → Semi-automated emacs package updates → https://git.io/vpUZU
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<adisbladis[m]> Myrl-saki: All talk, no action.
Acou_Bass has joined #nixos
<Myrl-saki> adisbladis[m]: Sad. :(
<{^_^}> [nixos-homepage] @edolstra merged pull request #210 → Fixes options.json updating... → https://git.io/vpUst
<{^_^}> [nixos-homepage] @edolstra pushed 2 commits to master: https://git.io/vpUZY
<{^_^}> → 66e45aaa by @samueldr: Fixes options.json updating...
<{^_^}> → e17c16e1 by @edolstra: Merge pull request #210 from samueldr/fix/options.json
thblt has joined #nixos
<adisbladis[m]> Meh. Systemd is ok
<Myrl-saki> adisbladis[m]: I'm more interested in the custom c-stdlib.
srdqty has quit [Ping timeout: 256 seconds]
<adisbladis[m]> Myrl-saki: There is already quite a bit of work towards musl support happening in nixpkgs
<Myrl-saki> adisbladis[m]: Ah, cool. :D
<{^_^}> [nixpkgs] @qknight opened pull request #39060 → error message honores nested dots in attribute path elements → https://git.io/vpUZa
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<adisbladis[m]> dtz is doing great work :)
srdqty has joined #nixos
<Myrl-saki> How would a summer-of-code-thingy work for Nix?
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iyzsong has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
<{^_^}> [nixpkgs] @oscarcarlsson opened pull request #39061 → hunspell: support for Swedish dictionaries → https://git.io/vpUZQ
fragamus has joined #nixos
magnetop` has joined #nixos
xy2_ has joined #nixos
magnetophon has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @vcunat pushed 43 commits to master: https://git.io/vpUnG
<{^_^}> → d0d32080 by @xeji: altcoins.dcrwallet: mark broken on linux
<{^_^}> → 54dc22f6 by @xeji: altcoins.dcrd: mark broken on linux
<{^_^}> → 4af83283 by @xeji: altcoins.hevm: mark as broken
<{^_^}> [nixpkgs] @vcunat pushed to release-18.03 « Merge #38702: Mark packages as broken (ZHF) »: https://git.io/vpUc4
<htafdwes[m]> Myrl-saki: someone would add configuration options for mimetypes
<{^_^}> [nixpkgs] @vcunat merged pull request #38702 → Mark packages as broken for 18.03 (generic+x86_64) → https://git.io/vxbLi
<{^_^}> [nixpkgs] @lsix pushed to release-18.03 « pythonPackages.django: 1.11.9 -> 1.11.12 »: https://git.io/vpUc7
<kisik21> Guess what? Another bug. Plugins are symlinked in /run/current-system/sw/lib/xfce4/panel/plugins, but xfce4-panel doesn't even look in this directory, looking in /run/current-system/sw/share/xfce4/panel/plugins and /run/current-system/sw/share/xfce4/panel-plugins!
<{^_^}> [nixpkgs] @Mic92 merged pull request #38930 → qemu: add option to build with gtk support → https://git.io/vpeTS
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpUCT
<{^_^}> → 10149ef5 by @xeji: qemu: add option to build with gtk support
<{^_^}> → f21e931c by @Mic92: Merge pull request #38930 from xeji/qemu-gtk
<zybell> is share/xfce4/panel-plugins used?
rosa has quit [Quit: rosa]
<zybell> are there plugins I mean?
magnetop` has quit [Ping timeout: 256 seconds]
<kisik21> zybell: It does not exist.
<kisik21> All plugins are in lib/xfce4/panel/plugins.
<zybell> if not symlink share/xfce4/panel-plugins -> lib/xfce4/panel/plugins
<{^_^}> [nixpkgs] @lsix pushed 2 commits to release-18.03: https://git.io/vpUWY
<{^_^}> → 876d6c72 by @lsix: gnupg: 2.2.4 -> 2.2.5
<{^_^}> → 31ed7ab4 by @lsix: gnupg: 2.2.5 -> 2.2.6
<kisik21> zybell: is this gonna be kept when doing nixos-rebuild switch?
<robstr> I'm struggle using nixops with cabal2nix and submodules - do i need to use cabal2nix for all my cabal files and import them to the nix file ?
<{^_^}> [nixpkgs] @Mic92 pushed commit from @nlewo to staging « gnupatch: fix CVE-2018-6951 »: https://git.io/vpUWE
vidbina has quit [Ping timeout: 256 seconds]
<zybell> make a package that contains only this link and install it.
<{^_^}> [nixpkgs] @vaibhavsagar opened pull request #39062 → all-cabal-hashes: bump to 2018-04-17T10:54:16Z → https://git.io/vpUWP
Fare has quit [Ping timeout: 264 seconds]
<robstr> zybell: can you provide an example ?
c0ffee152 has quit [Quit: Lost terminal]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/d91caac6c3e (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<zybell> sth like buildPhase="ln -s $out/lib/... $out/share/..."
<zybell> the symlink can alternatively/better be relative
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kisik21> Made a derivation, building a new generation now
qqlq has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @aszlig pushed to master « haxe: Fix path to stdlib and add small test »: https://git.io/vpUl2
<kisik21> zybell: variable $src or $srcs should point to the source
fusion809 has joined #nixos
<kisik21> how to tell there are no sources?
qqlq has joined #nixos
<zybell> src=.?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39063 → file: 5.32 -> 5.33 → https://git.io/vpUlH
<nick_l> Why does nixops tell me I am out space, while there is still 500MB available?
<kisik21> zybell: building
<nick_l> Or even 1.2GB.
<kisik21> maybe it uses /tmp?
<kisik21> and tmp is full
<clever> kisik21: pkgs.runCommand may be more suited to your needs then mkDerivation
<kisik21> clever: How to insert it into configuration.nix for dummies?
<kisik21> something like pkgs.runCommand "ln -s <..>"?
<kisik21> in top-level function
<clever> kisik21: pkgs.runCommand "name" {} "ln -sv ...."
<clever> nick_l: nix may have deleted a partially downloaded file, after running out of space
<nick_l> clever: the real problem is that I am trying to upgrade to 18.03 on AWS nano machines. How can I make that work?
<kisik21> clever: how to access the current generation prefix, like $out in packages when building?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39064 → frostwire-bin: 6.6.3 -> 6.6.5 → https://git.io/vpU8n
<clever> kisik21: runCommand will have its own $out, that you can just use in the quotes
<nick_l> clever: preferably without introducing extra running costs, that is. (anyone can attach additional EBS, etc.)
<clever> kisik21: and the whole runCommand function returns that string within nix, for use elsewhere
<clever> nick_l: id start with a GC, and check for old profiles of nixos you can delete
<nick_l> clever: I already ran nix-collect-garbage -d
<kisik21> clever: wait, so I could paste it into environment.systemPackages?
<nick_l> clever: perhaps that doesn't delete older profiles, though.
<clever> kisik21: yeah, once you wrap it with ( and )
mkoenig_ has joined #nixos
<kisik21> because [] is more binding than pkgs.runCommand or something like that, right?
pie_ has joined #nixos
Rusty1_ has joined #nixos
<nick_l> clever: I think one issue is that the default image of NixOS is too big. It seems there is lots of unnecessary tooling on the machine.
fusion809 has quit [Quit: Leaving]
<tokudan[m]> is it notmal that nix-repl as a regular user fails on 18.03 with error: Nix database directory ‘/nix/var/nix/db’ is not writable: Permission denied ?
<clever> nick_l: there are configuration.nix flags to disable a lot of that
<nick_l> clever: headless? Already have that.
<clever> tokudan[m]: its linked against nix 1.11, you need to either use `nix repl` or `NIX_REMOTE=daemon nix-repl`
<tokudan[m]> ah, ok... didn't know that. thanks clever :)
mkoenig has quit [Ping timeout: 276 seconds]
<nick_l> clever: This one seems particularly useless: hb3my57q3ai9iwxcsfv381z368xvn1qi-gnome-backgrounds-3.24.0
<clever> nick_l: find the top-level .drv file that `nixos-rebuild dry-run` prints out, then do `nix-store -q --tree` on that, and trace the path to gnome-backgrounds
<kisik21> clever: collision between `/nix/store/wpqvv18yswqizz5ykhl5pyqkmh7ww6v9-xfce4-panel-fix/share/xfce4/panel-plugins' and `'
<kisik21> what does it mean?
<kisik21> (runCommand "xfce4-panel-fix" {} "mkdir -p $out/share/xfce4 && ln -sv ../../lib/xfce4/panel/plugins $out/share/xfce4/panel-plugins")
Neo-- has joined #nixos
<kisik21> clever: was forced to mkdir because the ln bailed out with "No such file or directory" about $out/share/xfce4
Fare has joined #nixos
<clever> kisik21: 2 different packages both had a share/xfce4/panel-plugins in their output, so it only used one of them
<clever> kisik21: you can also use ; or even multi-line strings, no need for &&
<kisik21> I know about ;, && is just better for this purpose because if something fails, everything fails gracefully without bugs
<kisik21> or maybe it fails anyway
<kisik21> I dunno
<zybell> I think you collide with yourself
jgt1 has joined #nixos
<clever> kisik21: nix already sets a bash flag to hard-fail the whole thing if any step fails
<kisik21> ok
<zybell> .drv and runcommand
<ben> gotta be careful to avoid bash patterns that swallow errors i guess
fusion809 has joined #nixos
goibhniu has joined #nixos
jgt has quit [Ping timeout: 265 seconds]
<kisik21> zybell: how's that possible and how to fix it?
nico202 has joined #nixos
<kisik21> No conflicts, already fixed, I guess
<kisik21> yay, it builds
<kisik21> or not
<nick_l> clever: I took the top listed drv file (all are printed on the same level), but background was not found int eh nix-store -q --tree <drv file> output.
<kisik21> clever: zybell: I don't see my shiny new symlink...
<kisik21> ls: cannot access '/run/current-system/sw/share/xfce4/': No such file or directory
<fusion809> I added the two configuration.nix lines mentioned here https://unix.stackexchange.com/a/437249/27613 to said file, then rebuilt, on 18.03. I already had the Firefox GNOME store extension installed, yet when I open up the browser to extensions.gnome.org I get the host connector missing error. Any ideas why?
chaker has joined #nixos
<nick_l> clever: the first command doesn't make sense to me, because it was completely unrelated to backgrounds.
bkchr has joined #nixos
<clever> nick_l: when does gnome-backgrounds come into play, is nixos-rebuild downloading it?, is it already on-disk?
<nick_l> clever: I saw it in the store.
pls-help has joined #nixos
<nick_l> clever: I am now just destroying those machines and building new ones.
wangoe has quit [Quit: WeeChat 1.9.1]
<nick_l> clever: but it would be nice to be able to upgrade to new releases on small machines.
<clever> nick_l: nix-store -q --roots /nix/store/hb3my57q3ai9iwxcsfv381z368xvn1qi-gnome-backgrounds-3.24.0
rosa has joined #nixos
<clever> nick_l: this command will tell you why its ondisk still
nico202 has quit [Ping timeout: 260 seconds]
<chaker> Hey, What's the best way to retry a function that raise an exception in nixops? The exception is raised within nixops itself (i.e. It's not a boto error).
<clever> and if it has no output, you can `nix-store --delete` it to regain that space
<pls-help> Hi everyone, I just installed NixOS and so far I'm really goddamn happy. But I have one question: can I disable the feature where Nix sets ~/background-image as my wallpaper?
<manveru> it what?
<Synthetica> That doesn't sound like a Nix feature?
<manveru> apparently it is...
<pls-help> the entry in "man configuration.nix" for services.xserver.desktopManager.wallpaper.mode tells me "The file ~/.background-image is used as a background image"
<jophish> The file <filename>~/.background-image</filename> is used as a background image.
<jophish> from x11
<Synthetica> ...
<chisui_w> I am trying to use nix with travis-ci.org to build a haskell project. Unfortunatly the build always times out. Is there a way to cache dependencies between builds?
<clever> pls-help: i believe it turns off automatically if you use a desktop env that can manage the root window automatically
<clever> chisui_w: a hydra server is the best way to manage that, but then you need at least 2 machines running nixos
<pls-help> ok well I'm using xmonad which I guess doesn't have that functionality. In my past OS I would set the background in .xprofile manually, but it looks like Nix sets it after .xprofile runs
<manveru> pls-help: i think you can set an option in the xmonad config then
<clever> pls-help: if ~/.background-image doesnt exist, nixos will instead just set the background to solid black
<pls-help> Well, the functionality that I want is to select a background randomly from a directory, so it's a bit complicated and I'd rather just do it from a script
<chisui_w> clever: ok, I think I will go with the normal haskell travis support then
<pls-help> yeah I've noticed it's setting the background to black
Xal has quit [Ping timeout: 256 seconds]
<manveru> i set my wallpaper in home-manager
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39065 → edbrowse: 3.7.2 -> 3.7.3 → https://git.io/vpUB1
<clever> pls-help: lines 12 and 80 of the default.nix manveru linked earlier
iyzsong has quit [Ping timeout: 264 seconds]
kyrre has joined #nixos
ditadi has quit [Quit: WeeChat 2.0]
Xal has joined #nixos
<clever> pls-help: and also, xmonad isnt a desktop manager, so something else is being selected for that
<pls-help> Ah yes, I see that
aarvar has joined #nixos
nico202 has joined #nixos
<pls-help> Slim tells me session: none+xmonad, so maybe it thinks my desktop manager is "none"?
<nick_l> pls-help: xmonad manages windows.
<clever> pls-help: and "none" is an empty string, which does not declare itself as supporting the root window
<clever> which normally results in the root window being whateverr the login manager left
<nick_l> pls-help: but I also did not know there was a formal distinction between a dm and a wm.
<pls-help> hmm ok so that might make things tough since I don't have a dm
<nico202> Hi, how do I configure the build-vm memory (-m parameter) ? It defautls to 384Mb that it's not enough
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/vpUR8
<{^_^}> → 223aad20 by @xeji: kdeApplications.mbox-importer: fix hydra build
<{^_^}> → d3c5aa50 by @ttuegel: Merge pull request #39018 from xeji/p/mbox-importer
<{^_^}> [nixpkgs] @ttuegel merged pull request #39018 → kdeApplications.mbox-importer: fix hydra build → https://git.io/vpJsP
phreedom has quit [Ping timeout: 268 seconds]
<clever> nico202: its a normal nixos parameter
<clever> pls-help: oh, there is also a bug in the desktop manager code
<clever> pls-help: the "none" desktop manager is always enabled, so there is always at least 1 DM that lacks root-window support
<clever> i tracked that down when trying to purge feh from my system
<{^_^}> [nixpkgs] @ckauhaus opened pull request #39066 → Clarify installation steps w.r.t. disk partitions → https://git.io/vpURy
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c1732e6087a (from 85 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<{^_^}> [nixpkgs] @KingOfThePirates opened pull request #39067 → simplenote: 1.0.6 -> 1.1.3 → https://git.io/vpU0e
<pls-help> Thanks for the help. I'll look at this again later today.
pls-help has quit [Quit: leaving]
<Myrl-saki> Uhhh, I just have this stupid idea.
<Myrl-saki> Is there a way to set the value of a variable to be a derivation?
jgt1 has quit [Quit: WeeChat 1.9.1]
Fare has quit [Ping timeout: 264 seconds]
<gchristensen> yes, it happens all the time. `src = fetchurl { ... }` src's value is a derivation
<Myrl-saki> gchristensen: I mean the derivation's path.
<gchristensen> src_dir = "${src}" like htis?
<Myrl-saki> gchristensen: Yep, something like that.
<Myrl-saki> Say.
<gchristensen> or are you saying, `mything = /nix/store/5vfq47pl1cy8n237jwqp3pgk99rj9w1s-file-5.32/bin/file
<Myrl-saki> gchristensen: Exactly like that.
<Myrl-saki> gchristensen: Basically, an override on nixpkgs to use the derivation. Probably only useful if you copied it from another nix store.
<gchristensen> yeah, that is not a nice thing to do
<Myrl-saki> gchristensen: It seems useful, I think
<{^_^}> [nixpkgs] @grahamc merged pull request #39066 → Clarify installation steps w.r.t. disk partitions → https://git.io/vpURy
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/vpU0F
<{^_^}> → 1f4cf806 by @grahamc: Merge pull request #39066 from ckauhaus/submit/38674-installdocs-mkfs
<{^_^}> → bca80d67 by @ckauhaus: Clarify installation steps w.r.t. disk partitions
<{^_^}> [nixpkgs] @grahamc pushed commit from @ckauhaus to release-18.03 « Clarify installation steps w.r.t. disk partitions »: https://git.io/vpU0h
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/vpUEJ
<{^_^}> → 9f7eabcc by @teto: kernel: fix boot.consoleLogLevel description
<{^_^}> → f4ff297c by @grahamc: Merge pull request #39031 from teto/loglevel
<{^_^}> [nixpkgs] @grahamc merged pull request #39031 → kernel: fix boot.consoleLogLevel description → https://git.io/vpJgS
<{^_^}> [nixpkgs] @grahamc pushed commit from @teto to release-18.03 « kernel: fix boot.consoleLogLevel description »: https://git.io/vpUEL
freeman42x]NixOS has joined #nixos
rosa has quit [Quit: rosa]
odi has quit [Ping timeout: 240 seconds]
raynold has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @Mic92 merged pull request #38971 → Fix clblas and libgpuarray on darwin → https://git.io/vpvTO
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vpUuk
<{^_^}> → 357d8f60 by @knedlsepp: clblas: Enable darwin build
<{^_^}> → d96f0c56 by @knedlsepp: pythonPackages.libgpuarray: enable darwin build
<{^_^}> → be5ad658 by @Mic92: Merge pull request #38971 from knedlsepp/fix-darwin-gpu-stuff
warbo has joined #nixos
<joko> Any way to clean up the git repositories in hydra? I am getting an error (command `nix-prefetch-git /var/lib/hydra/scm/git/8bcf562ad1ea5cd3d7316c2cbd3607b2682c0f370f573aea174914af08dfd0d7 3d15af3724991dda15a2b1238ab9a9072d3c028a' failed with exit status 256 at /nix/store/s4ymjifk68q5pm01f8965rcn0g28wjvm-hydra-2017-11-21/libexec/hydra/lib/Hydra/Helper/Nix.pm line 428.) and "Clear VCS caches" is not fixing it
alexteves_ has joined #nixos
<nick_l> What is a good client to connect to a MacOSX remote desktop?
<nico202> clever: ehm it works with nixos-build-vms, but how to get it in nixos-rebuild build-vm?
<nick_l> I am currently using remmina, but it doesn't seem to have a button to store credentials.
<{^_^}> [nixpkgs] @Mic92 merged pull request #39035 → linuxPackages.wireguard: 0.0.20180304 -> 0.0.20180413 → https://git.io/vpJak
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpUuR
<{^_^}> → 3ea4441c by R. RyanTM: linuxPackages.wireguard: 0.0.20180304 -> 0.0.20180413
<{^_^}> → c2412f1e by @Mic92: Merge pull request #39035 from r-ryantm/auto-update/wireguard
<Synthetica> Anyone else having issues with exfat-nofuse?
kisik21 has quit [Ping timeout: 276 seconds]
<clever> nico202: it should also work with that, ignore the error it gives early-on
<{^_^}> [nixpkgs] @pSub pushed to master « jasper: add patch to fix CVE-2018-9055 »: https://git.io/vpUuw
<{^_^}> [nixpkgs] @Mic92 pushed commit from R. RyanTM to release-18.03 « linuxPackages.wireguard: 0.0.20180304 -> 0.0.20180413 »: https://git.io/vpUuo
<{^_^}> [nixpkgs] @pSub pushed to release-18.03 « jasper: add patch to fix CVE-2018-9055 »: https://git.io/vpUuy
<nick_l> I actually think remmina is broken on NixOS. It doesn't look like the UI that is on the remmina documentation. Menus are missing.
pirateking has joined #nixos
fusion809 has quit [Quit: Leaving]
<gchristensen> looks like remmina doesn't have a maintainer, maybe you could take that on
<gchristensen> the improvement, or even maintainership
<pirateking> gchristensen: I tried to be self sufficient for contributing to nixpkgs upstream releases I ran into by reading https://github.com/NixOS/ofborg/blob/released/README.md. Am I doing https://github.com/NixOS/nixpkgs/pull/39067 correctly, or do I need to do anything to become a known user, or perhaps am I supposed to add builders to my personal computer?
humanoyd has joined #nixos
<pirateking> gchristensen: And thank you for your help yesterday on https://github.com/NixOS/nixpkgs/pull/39024
nico202 has quit [Read error: Connection reset by peer]
<gchristensen> cool! typically a person with access will either request the build on your behalf, and will eventually nominate you to receive access
nico202 has joined #nixos
alexteves has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/62dc989963c (from 9 days ago, history: https://channels.nix.gsc.io/nixos-unstable)
rosa has joined #nixos
<pirateking> gchristensen: ok perfect :) I just wanted to make sure I wasn't bugging anybody to drop an ofborg command if I could do it myself. I feel better now that I know this is part of th process :)
rosa has quit [Client Quit]
oida has quit [Remote host closed the connection]
oida has joined #nixos
kisik21 has joined #nixos
<tokudan[m]> nick_l: remmina seems to be fine on 18.03, I'm using it. the menu is hidden below the button with the three dashes on the right
<nick_l> tokudan[m]: where is the button to save a configuration then?
<nick_l> tokudan[m]: I did find that menu before I asked.
odi has joined #nixos
<tokudan[m]> to create a new connection? that's the plus on the left side
<nick_l> tokudan[m]: that plus is a black cross on a dark grey background. Completely invisible for me.
<nick_l> tokudan[m]: thanks!
<tokudan[m]> it's blue on light grey for me
pirateking has quit [Quit: Page closed]
<nick_l> tokudan[m]: it doesn't remember my password, however.
<nick_l> tokudan[m]: even though I told it to do so.
thefloweringash has joined #nixos
blankhart has joined #nixos
phreedom has joined #nixos
<nick_l> tokudan[m]: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
Akii_Work has joined #nixos
winem_ has quit [Remote host closed the connection]
<tokudan[m]> saving the password works for me (i just checked), i just can't connect due to freerdp telling me my password expired (which is definitely wrong)...
<Akii_Work> Good day! Decided to use NixOS at work xD... I need to install Slack, it's on the nixpkgs github and I added a nixpkgs-unstable channel but whatever I do I cannot install it via nix-env -i
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/31ed7ab453e (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
jperras has joined #nixos
<tokudan[m]> ... which apparently is a result from a microsoft patch
<clever> Akii_Work: nix-env -iA nixos.slack
rosa has joined #nixos
<LnL> joko: is that the full error?
<clever> Akii_Work: and also throw another thumbs-up at https://github.com/NixOS/nixpkgs/issues/17126
blonkhart has joined #nixos
<Akii_Work> clever: nothing happens o.O
<clever> Akii_Work: ah, sphalerite mentioned that bug about an hour ago
<Akii_Work> oh no
<clever> Akii_Work: you need to enable unfree packages in config.nix
<joko> LnL: yes
<Akii_Work> in /etc/nixos/configuration.nix?
<clever> Akii_Work: configuration.nix only affects configuration.nix and nothing else
<clever> Akii_Work: ~/.config/nixpkgs/config.nix affects nix-env
jperras has quit [Client Quit]
<tokudan[m]> I'll probably make a pull request to update remmina due to the RDP issue in a couple of minutes
<joko> Akii_Work: you mention NixOS, so you have added the nixos-unstable channel, not the nixpkgs one, right?
<LnL> joko: hmm, not very useful :/
jperras has joined #nixos
<Akii_Work> joko: yep, nix-channel --add https://nixos.org/channels/nixpkgs-unstable
<Akii_Work> clever: that folder does not exist :o
<clever> Akii_Work: then make it
<WilliamHamilton> hi, how would I enter a shell in which libz.so.1 (zlib) is available?
<clever> WilliamHamilton: nix-shell -p zlib
<LnL> joko: journalctl -u hydra-evaluator
<Akii_Work> clever: nice, thank you
<Akii_Work> I'll +1 the ticket when I'm home and have access to GH
<LnL> joko: and otherwise maybe just try to move/remove /var/lib/hydra/scm/git?
<WilliamHamilton> clever: thanks, that was what I tried before, but I still get the error `error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory`
<Akii_Work> just for understanding what I typed ther: how does "nixos.slack" refer to nixpkgs? And does this have anything to do with the unstable channel I added?
<joko> LnL: ah /nix/store/s4ymjifk68q5pm01f8965rcn0g28wjvm-hydra-2017-11-21/bin/.nix-prefetch-git-wrapped: line 160: cd: too many arguments
<joko> I am using git submodules in one project, indeed
phreedom has quit [Remote host closed the connection]
<clever> WilliamHamilton: the shell wont add it to the search path at runtime, only at build-time
<clever> WilliamHamilton: what program is failing to find it?
<WilliamHamilton> clever: is patchelf my only hope? Isn't there something like steam-run to create an environment with the libraries I want?
<joko> Akii_Work: nix-channel --list will show you the channels you have as user
<clever> Akii_Work: `nix-env -i slack` will search the .name of every package you can currently install, and unfree packages are hidden by default
<clever> Akii_Work: `nix-env -iA nixos.slack` forces it to use the slack package in the nixos channel, and it will fail with an error explaining how to enable unfree packages
<WilliamHamilton> clever: I'm trying to build https://github.com/Shen-Language/shen-sources
kisik21 has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c1732e6087a (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<Akii_Work> except it doesn't fail with the error message :D
<clever> WilliamHamilton: if you build it inside nix-shell, it should just find zlib when linking
<joko> LnL: I think that would solve it https://github.com/NixOS/hydra/pull/552
<clever> Akii_Work: thats a recent bug i heard sphalerite mention an hour ago, it no longer shows the error
<Akii_Work> clever: so it had nothing to do with the unstable channel I added
<clever> Akii_Work: yep
<LnL> joko: ah, I don't use anything with submodules
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
<clever> WilliamHamilton: its also likely to go a lot better if you use nix-build instead of nix-shell
<joko> LnL: I wasn't either, until Nix in Hydra became too pure to handle some hacks I was relying on :D
<WilliamHamilton> clever: in building that program, another bootstrap program is used (so I can't build the boostrap program myself, I fear); if that is true, is patchelf the only way to go or is there a way of changing runtime paths also (for example, how does steam-run work so well?)
phreedom has joined #nixos
<clever> WilliamHamilton: ahhh, yeah, you will need to patchelf the bootstrap program
<Akii_Work> clever: ok cool, thanks again
kmicklas has joined #nixos
<clever> WilliamHamilton: patchelf --set-rpath ${lib.makeLibraryPath [ zlib ]} bootstrap
<clever> WilliamHamilton: you may also need --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)"
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39071 → asio: 1.12.0 -> 1.12.1 → https://git.io/vpUV1
<Akii_Work> back later with a real IRC client
rosa has quit [Quit: rosa]
Akii_Work has quit [Quit: Page closed]
lord| has quit [Quit: WeeChat 2.1]
<WilliamHamilton> clever: that's a better way than to search the /nix/store path manually as I used to do, but unfortunately the --set-rpath command gives a bash error (bad substitution)
<clever> WilliamHamilton: that has to go into the nix file
<clever> WilliamHamilton: and you want nix-locate (part of the nix-index package)
<WilliamHamilton> clever: ok, so I need a nix file; could you link to a template?
<clever> WilliamHamilton: one minute
<{^_^}> [nixpkgs] @Mic92 merged pull request #39016 → linuxPackages.exfat-nofuse: 2017-06-19 -> 2018-04-16 → https://git.io/vpJm3
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpUwV
<{^_^}> → ee6a5296 by @dywedir: linuxPackages.exfat-nofuse: 2017-06-19 -> 2018-04-16
<{^_^}> → 6b77dfdf by @Mic92: Merge pull request #39016 from dywedir/exfat-nofuse
nick_l has quit [Ping timeout: 260 seconds]
<WilliamHamilton> sure, thank you!
ryantrinkle has joined #nixos
<clever> WilliamHamilton: where does shen-cl/shen come from?
<clever> WilliamHamilton: make fetch?
<WilliamHamilton> clever, I think it downloads it when you do `make fetch`
<clever> ah, one min then
bkchr has quit [Ping timeout: 265 seconds]
<WilliamHamilton> yes, there is a makefile at the top level, if you issue `make fetch` it will download the executable
Mateon1 has quit [Ping timeout: 256 seconds]
Mateon3 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #38907 → eli: init at 4.8.1 → https://git.io/vxjtG
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpUrJ
<{^_^}> → 4e0a5e25 by Timo Kaufmann: eli: init at 4.8.1
<{^_^}> → 9758c498 by @Mic92: Merge pull request #38907 from timokau/eli-init
<{^_^}> [nixpkgs] @Mic92 merged pull request #38974 → nss: 3.35 -> 3.36.1 → https://git.io/vpvON
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to staging: https://git.io/vpUrT
<{^_^}> → d26c032d by @Mic92: nspr: 4.18 -> 4.19
<{^_^}> → 2adc297e by @Mic92: nss: 3.35 -> 3.36.1
<{^_^}> → 1151597e by @Mic92: Merge pull request #38974 from Mic92/nss
Fare has joined #nixos
dbmikus has joined #nixos
<WilliamHamilton> clever: there is a short sequence of commands in the readme
Mateon3 is now known as Mateon1
<{^_^}> [nixpkgs] @Mic92 merged pull request #38589 → Add TLAPS and TLA+ Toolbox → https://git.io/vxQWS
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vpUrC
<{^_^}> → d14a4760 by @badi: tlaps: init at 1.4.3
<{^_^}> → c4ef846c by @badi: tlaplusToolbox: init at 1.5.6
<{^_^}> → 5dc7a70f by @Mic92: Merge pull request #38589 from badi/tlatools
kisik21 has joined #nixos
dbmikus has quit [Client Quit]
nico202 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dotlambda merged pull request #39058 → Removed name from Scapy → https://git.io/vpUqX
<{^_^}> [nixpkgs] @dotlambda pushed commit from @Synthetica9 to master « pythonPackages.scapy: remove name attribute (#39058) »: https://git.io/vpUrd
patrl has quit [Quit: WeeChat 1.9.1]
dbmikus has joined #nixos
nico202 has joined #nixos
odi has quit [Ping timeout: 240 seconds]
<clever> WilliamHamilton: ok, the patchelf phase is done, now on to the main phase...
chaker` has joined #nixos
odi has joined #nixos
<clever> fatal error encountered in SBCL pid 482(tid 140737354088960):
<clever> can't find core file at /usr//lib/sbcl//sbcl.core
chaker has quit [Ping timeout: 246 seconds]
<clever> WilliamHamilton: any idea what causes this?
odi has quit [Remote host closed the connection]
<WilliamHamilton> clever: I never arrived at that point; I can try to understand it if you share the first part or you can talk directly to the owner of that repo in #shen
<WilliamHamilton> (or I can ask and relate here)
joehh has quit [Ping timeout: 260 seconds]
<clever> WilliamHamilton: https://github.com/cleverca22/nix-misc/tree/master/shen grab these 4 files and then run `nix-build -A shen`
<clever> oh, and the hash in cl may be off, let me fix that
nico202 has quit [Quit: Konversation terminated!]
nico202 has joined #nixos
joehh has joined #nixos
<WilliamHamilton> sure, ping me when you fix the hashes and I'll try; I also asked on #shen, and I'm waiting for an answer
<clever> WilliamHamilton: fixed
erasmas has joined #nixos
<clever> WilliamHamilton: lines 4-18 make a fixed-output derivation, which promises to nix that the output will always have the hash listed on line 8
<clever> if the output does not have that hash, the build will fail
<clever> and because of that, nix will allow network access, so `make fetch` has permission to use the network
<clever> line 19-28 then uses patchelf to fix the binary, and the path to zlib can vary, so this step has an unpredictable hash
<clever> which is why i had to split it in 2
<WilliamHamilton> I see, I'll study the file for a minute and then try to understand the problem
<nico202> clever: virtualisation.memorySize does not exists, how is it called? sorry but can't find for it
<clever> WilliamHamilton: then i just symlink the path in, so the rest of the build uses it without having any network access
<clever> nico202: when you do nixos-rebuild build-vm, qemu-vm.nix is added to the module list, and then it does exist
<clever> nico202: but nixos-rebuild first tries to build nix without qemu-vm.nix, and causes a false error
humanoyd has quit [Quit: WeeChat 2.1]
jperras has quit [Ping timeout: 264 seconds]
<clever> WilliamHamilton: default.nix is then just some glue, to let these 3 files depend on eachother easily
orivej has quit [Ping timeout: 264 seconds]
hiratara has quit [Ping timeout: 276 seconds]
edofic has quit [Ping timeout: 276 seconds]
gleber_ has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @peterhoeg pushed to master « virtmanager-qt: 0.52.80 -> 0.60.88 »: https://git.io/vpU6C
pkill9 has joined #nixos
hiratara has joined #nixos
mkoenig_ has quit [Ping timeout: 268 seconds]
ThatDocsLady_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #38828 → ipfs: 0.4.13 -> 0.4.14 → https://git.io/vxAjV
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/vpUPY
<{^_^}> → 7c347556 by @luke-clifton: ipfs 0.4.13 -> 0.4.14
<{^_^}> → 5b3c2b18 by @peterhoeg: Merge pull request #38828 from luke-clifton/ipfs-update
joehh has quit [Ping timeout: 256 seconds]
nuncanada2 has joined #nixos
mkoenig has joined #nixos
lo_mlatu has joined #nixos
<Akii> now using NixOS at work >_> that escalated quickly
katona has joined #nixos
<sphalerite> :D
<clever> :D
<Synthetica> :D
<shapr> Akii: nice
blym has joined #nixos
szicari has joined #nixos
<{^_^}> [nixpkgs] @jbgi opened pull request #39072 → Azure agent mount resource option + bash to path → https://git.io/vpUXU
Fare has quit [Ping timeout: 256 seconds]
kisik21 has left #nixos [#nixos]
jperras has joined #nixos
<manveru> Akii: happy little accidents :)
<Akii> :D
jperras_ has joined #nixos
mkoenig has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @jbgi opened pull request #39073 → blobfuse: fuse fs adapter for Azure Blob storage. → https://git.io/vpU1V
<etu[m]> Akii: Well done!
jperras has quit [Ping timeout: 268 seconds]
jtojnar has quit [Read error: Connection reset by peer]
<xCuri0> is it possible to install nix packages optimized for your computer's cpu ?
jtojnar has joined #nixos
<xCuri0> like compiled with -march=native
nico202 has quit [Remote host closed the connection]
<tokudan[m]> xCuri0: i guess no, as that would have to be an additional architecture or system type or something like that. and you'd pretty much have to recompile the whole world...
Pneumaticat has joined #nixos
<xCuri0> tokudan[m], isn't nix source based anyways (though it can use binary cache)
<xCuri0> that feature probably needs to be added
<xCuri0> its useful on embedded systems where you can every drop of performance
<{^_^}> [nixpkgs] @jbgi opened pull request #39074 → atlassian-jira: 7.7.0 -> 7.9 and add bash to service path → https://git.io/vpUM9
<tokudan[m]> you may be able to override gcc to add that flag by default, but that would result in all derivations that depend on gcc to be recompiled
<sphalerite> xCuri0: yes, it's possible
warbo has quit [Ping timeout: 256 seconds]
<sphalerite> I don't know where the best place to put it is though
jperras has joined #nixos
luigy has joined #nixos
<Pneumaticat> Does anyone have experience running a small Kubernetes cluster on NixOS? The simplest way on other operating systems seems to be `kubeadm`, but I get errors when running it on nixos. There doesn't seem to be much documentation about it.
jperras_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @matthewbauer pushed 5 commits to staging: https://git.io/vpUD2
<{^_^}> → d3d0c019 by @strager: clang: refactor post-install comments
<{^_^}> → 2505aa51 by @strager: clang: fix install on Darwin
<{^_^}> → 94872447 by @matthewbauer: Merge remote-tracking branch 'strager/fix-clang' into staging
<sphalerite> xCuri0: probably overriding stdenv to pass an extra setup hook which adds -march=native to NIX_CFLAGS
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39038 → clang: fix install on Darwin → https://git.io/vpJPy
reinzelmann has quit [Quit: Leaving]
kmicklas has quit [Ping timeout: 256 seconds]
hyper_ch2 has quit [Ping timeout: 260 seconds]
<tokudan[m]> Pneumaticat: lookup the option services.kubernetes.roles
ryanartecona has joined #nixos
thblt has quit [Remote host closed the connection]
<Pneumaticat> yeah, I managed to get a single-node cluster running that way (I think), but I'm not sure how to add nodes that way
<tokudan[m]> ah, ok. sorry, can't help with that
<sphalerite> xCuri0: (import <nixpkgs> {overlays = [(self: super: {stdenv = super.stdenv.override {extraBuildInputs = [./march-native.sh];};)];}).hello should give you a native-optimised GNU hello, when ./march-native.sh is export NIX_CFLAGS="$NIX_CFLAGS -march=native"
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38311 → Use lib/purple-2 directory instead of lib/pidgin → https://git.io/vx6lv
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUDd
<{^_^}> → 75f79581 by @qfjp: Use lib/purple-2 directory instead of lib/pidgin
<{^_^}> → 3207b7e7 by @matthewbauer: Merge pull request #38311 from qfjp/submit/finch-fix
reinzelmann has joined #nixos
<sphalerite> xCuri0: note though that that breaks purity of builds completely.
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38032 → deepin: use libsForQt5 in meta package → https://git.io/vxVoW
jperras has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUDA
<{^_^}> → e2341747 by @romildo: deepin: use libsForQt5 in meta package
<{^_^}> → 23eac59f by @matthewbauer: Merge pull request #38032 from romildo/deepin
<Pneumaticat> I guess I'll see if there's a way to manually configure without kubeadm :)
luigy has quit [Quit: ZNC - http://znc.in]
<Akii> does oh-my-zsh conflict with zsh? I installed both
luigy has joined #nixos
<Akii> oh-my-zsh now is not there
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38152 → gmtp: pass --datapath in the wrapper → https://git.io/vxoMW
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUyt
<{^_^}> → 38f7daeb by @pbogdan: gmtp: pass --datapath in the wrapper
<{^_^}> → 210d4747 by @matthewbauer: Merge pull request #38152 from pbogdan/gmtp-datapath
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38189 → palemoon: 27.8.0 -> 27.8.3 → https://git.io/vxKJz
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUyO
<{^_^}> → e3a91b05 by R. RyanTM: palemoon: 27.8.0 -> 27.8.3
<{^_^}> → 80facf99 by @matthewbauer: Merge pull request #38189 from r-ryantm/auto-update/palemoon
thblt has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38199 → nspr: 4.18 -> 4.19 → https://git.io/vxKIJ
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging:
<{^_^}> → ea968066 by R. RyanTM: nspr: 4.18 -> 4.19
<{^_^}> → 2bd79994 by @matthewbauer: Merge pull request #38199 from r-ryantm/auto-update/nspr
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38202 → libinput: 1.10.0 -> 1.10.3 → https://git.io/vxKLc
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vpUy2
<{^_^}> → 0e48f5ff by R. RyanTM: libinput: 1.10.0 -> 1.10.3
<{^_^}> → 8794c833 by @matthewbauer: Merge pull request #38202 from r-ryantm/auto-update/libinput
<Akii> aawwww yiss
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38211 → libevdev: 1.5.8 -> 1.5.9 → https://git.io/vxKmi
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vpUyK
<{^_^}> → 2f9c38c0 by R. RyanTM: libevdev: 1.5.8 -> 1.5.9
<{^_^}> → 28fb8e09 by @matthewbauer: Merge pull request #38211 from r-ryantm/auto-update/libevdev
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38290 → libidn: 1.33 -> 1.34 → https://git.io/vxKFX
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vpUy5
<{^_^}> → 47e497b6 by R. RyanTM: libidn: 1.33 -> 1.34
<{^_^}> → f0640ab0 by @matthewbauer: Merge pull request #38290 from r-ryantm/auto-update/libidn
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38224 → harfbuzz-icu: 1.7.5 -> 1.7.6 → https://git.io/vxKsd
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vpUyF
<{^_^}> → 16affca0 by R. RyanTM: harfbuzz-icu: 1.7.5 -> 1.7.6
<{^_^}> → 3b64128b by @matthewbauer: Merge pull request #38224 from r-ryantm/auto-update/harfbuzz-icu
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38212 → libwacom: 0.28 -> 0.29 → https://git.io/vxKYs
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vpUyx
<{^_^}> → 2d57df88 by R. RyanTM: libwacom: 0.28 -> 0.29
<{^_^}> → 67f1ee7c by @matthewbauer: Merge pull request #38212 from r-ryantm/auto-update/libwacom
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38332 → gnused: 4.4 -> 4.5 → https://git.io/vxiem
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vpUSf
<{^_^}> → 731d6486 by R. RyanTM: gnused: 4.4 -> 4.5
<{^_^}> → 636db4fc by @matthewbauer: Merge pull request #38332 from r-ryantm/auto-update/gnused
nick_l has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38336 → Update ruby: 2.3.6 -> 2.3.7, 2.4.3 -> 2.4.4, 2.5.0 -> 2.5.1 → https://git.io/vxiLL
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to staging: https://git.io/vpUSs
<{^_^}> → 972dce4d by @marsam: ruby: 2.3.6 -> 2.3.7
<{^_^}> → 4c1e987b by @marsam: ruby: 2.4.3 -> 2.4.4
<{^_^}> → 1a35b2ad by @marsam: ruby: 2.5.0 -> 2.5.1
orivej has joined #nixos
<xCuri0> sphalerite, thats hackish
<xCuri0> probably support needs to be added for that
<sphalerite> xCuri0: what do you envision?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38440 → Add arrow-cpp, parquet-cpp, pythonPackages.pyarrow → https://git.io/vxDeN
<{^_^}> [nixpkgs] @matthewbauer closed pull request #35589 → Pyarrow → https://git.io/vArBM
<{^_^}> [nixpkgs] @matthewbauer pushed 7 commits to master: https://git.io/vpUSw
<{^_^}> → af86bf34 by @veprbl: rapidjson: fix build on darwin
<{^_^}> → c5df226c by @veprbl: arrow-cpp: init at 0.8.0
<{^_^}> → f9192c54 by @veprbl: pythonPackages.pyarrow: init at 0.8.0
<nick_l> I got Linux to kernel panic. Can I just plaster the details of that on the Internet or should I find some silent channel?
<sphalerite> xCuri0: the whole concept is hackish because it breaks build purity.
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38327 → react-native-debugger: init at 0.7.18 → https://git.io/vx67y
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUSM
<{^_^}> → 767f4fec by @Ma27: react-native-debugger: init at 0.7.18
<{^_^}> → aa225814 by @matthewbauer: Merge pull request #38327 from Ma27/package-react-native-debugger
<xCuri0> sphalerite, why would it break purity if it was properly integrated into the nix source code ?
<sphalerite> nick_l: in terms of security? Or in terms of spam?
<nick_l> sphalerite: security and perhaps spam.
<sphalerite> xCuri0: yes. -march=native will behave differently from CPU to CPU.
<nick_l> sphalerite: I can imagine the right party is able to drop major players off the Internet.
<xCuri0> yeah it will but it isn't supposed to cause program breakage
<nick_l> sphalerite: it could also be a special configuration which only leads to this, of course.
xcmw has joined #nixos
<sphalerite> nick_l: oh you mean you found a DoS vuln in linux?
<sphalerite> xCuri0: yes it does, as soon as you copy the results to another machine that doesn't support all the same instructions
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38650 → gitea: 1.3.3 -> 1.4.0 → https://git.io/vx5IK
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpU98
<{^_^}> → a73cdc73 by @sondr3: gitea: 1.3.3 -> 1.4.0
<{^_^}> → 186ec06a by @matthewbauer: Merge pull request #38650 from sondr3/gitea-1.4.0
<sphalerite> xCuri0: and the method I suggested isn't really hacky at all. It neatly integrates into the whole of nixpkgs.
<sphalerite> Ugly, yes. But that's mostly because it's a bit too much code to stick in one line on IRC: )
<xCuri0> sphalerite, i thought your not supposed to copy binaries ?
<sphalerite> :) *
<xCuri0> isn't nix supposed to be source based ?
<sphalerite> xCuri0: nix does it all the time with binary caches.
<Taneb> xCuri0: nix means it doesn't matter if it's source or binary based because you get the same thing at the end
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38520 → libuv: 1.19.2 -> 1.20.0 → https://git.io/vx9bT
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vpU9y
<{^_^}> → 4292c633 by R. RyanTM: libuv: 1.19.2 -> 1.20.0
<xCuri0> sphalerite, then seperate binary caches for each cpu generation will have to be created which will probably be more costly to run
<{^_^}> → b26d3d2d by @matthewbauer: Merge pull request #38520 from r-ryantm/auto-update/libuv
Lears has quit [Remote host closed the connection]
bumbleblym has joined #nixos
<xCuri0> theres alot of different cpu generations
<sphalerite> Taneb: well no, not magically as a consequence of nix. That's a result of hard work on nixpkgs as well.
<sphalerite> Taneb: and it certainly doesn't apply if you go stick -march=native in packages
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38607 → sweep-visualizer: init at 0.15.0 → https://git.io/vxQgJ
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @mt-caret to master « sweep-visualizer: init at 0.15.0 (#38607) »: https://git.io/vpU9b
Ariakenom has quit [Ping timeout: 268 seconds]
<nick_l> sphalerite: whether or not something can be exploited is probably undecidable in general.
<sphalerite> xCuri0: yes. Which is why we don't use -march=native.
<Taneb> sphalerite: fair enough
bkchr has joined #nixos
<Taneb> Can I get away with saying "the philosophy of nix" instead?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38206 → libdvdcss: 1.4.1 -> 1.4.2 → https://git.io/vxKt5
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vpUHv
<{^_^}> → 46a99d14 by R. RyanTM: libdvdcss: 1.4.1 -> 1.4.2
<{^_^}> → 319c14e4 by @matthewbauer: Merge pull request #38206 from r-ryantm/auto-update/libdvdcss
<xCuri0> probably could be done if the caching server had alot of a cpu power and disk space
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38303 → pgmanage: the data_root option is renamed to sql_root → https://git.io/vx6qj
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUHL
<{^_^}> → c8eef1d7 by @basvandijk: pgmanage: the data_root option is renamed to sql_root
<{^_^}> → 12ce909a by @matthewbauer: Merge pull request #38303 from LumiGuide/fix-pgmanage-sql_root
<sphalerite> Taneb: there's a lot of processing power behind the official binary caches. https://hydra.nixos.org/machines
<sphalerite> oops xCuri0 ^
<sphalerite> and the products are stored in Amazon S3
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37976 → mariadb.connector-c: 2.3.4 -> 2.3.5 → https://git.io/vx2G5
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vpUHs
<{^_^}> → 991fd430 by @Izorkin: mariadb.connector-c: 2.3.4 -> 2.3.5
<{^_^}> → 542412ec by @matthewbauer: Merge pull request #37976 from Izorkin/mariadb-connector-c-2.3.5
<sphalerite> Taneb: I suppose. One of the principles of nix is that it *shouldn't* matter, and that's what -march=native breaks
<sphalerite> I guess
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<xCuri0> it would take around (number of cpu archectures) times longer
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38194 → mbedtls: 2.7.1 -> 2.8.0 → https://git.io/vxKT0
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUH0
<{^_^}> → 0514ae44 by R. RyanTM: mbedtls: 2.7.1 -> 2.8.0
blym has quit [Ping timeout: 276 seconds]
<{^_^}> → 968c9648 by @matthewbauer: Merge pull request #38194 from r-ryantm/auto-update/mbedtls
blankhart has quit [Ping timeout: 256 seconds]
<sphalerite> xCuri0: if you're willing to invest the money and engineering effort, have fun.
<sphalerite> Or just go use gentoo
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUH1
<{^_^}> → fd09c3dc by @jensbin: Fix openshift oc cluster up mount
<{^_^}> → 0418f5ee by @matthewbauer: Merge pull request #38321 from jensbin/openshift_mount_fix
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38321 → openshift: Fix binary paths for oc cluster up to work → https://git.io/vx6SY
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUHH
<{^_^}> → 1a1f26ab by @matthewbauer: Merge pull request #37786 from woffs/fixing-quagga
<{^_^}> → 66deb3aa by @woffs: quagga service: fix service and re-enable test
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37786 → quagga service: fix service and re-enable test → https://git.io/vxRhC
shikiryogy has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37845 → talloc: 2.1.11 -> 2.1.12 → https://git.io/vx04L
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUHd
<{^_^}> → 4ba85f50 by @ryantm: talloc: 2.1.11 -> 2.1.12
<{^_^}> → c1db0b0e by @matthewbauer: Merge pull request #37845 from ryantm/auto-update/talloc
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37865 → gnulib: symlink include/ to lib/ → https://git.io/vxE3d
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUQv
<{^_^}> → 2355189b by @teto: gnulib: symlink include/ to lib/
<{^_^}> → e5a77836 by @matthewbauer: Merge pull request #37865 from teto/gnulib
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUQT
<{^_^}> → 2f3dc510 by @ryantm: glew: 2.0.0 -> 2.1.0
<{^_^}> → f81e3bf9 by @matthewbauer: Merge pull request #37796 from ryantm/auto-update/glew
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37796 → glew: 2.0.0 -> 2.1.0 → https://git.io/vx0fH
<woffs> thanks and go on, @matthewbauer!
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37470 → libcap_ng: 0.7.8 -> 0.7.9 → https://git.io/vxnnG
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vpUQC
<{^_^}> → 7b2eab31 by @ryantm: libcap_ng: 0.7.8 -> 0.7.9
<{^_^}> → aaf4723a by @matthewbauer: Merge pull request #37470 from ryantm/auto-update/libcap-ng
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37476 → libjpeg_original: 8d -> 9c → https://git.io/vxnEw
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vpUQ8
<{^_^}> → dc305548 by @ryantm: libjpeg_original: 8d -> 9c
<{^_^}> → fd98d4ac by @matthewbauer: Merge pull request #37476 from ryantm/auto-update/libjpeg
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37458 → libsForQt5.kpmcore: 3.0.3 -> 3.3.0 → https://git.io/vxnvu
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUQu
<{^_^}> → 1aa8905e by @ryantm: libsForQt5.kpmcore: 3.0.3 -> 3.3.0
<{^_^}> → 3b878f10 by @matthewbauer: Merge pull request #37458 from ryantm/auto-update/kpmcore
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUQz
<{^_^}> → 375ba615 by @ryantm: libsForQt5.kdb: 3.0.2 -> 3.1.0
<{^_^}> → adf5af94 by @matthewbauer: Merge pull request #37456 from ryantm/auto-update/kdb
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37456 → libsForQt5.kdb: 3.0.2 -> 3.1.0 → https://git.io/vxZpW
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37109 → sawfish: 1.12.0 -> 1.12.90 → https://git.io/vxLN2
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUQ2
<{^_^}> → 5ec1ae98 by @ryantm: sawfish: 1.12.0 -> 1.12.90
<{^_^}> → 14fe73b5 by @matthewbauer: Merge pull request #37109 from ryantm/auto-update/sawfish
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37168 → buildbot-worker: 1.0.0 -> 1.1.0 → https://git.io/vxmTB
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUQi
<{^_^}> → d32ea36e by @ryantm: buildbot-worker: 1.0.0 -> 1.1.0
<{^_^}> → 615344b5 by @matthewbauer: Merge pull request #37168 from ryantm/auto-update/buildbot-worker
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37203 → jack1: 0.124.1 -> 0.125.0 → https://git.io/vxYVn
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUQX
<{^_^}> → ad7bd4c7 by @ryantm: jack1: 0.124.1 -> 0.125.0
<{^_^}> → 84085651 by @matthewbauer: Merge pull request #37203 from ryantm/auto-update/jack1
blankhart has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37213 → libupnp: 1.6.21 -> 1.8.3 → https://git.io/vxYXB
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUQM
<{^_^}> → ee45689f by @ryantm: libupnp: 1.6.21 -> 1.8.3
<{^_^}> → 845bde0e by @matthewbauer: Merge pull request #37213 from ryantm/auto-update/libupnp
Myrl-saki has quit [Ping timeout: 260 seconds]
__Sander__ has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36961 → audit: 2.8.2 -> 2.8.3 → https://git.io/vxTNq
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vpU7f
<{^_^}> → 2b8ce2a8 by @ryantm: audit: 2.8.2 -> 2.8.3
<{^_^}> → 87c36103 by @matthewbauer: Merge pull request #36961 from ryantm/auto-update/audit
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36959 → cfitsio: Change hash for 3.43 to reflect upstream → https://git.io/vxTFi
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpU7Y
<{^_^}> → 55b4a2b6 by @chrisburr: cfitsio: Change has for 3.43 to reflect upstream
<{^_^}> → c3026c49 by @matthewbauer: Merge pull request #36959 from chrisburr/patch-2
<copumpkin> is there a way to get nix-shell to pull in the user's ~/.bash_profile?
<gchristensen> is a shell hook too nasty?
Lears has joined #nixos
<sphalerite> copumpkin: it does pull in ~/.bashrc FWIW
blankhart has quit [Ping timeout: 268 seconds]
<gchristensen> yeah, ~/.bash_profile is for login shells only
<copumpkin> interesting
<copumpkin> a nix-shell isn't considered a login?
<sphalerite> I think it's just OSX's setup being weird and starting all the shells as login shells or something
<sphalerite> most shells shouldn't be login shells
<gchristensen> (`man bash` -> "When bash is invoked as an interactive")
Lears has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36790 → adds tmuxPlugins → https://git.io/vxek7
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpU5c
<{^_^}> → 3f5b0355 by @pjan: adds tmuxPlugins
<{^_^}> → 1edf668a by @matthewbauer: Merge pull request #36790 from pjan/tmux-plugins
blonkhart has quit [Ping timeout: 265 seconds]
<copumpkin> ah
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36851 → processing3: init at 3.3.7 → https://git.io/vxvl6
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @volth to master « processing3: init at 3.3.7 (#36851) »: https://git.io/vpU50
<{^_^}> [nixpkgs] @dotlambda pushed to python-unstable « python.pkgs.flake8-future-import: 0.4.3 -> 0.4.5 »: https://git.io/vpU5z
<copumpkin> gchristensen: that's about .bashrc?
<gchristensen> well it is about ~/.bash_profile, ~/.bash_logic, ~/.profile, among other files it sources under different startup circumstances
i-am-the-slime has quit [Ping timeout: 256 seconds]
<ben> i just set all these files up to source each other because i dont trust myself to get it right :<
<gchristensen> I don't put anything in them for the same reasons :')
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36911 → androidenv.buildTools: 26.0.1 -> 26.0.2 → https://git.io/vxUPS
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpU51
<{^_^}> → 6ef19f8e by @rasendubi: androidenv.buildTools: 26.0.1 -> 26.0.2
<{^_^}> → d30f7a5a by @matthewbauer: Merge pull request #36911 from rasendubi/android-build-tools
<{^_^}> [nixpkgs] @dotlambda pushed to python-unstable « python: pip-tools: 1.11.0 -> 2.0.1 »: https://git.io/vpU5H
Lears has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #39075 → gflags: alias to google-gflags → https://git.io/vpU5b
Myrl-saki has joined #nixos
<Myrl-saki> I hate myself
<Myrl-saki> ...
<Myrl-saki> Anyone else noticed that the SSH output stops but the input doesn't?
jperras has joined #nixos
<Myrl-saki> That happened to me, and I C-c'd instead of RET-~-.
<Myrl-saki> Guess what was running under the ssh.
<Myrl-saki> A 1-day-long job on nix-build.
blymberry has joined #nixos
<nick_l> Why can't I login to a nixops deployed machine after it reboots via nixops ssh m1?
<nick_l> AWS says all the network checks pass for example and I didn't make any changes.
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36687 → shairport-sync: 3.0.2 -> 3.1.7 → https://git.io/vAhcd
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUdH
<{^_^}> → 64f1c7ea by @ryantm: shairport-sync: 3.0.2 -> 3.1.7
<{^_^}> → 61a1917d by @matthewbauer: Merge pull request #36687 from ryantm/auto-update/shairport-sync
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36705 → tradcpp: 0.4 -> 0.5.2 → https://git.io/vAhPK
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUd5
<{^_^}> → 219c6f7b by @ryantm: tradcpp: 0.4 -> 0.5.2
<{^_^}> → de078258 by @matthewbauer: Merge pull request #36705 from ryantm/auto-update/tradcpp
bumbleblym has quit [Ping timeout: 276 seconds]
jgt has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36695 → soxr: 0.1.2 -> 0.1.3 → https://git.io/vAhuj
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vpUdb
<{^_^}> → 1cda1182 by @matthewbauer: Merge pull request #36695 from ryantm/auto-update/soxr
<{^_^}> → 06a239e3 by @ryantm: soxr: 0.1.2 -> 0.1.3
reinzelmann has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36752 → glbinding: init at 2.1.4 → https://git.io/vAjGD
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @mt-caret to master « glbinding: init at 2.1.4 (#36752) »: https://git.io/vpUdj
<jgt> anyone fancy pairing with me on a nixops thing? Will pay money.
orivej has quit [Ping timeout: 256 seconds]
<gchristensen> jgt: what do you want to do?
<nick_l> It just took a long time for it to be up. This is better than in 17.09 where it did not work at all.
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36580 → grml-zsh-config: 0.14.2 -> 0.14.3 → https://git.io/vAxuA
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUFc
<{^_^}> → 02757a6a by @ryantm: grml-zsh-config: 0.14.2 -> 0.14.3
<{^_^}> → 3bacb4f5 by @matthewbauer: Merge pull request #36580 from ryantm/auto-update/grml-zsh-config
<jgt> gchristensen: I want to deploy my Haskell app with NixOps from MacOS via a remote builder (in docker) to AWS. This was working perfectly before, until I needed to override haskellPackages with newer haskell packages.
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36582 → gromacs: 4.6.7 -> 2018 → https://git.io/vAx21
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUFu
<{^_^}> → 695a62e7 by @ryantm: gromacs: 4.6.7 -> 2018
<{^_^}> → 1ec5b038 by @matthewbauer: Merge pull request #36582 from ryantm/auto-update/gromacs
<jgt> gchristensen: what I have now almost works, but instead of getting a compiled binary of my app, I get a load of dyn_hi and hi files
<{^_^}> [nixpkgs] @matthewbauer closed pull request #37510 → libmysql: 2.3.4 -> 3.0.3 → https://git.io/vxck7
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37578 → xkeyboard_config: 2.22 -> 2.23.1 → https://git.io/vxCZ7
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vpUFo
<{^_^}> → 1a6439fe by @ryantm: xkeyboard_config: 2.22 -> 2.23.1
<jgt> gchristensen: worth mentioned too that the newer set of haskell packages is generated with stack2nix
<{^_^}> → 13fb4458 by @matthewbauer: Merge pull request #37578 from ryantm/auto-update/xkeyboard-config
<jgt> s/mentioned/mentioning/
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37621 → boost: Fix static library builds. → https://git.io/vxleA
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vpUFS
<{^_^}> → ec04583a by @matthewbauer: Merge pull request #37621 from ivan-tkatchev/boost-static-fix
<{^_^}> → c1127b95 by tkatchev: boost: Fix static library builds. (link=static and runtime-link=static together breaks Boost's build scripts.)
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37515 → Fix permission on working directory → https://git.io/vxctn
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUFd
<{^_^}> → e5073bcb by @MHOOO: Fix permission on working directory
<{^_^}> → 9e01411a by @matthewbauer: Merge pull request #37515 from MHOOO/patch-2
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37512 → Fix spark scripts that use dirname → https://git.io/vxcIh
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUFN
<{^_^}> → 006332d8 by @MHOOO: Fix spark scripts that use dirname
<{^_^}> → 2f0f9b4d by @matthewbauer: Merge pull request #37512 from MHOOO/patch-1
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @Esteth to master « ffmpeg-full: Enable vo-amrwbenc (#37432) »: https://git.io/vpUFp
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37432 → ffmpeg-full: enable libvo-amrwbenc → https://git.io/vxZ4g
<{^_^}> [nixpkgs] @Mic92 merged pull request #39075 → gflags: alias to google-gflags → https://git.io/vpU5b
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpUbv
<{^_^}> → 6c01c7fc by @Ma27: gflags: alias to google-gflags
<{^_^}> → 4b7abf36 by @Mic92: Merge pull request #39075 from Ma27/fix-gflags-package-duplication
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37388 → update-locatedb: fix update-locatedb service for mlocate → https://git.io/vxGZn
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUbf
<{^_^}> → 1f838254 by @acowley: locate: fix `update-locatedb` service for `mlocate`
<{^_^}> → 4fe1c9e3 by @matthewbauer: Merge pull request #37388 from acowley/mlocate-updatedb
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ryantm to master « fs-uae: 2.8.3 -> 2.8.4 (#37295) »: https://git.io/vpUbB
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37295 → fs-uae: 2.8.3 -> 2.8.4 → https://git.io/vxO9J
xcmw has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37343 → libv4l: 1.12.3 -> 1.14.2 → https://git.io/vx3zf
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vpUb2
<{^_^}> → 38acfcad by @ryantm: libv4l: 1.12.3 -> 1.14.2
<{^_^}> → 9f9cef97 by @matthewbauer: Merge pull request #37343 from ryantm/auto-update/v4l-utils
Myrl-saki has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37336 → librdf_rasqal: 0.9.32 -> 0.9.33 → https://git.io/vx3Cw
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUby
<{^_^}> → 7bb9c5cb by @ryantm: librdf_rasqal: 0.9.32 -> 0.9.33
<{^_^}> → e9ec5ff7 by @matthewbauer: Merge pull request #37336 from ryantm/auto-update/rasqal
<jgt> gchristensen: it could of course be that I'm just doing my overrides/overlays wrong
vaninwagen has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37330 → libsForQt5.qscintilla: 2.9.4 -> 2.10.3 → https://git.io/vx3ZT
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUNW
<{^_^}> → 8ee6a03a by @ryantm: libsForQt5.qscintilla: 2.9.4 -> 2.10.3
<{^_^}> → ba034b4d by @matthewbauer: Merge pull request #37330 from ryantm/auto-update/qscintilla-qt5
Myrl-saki has joined #nixos
raxius has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37028 → itstool: 2.0.2 -> 2.0.4 → https://git.io/vxIXJ
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vpUNE
<{^_^}> → 48698a06 by @ryantm: itstool: 2.0.2 -> 2.0.4
<{^_^}> → 15041489 by @matthewbauer: Merge pull request #37028 from ryantm/auto-update/itstool
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37058 → libxml2: 2.9.7 -> 2.9.8 → https://git.io/vxLt3
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vpUN2
<{^_^}> → 3157bd3d by @ryantm: libxml2: 2.9.7 -> 2.9.8
<{^_^}> → 0b4f002a by @matthewbauer: Merge pull request #37058 from ryantm/auto-update/libxml2
pkill9 has quit [Quit: WeeChat 2.1]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36595 → hsqldb: 1.8.0.9 -> 2.4.0 → https://git.io/vAxSz
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUNy
<{^_^}> → 7f79a905 by @matthewbauer: Merge pull request #36595 from ryantm/auto-update/hsqldb
<{^_^}> → d04b8206 by @ryantm: hsqldb: 1.8.0.9 -> 2.4.0
<{^_^}> [nixpkgs] @tokudan opened pull request #39077 → freerdp 2.0.0-rc1 -> 2.0.0-rc2 → https://git.io/vpUNS
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36587 → gssdp: 1.0.1 -> 1.0.2 → https://git.io/vAxKX
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUN9
<{^_^}> → 4897346f by @ryantm: gssdp: 1.0.1 -> 1.0.2
<{^_^}> → 3425c388 by @matthewbauer: Merge pull request #36587 from ryantm/auto-update/gssdp
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36486 → c-ares: 1.13.0 -> 1.14.0 → https://git.io/vANKD
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vpUNb
<{^_^}> → 78e23d13 by @ryantm: c-ares: 1.13.0 -> 1.14.0
<{^_^}> → 0934f683 by @matthewbauer: Merge pull request #36486 from ryantm/auto-update/c-ares
CornBurglar has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUNp
<{^_^}> → ef7f1c5e by @matthewbauer: Merge pull request #36440 from dywedir/iwd
<{^_^}> → 2a147bea by @dywedir: iwd: 2017-12-14 -> 0.1
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36440 → iwd: 2017-12-14 -> 0.1 → https://git.io/vAbS3
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36406 → Bluetooth MIDI support → https://git.io/vAFuV
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/vpUAJ
<{^_^}> → 7093810b by @alesguzik: bluez: optionally enable midi support
<{^_^}> → 0555f247 by @alesguzik: nixos/bluetooth: allow to specify custom bluez package
<{^_^}> → 8691bb57 by @matthewbauer: Merge pull request #36406 from alesguzik/bluez-midi
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36407 → bitwig-studio2: update version 2.2.2 -> 2.3.1 → https://git.io/vAFz8
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpUAk
<{^_^}> → 51e0baf4 by @alesguzik: bitwig-studio2: update version 2.2.2 -> 2.3.1
<{^_^}> → ff540b8c by @matthewbauer: Merge pull request #36407 from alesguzik/update-bitwig
monotux has joined #nixos
<CornBurglar> aye has anyone run into issues with OpenGL using nixos?
<CornBurglar> When I try to run anything OpenGL I recieve libGL errors with loading drivers that I cannot resolve from any seemingly similar issues I find online
blankhart has joined #nixos
pkill9 has joined #nixos
dbmikus has quit [Ping timeout: 256 seconds]
ihar has joined #nixos
<kreisys> hjälp! hydra doesn't let me access filtered sources created with builtins.path :'(
<kreisys> actually that's restricted mode in general
chaker` has quit [Ping timeout: 256 seconds]
<kreisys> if the original path is a declared input then why isn't the derived path allowed?
<spacefrogg> You can try to filter them at evaluation time and then use the result as sources for your actual derivation
<{^_^}> [nixpkgs] @primeos pushed to master « androidStudioPackages.{dev,canary}: 3.2.0.9 -> 3.2.0.10 »: https://git.io/vpUxF
<kreisys> I thought all builtins are eval time
dbmikus has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « zsh: 5.5 -> 5.5.1 »: https://git.io/vpUpq
nick_l has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to release-18.03: https://git.io/vpUpZ
<{^_^}> → 8caa3e20 by @NeQuissimus: zsh: 5.5 -> 5.5.1
<{^_^}> → 0c928597 by @hedning: zsh: 5.4.2 -> 5.5
pkill9 has quit [Quit: WeeChat 2.1]
<kreisys> package.json can contain only {} for that matter
fragamus has joined #nixos
<kreisys> not sure why it wouldn't let me do that. feels legit to me
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/32f08fe6c50 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
sehqlr has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « quiterss: 0.18.9 -> 0.18.10 »: https://git.io/vpUhY
sehqlr has quit [Client Quit]
xy2_ has quit [Ping timeout: 264 seconds]
jtojnar has quit [Read error: Connection reset by peer]
sehqlr has joined #nixos
jtojnar has joined #nixos
sehqlr_ has joined #nixos
<LnL> why are you forcing ./. to be a path?
<kreisys> in my actual use case there's a filter there as well.
<kreisys> to remove .git and node_modules
<kreisys> as well as any result* symlinks
<LnL> yes but that doesn't matter for (./. + "/package.json")
<LnL> your example tries to read /nix/store/...-src-copied-to-store/package.json instead of /path/to/src/package.json
<kreisys> Oh I see what you're saying... it was actually "${src}/package.json" originally. I tried changing it hoping it would make a difference. it didn't
<LnL> that's not allowed at evaluation time
sehqlr has quit [Ping timeout: 256 seconds]
raynold has joined #nixos
<kreisys> It isn't? Is that documented anywhere?
<bkchr[m]> Peter Hoeg: Did you tried to build my kde framework pr?
<kreisys> there's not much information about restricted eval
<LnL> yeah, that's similar try "${toString src}/package.json"
pkill9 has joined #nixos
sehqlr_ has quit [Ping timeout: 256 seconds]
<LnL> using "${path}" will copy it to the store implicitly
chisui_w has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<kreisys> well I guess there's no harm in pulling it from the original source dir... it's just a bit wonky because now I have to keep passing around filteredSrc and origSrc or something like that
<LnL> right
<LnL> you could use the outPath trick
vrdhn has quit [Ping timeout: 256 seconds]
<kreisys> haven't heard of that
<kreisys> you have an example by any chance?
<LnL> I'm on my phone right now
<LnL> yeah
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop-beta: Mark as broken (really outdated) »: https://git.io/vpUju
<kreisys> I'm not sure what he's doing there but I'll dig in
<kreisys> thx!
Tucky has quit [Quit: WeeChat 2.1]
chaker` has joined #nixos
lo_mlatu has quit [Ping timeout: 263 seconds]
rauno has quit [Ping timeout: 256 seconds]
<LnL> let src = { outPath = builtins.filterSource f ./.; config = (./. + "/package.json"); } in ...
xcmw has quit [Ping timeout: 276 seconds]
<LnL> I should be able to use "${src}" then
<LnL> or src.config.version for the json metadata
Twey has joined #nixos
<jgt> offer is still open. Will pay someone to pair with me on fixing my Nix setup. Need to override haskellPackages with one generated by stack2nix, and deploy with nixops. Probably takes 30-60 minutes?
grp has joined #nixos
xy2_ has joined #nixos
<kreisys> wait is outPath a special parameter or something? why would "${src}" work if it's now an attrset?
ryanartecona has quit [Quit: ryanartecona]
blankhart has quit [Read error: Connection reset by peer]
blankhart has joined #nixos
<jluttine> Has anyone used Nix environment with matplotlib in Windows somehow? I'm thinking if it's possible to use Nix to manage our Python environments but some people are using Windows so I'm thinking if that's a no-go..
<Twey> Is there a way to get the path/directory of the current file (i.e. not copied to the store)? I'm making a nix-shell that should, amongst other things, append a directory of the source to the path
vodoo_ has joined #nixos
<vodoo_> hi
<vodoo_> anybody here?
lonokhov has quit [Quit: q]
<vodoo_> i need some help about install and config lamp
<elvishjerricco> Is there anything I can do with Nix 1.11 to test whether a binary cache is configured?
katyucha has joined #nixos
<vodoo_> how can i install mysql and phpmyadmin ???
<katyucha> vodoo_: configure your services, rebuild and it runs
<LnL> kreisys: yeah, it's used when casting an attribute set to a string
<vodoo_> thankyou .. what about phpmyadmin ?
<Twey> kreisys: src is most likely a derivation; derivations are a particular type in Nix, and the result of converting a derivation to a string is to give the store path of its default output
<LnL> kreisys: so you can use it like a regular path
<katyucha> vodoo_: i don't know, never use it
<tnks> can someone help me find the functions in nixpkgs that do the configuration of /run/current-system/sw?
<tnks> I'm curious to see the steps.
ma27 has quit [Ping timeout: 256 seconds]
<tnks> specifically, I'm wondering if I can emulate it in Docker.
<kreisys> adding outPath implicitly turns an attrset into a derivation?
katona has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @bjornfor pushed commit from R. RyanTM to master « libsigrokdecode: 0.5.0 -> 0.5.1 »: https://git.io/vpTvK
<{^_^}> [nixpkgs] @bjornfor closed pull request #39044 → libsigrokdecode: 0.5.0 -> 0.5.1 → https://git.io/vpJFe
<Twey> kreisys: No; I was guessing without context, please ignore :)
sigmundv has quit [Ping timeout: 260 seconds]
<kreisys> oh ok so it just tricks the interpreter into thinking that it's a derivation for the purpose of converting it to a string
katyucha has quit [Ping timeout: 264 seconds]
<kreisys> because putting this into nix repl: "${ { outPath = ./.; } }"
<kreisys> definitely gives me a store path
leat has quit [Ping timeout: 256 seconds]
thblt has quit [Remote host closed the connection]
thblt has joined #nixos
<{^_^}> [nixpkgs] @bjornfor pushed commit from R. RyanTM to master « munin: 2.0.34 -> 2.0.37 »: https://git.io/vpTfn
<{^_^}> [nixpkgs] @bjornfor closed pull request #39042 → munin: 2.0.34 -> 2.0.37 → https://git.io/vpJ5L
CornBurglar has quit [Ping timeout: 260 seconds]
ma27 has joined #nixos
<LnL> kreisys: Twey: a derivation is represented as { type = "derivation"; outPath = ...; }
<kreisys> yeah that's what I was trying to say... so it's a "trick" because it's not an "actual" derivation (as it lacks the type = "derivation" part)
<Twey> Huh, *really*. I didn't know that
<{^_^}> [nixpkgs] @emmanuelrosa opened pull request #39080 → partclone: add support for various filesystems → https://git.io/vpTfd
<Twey> I assumed derivations were built-in types, since they have the special build-in function to create them
ryantrinkle has quit [Ping timeout: 264 seconds]
ryanartecona has joined #nixos
<LnL> nope, nothing special about them inside an expression
<LnL> { type = "derivation"; } #=> «derivation ???»
<LnL> but that's not a real derivation ofcorse, there's no corresponding drv file with build instructions
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpTJf
<{^_^}> → 7fc3e0e0 by R. RyanTM: fail2ban: 0.10.2 -> 0.10.3.1
<{^_^}> → 0247e7e4 by @matthewbauer: Merge pull request #38734 from r-ryantm/auto-update/fail2ban
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38734 → fail2ban: 0.10.2 -> 0.10.3.1 → https://git.io/vxb5k
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38732 → gdbm: 1.14 -> 1.14.1 → https://git.io/vxb7u
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vpTJL
<{^_^}> → 3e3a26e0 by R. RyanTM: gdbm: 1.14 -> 1.14.1
<{^_^}> → ef59ab13 by @matthewbauer: Merge pull request #38732 from r-ryantm/auto-update/gdbm
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38701 → samtools: 1.7 -> 1.8 → https://git.io/vxbIf
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpTJ3
<{^_^}> → 88098d58 by @matthewbauer: Merge pull request #38701 from r-ryantm/auto-update/samtools
<{^_^}> → c478b621 by R. RyanTM: samtools: 1.7 -> 1.8
katyucha has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39051 → geoclue2: 2.4.7 -> 2.4.8 → https://git.io/vpUJo
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vpTJl
<{^_^}> → e5b67869 by R. RyanTM: geoclue2: 2.4.7 -> 2.4.8
<{^_^}> → 13662bcd by @matthewbauer: Merge pull request #39051 from r-ryantm/auto-update/geoclue
sehqlr has joined #nixos
jgt has quit [Ping timeout: 265 seconds]
xy2_ has quit [Quit: WeeChat 1.9.1]
<Twey> LnL: So the special thing the function does is just make the .drv file?
concate[m] has joined #nixos
<LnL> yes, builtins.derivation is special but it's result is just a set
stranger___ has joined #nixos
xy2_ has joined #nixos
<etu[m]> gchristensen: Did you have a link somewhere where it was possible to buy NixOS stickers?
dbmikus has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @KingOfThePirates opened pull request #39081 → mercurial: 4.5.2 -> 4.5.3 → https://git.io/vpTUq
jrolfs has joined #nixos
<Twey> LnL: Neat, thanks
nuncanada2 has quit [Remote host closed the connection]
nuncanada2 has joined #nixos
jgt has joined #nixos
blankhart has quit [Read error: Connection reset by peer]
blankhart has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to python-unstable « python: pip-tools: 1.11.0 -> 2.0.1 »: https://git.io/vpTTk
sehqlr has quit [Quit: Konversation terminated!]
sehqlr has joined #nixos
jgt has quit [Ping timeout: 240 seconds]
jperras has quit [Quit: WeeChat 2.1]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8caa3e2010e (from 81 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<Izorkin> joachifm: Hi. How to need to merge PR maxscale ?
<{^_^}> [nixpkgs] @worldofpeace closed pull request #38801 → wire-desktop: init at 3.0.2816 → https://git.io/vxAIZ
<{^_^}> [nixpkgs] @worldofpeace reopened pull request #38801 → wire-desktop: init at 3.0.2816 → https://git.io/vxAIZ
astiles has joined #nixos
<elvishjerricco> shlevy: I feel like you would probably have an answer to my question :P Any way to use Nix 1.11 from a script to check if the system has a certain binary cache configured?
chisui has joined #nixos
<tilpner> elvishjerricco - Can't you just check /etc/nix/nix.conf?
dbmikus has joined #nixos
chisui has quit [Client Quit]
astiles has quit [Ping timeout: 260 seconds]
astiles has joined #nixos
<elvishjerricco> tilpner: That's a bit of a sore spot :P The bugs we're having with `try-reflex` have to do with our attempting to add caches to that file automatically. Sometimes it doesn't work for a variety of obscure reasons. `cat`'ing the file after writing to it seems like a kinda bad test.
thblt has quit [Remote host closed the connection]
<tilpner> Oh, hmm. Can you try to use the cache?
<Guillaum> I'm having issue to run a proprietary software on nixos. I did the usual patchelf to change the dynamic linker, but I'm having linking issues. With ldd, I'm having a lot of "...lib/libm.so.6: version `GLIBC_2.27' not found (required by ..../qtwebkit-5.9.1/lib/libQt5WebKit.so.5)" for example.
<tilpner> Guillaum - Have you tried running it with steam-run?
<tilpner> (If you only wnat to run it, and don't care to package it)
<elvishjerricco> tilpner: Yea but that also has a variety of edge cases. Like if they have distributed builders, using `-j 0` can just have it use the remote builders if the cache isn't configured
chaker`` has joined #nixos
chaker` has quit [Remote host closed the connection]
Fare has joined #nixos
<tilpner> elvishjerricco - Only if the remote builders have that cache added, right?
<{^_^}> [nixpkgs] @matthewbauer pushed to master « Revert "hfsprogs: init at 332.25" »: https://git.io/vpTIn
<Guillaum> tilpner: no, I was not aware of "steam-run"
<elvishjerricco> tilpner: I don't think -j 0 will propagate to remote builders.
<LnL> elvishjerricco: I was trying to do something similar today, my idea was to use impureEnvVars to make a dummy build fail if it's built locally instead of substituted
<elvishjerricco> LnL: Eek :P
<{^_^}> [nixpkgs] @georgewhewell opened pull request #39082 → binutils: fix R_AARCH64_ABS32 on aarch64 → https://git.io/vpTIW
<LnL> elvishjerricco: but for some reason impureEnvVars don't seem to work anymore for me
<tilpner> Guillaum - It's a quick way to get an FHS environment, built for the Steam game distribution platform. It tends to work for many download binaries, so it's worth a try
nuncanada2 has quit [Ping timeout: 240 seconds]
<tilpner> But yours might of course depend on some exotic libraries, so you might have to add some packages
<elvishjerricco> LnL: Darn. Well anyway, relying on finding a certain build on the cache also has edge cases. Like if the build was downloaded previously but the cache has since been removed, or if the build finds its way onto another cache they use, like an ssh store to a machine they use to build with a lot.
<elvishjerricco> Bleh. I guess parsing nix.conf is probably the right way to go
humanoyd has joined #nixos
<elvishjerricco> Assuming there are no other environmental factors that can influence the cache list, besides command line flags?
<Guillaum> tilpner: (actually I'm trying to package the software for nixos, so steam-run may be a temporary solution, but I'll try
nur0n0 has joined #nixos
<tilpner> Guillaum - Oh! For nixpkgs, FHS' should be the last possible solution. Unfortunately patchelf-ing lots of libraries is very tedious :/
jrolfs_ has joined #nixos
ryantrinkle has joined #nixos
leat has joined #nixos
Myrl-saki has quit [Read error: Connection reset by peer]
sehqlr has quit [Quit: Konversation terminated!]
sehqlr has joined #nixos
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to release-18.03: https://git.io/vpTIN
<{^_^}> → 5f937db4 by @knedlsepp: clblas: Enable darwin build
<{^_^}> → 3fd2b19d by @knedlsepp: pythonPackages.libgpuarray: enable darwin build
chisui has joined #nixos
blymberry has quit [Quit: Leaving]
vodoo_ has quit [Quit: Page closed]
<nur0n0> what is the relationship between nix and include paths? calling 'nix-shell -p gcc binutils linenoise' doesn't seem to change any relevant environment variables. do I need to explicitly tell gcc where to look?
chisui has quit [Client Quit]
<nur0n0> or is wrapping the script in a 'stdenv.mkDerivation' the best way?
sigmundv__ has joined #nixos
<tilpner> Look at $NIX_CFLAGS_COMPILE
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos
ma27 has quit [Client Quit]
ma27 has joined #nixos
sigmundv has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
sehqlr has quit [Ping timeout: 264 seconds]
sigmundv__ has quit [Ping timeout: 256 seconds]
sigmundv has quit [Read error: Connection reset by peer]
sigmundv has joined #nixos
<nur0n0> tilpner: thank you
badi has quit [Quit: WeeChat 1.9.1]
<johnw> shlevy: which commit of yours fixed lsof again?
jperras has joined #nixos
thblt has joined #nixos
<shlevy> johnw: 85422c0f51e322c75b14fbf1cb9e3851eaad7123
drakonis has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #39083 → nixos/tor: use RuntimeDirectory, StateDirectory → https://git.io/vpTmY
xcmw has joined #nixos
badi has joined #nixos
<astiles> is it possible to build docker images with Nix? I found "dockerTools" in the nixpkgs docs and found this blog post: http://lethalman.blogspot.com/2016/04/cheap-docker-images-with-nix_15.html
<astiles> however, I receive and error "undefined variable 'goPackages' when I try and run "nix-build redis-generic.nix -A redisOnDebian"
<kini> How would one package for nix/nixpkgs an application that is "constantly changing"? For example, jDownloader is a program that attempts to automate downloading of files from a large variety of "file locker" websites by scraping pages, "clicking" ads, solving CAPTCHAs, waiting for timers, etc.
<kini> jDownloader is in a sort of arms race with these sites so it has to keep updating itself constantly in order to maintain functionality. That seems like it doesn't fit that well with nixpkgs... or does it?
katyucha has quit [Ping timeout: 256 seconds]
sigmundv has quit [Ping timeout: 264 seconds]
<tilpner> kini - How volatile are those changes?
jperras_ has joined #nixos
<kini> As in how frequent? I haven't tried using it for a couple years now, but as I recall it was anywhere between once every two days and multiple times a day
<tilpner> How do other distributions do it?
<kini> they don't, as far as I've seen :P
<kini> it is open source and cross platform, so it should in theory be possible, but I guess nobody has bothered to figure out how to package it in a sensible way
<tilpner> You could technically automate it, write a script to update the expression, put it on a timer, and push to an out-of-tree repo
<tokudan[m]> kini: well, you could try just adding a wrapper script that simply generates a nix expression and then builds and runs it
katyucha has joined #nixos
<tilpner> Then provide an overlay like nixpkgs-mozilla does for nightly firefox and rust builds
<tilpner> But I'm not really convinced it's worth it. Surely it has a self-updater?
jperras has quit [Ping timeout: 264 seconds]
<kini> yeah, it does have a self updater, but I guess it mutates its own files in place so it wouldn't work to have it in the nix store
<tilpner> Might be easier to modify the self-updater to use e.g. ~/.local
<kini> (I've never actually tried running it on linux, I've only used the windows version before -- I more just brought it up as an example to ask a general question)
<tilpner> And put it in an FHS if it downloads libs/binaries
<kini> Hmm, good ideas. Thanks :) Also, I didn't realize we had nightly firefox/rust builds via an overlay. That's cool, and shows that it's feasible to package something that changes daily, at least.
<zybell> how about making it an interpreter for a DSL (probably already is) and put interpreter in store, DSL scripts in /var
katyucha has quit [Ping timeout: 240 seconds]
<zybell> ?
<kini> if it isn't already an interpreter for a DSL that seems to go beyond simple distro-specific patching into "fork" territory :P
<kini> but yeah, also an idea
spear2 has joined #nixos
MP2E has joined #nixos
Lisanna has joined #nixos
gleber_ has joined #nixos
<{^_^}> [nix] @shlevy opened pull request #2084 → isFunction: True on primops. → https://git.io/vpTOW
<Lisanna> Should library package derivation names be named "libname" or "name"? what about their nixpkgs attr name?
<kini> I think both are "libname" usually
<kini> if you look at pkgs/top-level/all-packages.nix there's a huge swath of that file with lines like "libfoo = callPackage ../development/libraries/libfoo { };"
nuncanada2 has joined #nixos
jperras_ is now known as jperras
katyucha has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 8 commits to release-18.03: https://git.io/vpT3O
<{^_^}> → 7361cadc by @aszlig: Increase max group name length to 32 characters
<{^_^}> → 786f498c by @FRidh: python3: 3.6.4 -> 3.6.5
<{^_^}> → 504f962a by @vcunat: Merge #38108: python3: 3.6.4 -> 3.6.5
<Lisanna> kini alright, thanks
i-am-the-slime has joined #nixos
astiles has quit [Remote host closed the connection]
ryanartecona has quit [Quit: ryanartecona]
astiles has joined #nixos
humanoyd has quit [Quit: WeeChat 2.1]
Synthetica has quit [Quit: Connection closed for inactivity]
vidbina has joined #nixos
rauno has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to master « treewide: move "extensions" drvs to dir »: https://git.io/vpTsS
xy2_ has quit [Ping timeout: 256 seconds]
xcmw has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vpTsN
<{^_^}> → 15e44477 by @jbgi: Add bash to jira PATH: required by health checks.
<{^_^}> → f46368be by @jbgi: atlassian-jira: 7.7.0 -> 7.9.0
<{^_^}> → a2ce342b by @Mic92: Merge pull request #39074 from jbgi/jira-updates
<{^_^}> [nixpkgs] @Mic92 merged pull request #39074 → atlassian-jira: 7.7.0 -> 7.9 and add bash to service path → https://git.io/vpUM9
<{^_^}> [nixpkgs] @LnL7 opened pull request #39084 → vim-plugin: updates → https://git.io/vpTGk
xy2_ has joined #nixos
blankhart has quit [Read error: Connection reset by peer]
jrolfs__ has joined #nixos
<{^_^}> [nixpkgs] @LnL7 merged pull request #39027 → grass: Compile with libLAS → https://git.io/vpJBf
<{^_^}> [nixpkgs] @LnL7 pushed 4 commits to master: https://git.io/vpTGu
<{^_^}> → 985cd571 by @mpickering: Build LASZip on unix
<{^_^}> → 406e20b8 by @mpickering: Fix libLAS darwin build
<{^_^}> → 577bbdc5 by @jascase901: grass: compile with libLAS
blankhart has joined #nixos
alex`` has joined #nixos
jrolfs_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #38811 → handbrake: switch to libav_12 → https://git.io/vxACQ
<{^_^}> [nixpkgs] @Mic92 pushed commit from @Anton-Latukha to master « handbrake: switch to libav_12 (#38811) »: https://git.io/vpTGM
rosa has joined #nixos
logzet has joined #nixos
rauno has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 256 seconds]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has joined #nixos
kisik21 has joined #nixos
orbekk has quit [Quit: WeeChat 2.0]
<kisik21> Hello! Can one create /usr/local and not risk it being deleted on system rebuild?
orbekk has joined #nixos
Alling has quit [Ping timeout: 260 seconds]
<Mic92> kisik21: nixos will not delete it, if you compile against libraries, those might be garbage collected though.
quackslikeaduck has joined #nixos
<kisik21> I frequently place scripts in /usr/local, so libraries would not be a problem.
<Mic92> Should work. Though adding them to the nix store instead is not much harder.
Fare has quit [Ping timeout: 256 seconds]
kisik21 has left #nixos [#nixos]
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vpTnI
<{^_^}> → 7d80c755 by @LnL7: vim-plugins: disable pager in example command
<{^_^}> → 4dc3b713 by @LnL7: vim-plugins: update
<{^_^}> → 936f96f9 by @Mic92: Merge pull request #39084 from LnL7/vim-updates
<{^_^}> [nixpkgs] @Mic92 merged pull request #39084 → vim-plugin: updates → https://git.io/vpTGk
<pkill9> how do i enable nonfree software in the nix channel?
<symphorien> !unfree
<{^_^}> You cannot install your unfree software? See https://nixos.wiki/wiki/FAQ/unfree
<pkill9> thanks
<Mic92> There some NLP APIs that could parse the whole question instead without too much effort.
<Mic92> *there are
rosa has quit [Quit: rosa]
rauno has joined #nixos
rosa has joined #nixos
vaninwagen has joined #nixos
Guest4662 is now known as Georgyo
Georgyo has quit [Changing host]
Georgyo has joined #nixos
Georgyo has joined #nixos
leat has quit [Quit: WeeChat 2.0.1]
<Georgyo> dear #nixos, I am trying to override the src attribute of the nix package, so it builds off my own revision of nix with my changes, but the nix expression/package seems to be written in a fairly convoluted way, such that I can't use override or overrideAttrs
nuncanada2 has quit [Read error: Connection reset by peer]
<LnL> derp, no wonder impureEnvVars didn't work
<Georgyo> in particular, I want to build directly from git, so I want to use nixUnstable (which has fromGit set), but when I use overrideAttrs to change the src attribute, it seems to set fromGit = false
<{^_^}> [nixpkgs] @xeji opened pull request #39085 → bwsyncandshare: init at 11.5.625 → https://git.io/vpTce
<Georgyo> why???????????? pls help
leat has joined #nixos
rosa has quit [Quit: rosa]
<{^_^}> [nixpkgs] @Mic92 merged pull request #39080 → partclone: add support for various filesystems → https://git.io/vpTfd
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpTcO
<{^_^}> → 8e52dc10 by @emmanuelrosa: partclone: add support for various filesystems
<{^_^}> → 391b1ffc by @Mic92: Merge pull request #39080 from emmanuelrosa/partclone-all-fs
<{^_^}> [nixpkgs] @Mic92 merged pull request #39065 → edbrowse: 3.7.2 -> 3.7.3 → https://git.io/vpUB1
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpTcR
<{^_^}> → 8e508859 by R. RyanTM: edbrowse: 3.7.2 -> 3.7.3
<{^_^}> → 82faf2a4 by @Mic92: Merge pull request #39065 from r-ryantm/auto-update/edbrowse
<{^_^}> [nixpkgs] @LnL7 pushed 3 commits to release-18.03: https://git.io/vpTcr
<{^_^}> → 163c1e79 by @mpickering: Fix libLAS darwin build
<{^_^}> → fc5d522e by @mpickering: Build LASZip on unix
<{^_^}> → 41bc49a0 by @jascase901: grass: compile with libLAS
<{^_^}> [nixpkgs] @Mic92 merged pull request #39064 → frostwire-bin: 6.6.3 -> 6.6.5 → https://git.io/vpU8n
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpTcP
<{^_^}> → d4cc20c0 by R. RyanTM: frostwire-bin: 6.6.3 -> 6.6.5
<{^_^}> → d308ac92 by @Mic92: Merge pull request #39064 from r-ryantm/auto-update/frostwire
taktoa has quit [Remote host closed the connection]
robstr has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @Mic92 merged pull request #39063 → file: 5.32 -> 5.33 → https://git.io/vpUlH
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/vpTCL
<{^_^}> → 02b022a9 by R. RyanTM: file: 5.32 -> 5.33
<{^_^}> → 991e0084 by @Mic92: Merge pull request #39063 from r-ryantm/auto-update/file
joko has quit [Quit: leaving]
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 256 seconds]
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
<Akii> oh wow I got Nix to build my Haskell project
<Akii> after upgrading it for two days
<Akii> which isn't Nix's fault of course
<Akii> I think I'm almost at a point where I can deploy this now
jperras has quit [Read error: Connection reset by peer]
dbmikus has quit [Ping timeout: 260 seconds]
katyucha has quit [Quit: Lost terminal]
nuncanada has joined #nixos
joko has joined #nixos
knupfer has joined #nixos
daveo has joined #nixos
jperras has joined #nixos
<kreisys> LnL: thanks a lot! it took a bit of a wild goose chase to find all the places that use bad paths but that was the last hurdle! hydra is a happy camper now! 😅
<kreisys> now I need to clean up all the code... it looks like it was hit by a tornado
<daveo> kreisys: yaaay
<daveo> boomshroom: I'm ready to resume trying to fix the EFI if you are.
<daveo> boomshroom: with a fast connection till 5pm EST
sehqlr has joined #nixos
hotfuzz_ is now known as hotfuzz
ndrei has joined #nixos
ndrei has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer pushed to master « pkgs/shells: move extensions to subdirs »: https://git.io/vpTlG
<mpickering> kreisys: I feel that pain. What are you packaging?
vidbina has quit [Ping timeout: 256 seconds]
rauno has quit [Ping timeout: 240 seconds]
<Lisanna> "outputLib is meant for libraries, typically residing in lib/ and libexec/. They go to lib or out by default."
<iqubic> boomshrom isn't here right now.
<Lisanna> which is better? lib or out?
jperras has quit [Read error: Connection reset by peer]
ckauhaus has quit [Quit: Leaving.]
astiles has quit [Remote host closed the connection]
astiles has joined #nixos
<kreisys> mpickering: my work's product.. the part of it that we should really break down into smaller modules but never actually do. you know that one? lol
<mpickering> Lisanna: What files are you talking about exactly? I would say lib without any futher info
<mpickering> kreisys: It's worth it once you have packaged it though as you know it might continue to work in the future ;)
<kreisys> It has so many dependencies that the npm-shrinkwrap file is more than a fracking megabyte
<Lisanna> mpickering trying to package an autotools project
<Lisanna> and trying to decide which outputs I should have
jperras has joined #nixos
<Lisanna> I see that it picks default values based on what I have in drv.outputs
<Lisanna> currently it's just [ "out" "dev" ]
knupfer has quit [Quit: knupfer]
<Lisanna> bah, I'm getting a cyclic reference, so maybe I can't do a split-output derivation anyways
<zybell> what does it do with ["out" "dev" "lib" ]?
<zybell> that is if you let the choice to nix?
i-am-the-slime has quit [Ping timeout: 256 seconds]
<zybell> *left
rosa has joined #nixos
<Lisanna> zybell well, there's no bin, so that doesn't seem like a useful split
<Lisanna> and, that wouldn't fix the cyclic reference
i-am-the-slime has joined #nixos
sigmundv has joined #nixos
<Lisanna> guess I answered my own question here
jperras has quit [Ping timeout: 256 seconds]
dbmikus has joined #nixos
<mpickering> why are you trying to split it in the first place?
dbmikus_ has joined #nixos
Fare has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #39067 → simplenote: 1.0.6 -> 1.1.3 → https://git.io/vpU0e
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpT81
<{^_^}> → 287ffb69 by @KingOfThePirates: simplenote: 1.0.6 -> 1.1.3
<{^_^}> → d3cd910e by @Mic92: Merge pull request #39067 from KingOfThePirates/patch-1
<{^_^}> [nixpkgs] @LnL7 closed pull request #29082 → grass: compiles with libLAS → https://git.io/v5r8V
<Lisanna> mpickering thought that was standard practice... I see lots of packages with that split
i-am-the-slime has quit [Ping timeout: 256 seconds]
chaker`` has quit [Remote host closed the connection]
<mpickering> I didn't think it was particularly
ndrei has joined #nixos
dbmikus has quit [Ping timeout: 240 seconds]
<mpickering> perhaps that is a more modern style which hasn't reached the dark corners I am having to consider
vidbina has joined #nixos
roconnor has joined #nixos
stranger___ has quit [Quit: Connection closed for inactivity]
jperras has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #39086 → oraclejdk8: 8.161 -> 8.171 → https://git.io/vpT4T
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vpT4O
<{^_^}> → 1d971b7a by @jbgi: azure-agent: add option to control auto mount
<{^_^}> → 28e352cf by @jbgi: azure-agent: add bash to service path.
<{^_^}> → 6bd83e62 by @Mic92: Merge pull request #39072 from jbgi/azure-agent-mount-resource-option
<{^_^}> [nixpkgs] @Mic92 merged pull request #39072 → Azure agent mount resource option + bash to path → https://git.io/vpUXU
<LnL> kreisys: great!
jacob_ has quit [Quit: Lost terminal]
<ndrei> Hi, I'm trying to set up a system-wide overlay. I've read the docs & the code and I'm stumped as to why it doesn't seem to work. I've created a "nixpkgs-overlays" directory under /etc/nixos, and added a file for a package I'm defining. First line is "self: super:" and the assigning my package name "mypackage = ..". When I run nixos-rebuild I get an "undefined variable" error, but even with broken syntax, nixos-rebuild doesn't complain,
<ndrei> which leads me to believe the problem must be elsewhere...
<joko> ndrei: could you paste your configuration somewhere?
<zybell> Lisanna:you asked what to prefer out or lib. I wanted to really know what the default style would do if not restricted by one of them missing. Usefulness was not considered at this moment.That I wanted to adress later.
<ndrei> joko: sure, here's the whole thing: https://github.com/andreivolt/nixos-config
cheater has joined #nixos
<cheater> hi
<joko> ndrei: you are missing {}
<ndrei> looking at the code, I'm not even sure I have to set nixpkgs.config.overlays = <nixpkgs-overlays>;
<ndrei> oh :/
<cheater> how do i find out the earliest version of nixpkgs that includes the fix to this bug? https://github.com/NixOS/cabal2nix/issues/272
<ndrei> wait, where?
<ndrei> oh
<ndrei> joko: ok, changed that, same effect
<kini> cheater: absent any better method, you could try `git bisect` on the nixpkgs repository (?)
<joko> ndrei: next, use nixpkgs.config.overlays = [(import ./nixpkgs-overlays)];
<cheater> i can't because it takes a few hours to get to the build error
<kini> ouch... then I don't know
<cheater> there must be a way to figure this out right
fragamus has joined #nixos
<ndrei> joko: same
jrolfs__ has quit [Ping timeout: 256 seconds]
<zybell> cheater: do you have git?
<zybell> git log will tell you
telent has joined #nixos
<zybell> fast
dan_b has joined #nixos
endformationage has joined #nixos
<ndrei> joko: this is what I'm looking at, which as I read it says that it looks for a nixpkgs-overlays dir by default, and if it has .nix files in it imports them https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/impure.nix#L42
<cheater> zybell: yes, sure
<joko> ndrei: for the <nixpkgs-overlays> to work you would need to define it manually on your NIX_PATH
<cheater> zybell: what do i search for in the git log? i'm an advanced user, but i don't know what you're hinting at.
<{^_^}> [nixpkgs] @Mic92 merged pull request #39082 → binutils: fix R_AARCH64_ABS32 on aarch64 → https://git.io/vpTIW
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/vpTB1
<{^_^}> → 5ce2d335 by @georgewhewell: binutils: apply patch on aarch64 to fix https://sourceware.org/bugzilla/show_bug.cgi?id=22764
<{^_^}> → 229e629d by @Mic92: Merge pull request #39082 from georgewhewell/binutils-fix-aarch64-relocations
<ndrei> joko: thanks
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ndrei> joko: so that what was up with the try <nixpkgs-overlays>, it's refer to a NIX_PATH entry and not just a plain dir
qewzee has joined #nixos
qewzee has quit [Client Quit]
<joko> ndrei: you guest it right, it's not a plain dir, it's an expression
rosa has quit [Quit: rosa]
<kini> cheater 00bed9edcd99be98e3aa1b1fd378e67fafeb3507 perhaps
ambro718 has joined #nixos
<joko> guessed *
* joko is very sleepy
rosa has joined #nixos
<kini> I did `git log -p pkgs/top-level/all-packages.nix` and grepped for "cabal2nix/issues/272"
<cheater> ahh, good idea
<cheater> thank you
<cheater> what repo is that in?
qewzee has joined #nixos
oktarino has joined #nixos
<ndrei> joko: :) ..
<cheater> kini ^
<ndrei> joko: okay so I've tried your suggestions, and still same thing
simukis has quit [Quit: simukis]
<ndrei> joko: I've updated my config on GitHub if you want to take a look
<joko> ndrei: stdenv.mkDerivation should also be super.stdenv.mkDerivation
<ndrei> same
jrolfs_ has joined #nixos
<ndrei> the thing is, it's like it's not even getting to that point, as I don't get any errors about that
<cheater> can i create my own nixpkgs that's like a specific checkout of nixpkgs, just has one small change? i.e. the version bump of cabal2nix so that the fix for that bug 272 is included
<drakonis_> hmm
<drakonis_> here i wonder a thing
<drakonis_> is there any reason why the top level packages list isn't generated from every available package?
<drakonis_> parsed then generated off every other package?
<drakonis_> this is a little large
<{^_^}> [nix] @shlevy pushed to master « isFunction: True on primops. »: https://git.io/vpTRA
oktarino has quit [Quit: oktarino]
<{^_^}> [nix] @shlevy merged pull request #2084 → isFunction: True on primops. → https://git.io/vpTOW
<{^_^}> [nixpkgs] @matthewbauer pushed to master « treewide: rename bad filenames »: https://git.io/vpT0J
<ndrei> joko: if you're still here, do you have any other hints?
eldad has joined #nixos
eldad has quit [Client Quit]
larsvm has quit [Ping timeout: 264 seconds]
larsvm has joined #nixos
blonkhart has joined #nixos
<cheater> if i fork the nixpkgs git repo onto my github account and push some modifications, how can i use that as the nixpkgs with nix-build?
vidbina has quit [Ping timeout: 260 seconds]
kisik21 has joined #nixos
<mpickering> nix-build <url> works I think
<mpickering> you can definitely point nix-build at a directory at least
<cheater> mpickering: but what do i put in <url>? i'd like it to fetch from github (so that others who try to reproduce my work can do it as well)
mkoenig has joined #nixos
<kisik21> Does someone have a nix expression for Extended Preferences pidgin plugin?
<joko> ndrei: I am, I was trying to create your system
jperras_ has joined #nixos
<ndrei> oh, thanks, not sure how sleepy you actually are :)
<joko> ndrei: could you share your hardware-configuration.nix?
rosa has quit [Quit: rosa]
jperras has quit [Ping timeout: 260 seconds]
<joko> a lot :D
<mpickering> clever: It is explained on the manpage
* clever waves
<zybell> you look for eabf47b which is mentioned on the page as the last commit not touched by this.
<ndrei> joko: I could but there's really nothing there except fs.* swap and some boot.*
<mpickering> cheater: It is explained on the manpage
ryanartecona has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
rosa has joined #nixos
<mightybyte> Anyone Anyone have an idea what might be going on with this error? https://gist.github.com/mightybyte/8ffdf52fdd8bd11f27565375c5d381e8
Akii has quit [Quit: ZNC 1.6.5 - http://znc.in]
<mightybyte> "found zero or more than one cabal file" in the statistics package
rosa has quit [Client Quit]
<nh2[m]> also aszlig ^
blonkhart has quit [Ping timeout: 240 seconds]
<mpickering> mightybyte: Usually because you have the wrong library name when using callCabal2Nix
<{^_^}> [nixpkgs] @Mic92 merged pull request #38738 → i3pystatus: 3.35 -> unstable → https://git.io/vxbFc
<{^_^}> [nixpkgs] @Mic92 pushed 6 commits to master: https://git.io/vpTuI
<{^_^}> → 04113fb8 by @mguentner: praw: 5.2.0 -> 5.4.0
<{^_^}> → 4c383cd4 by @dotlambda: python.pkgs.praw: drop upper bound of prawcore requirement
<{^_^}> → c3cbff3a by @mguentner: i3pystatus: 3.35 -> unstable
<mightybyte> mpickering: Aha, that's it! Thanks.
<zybell> then you look for a commit with eabf47b as parent. A git diff will show you which lines were touched. Any fix would have touched these lines again. git blame will help you there. As the page explains it was not *fixed*,but locked away in e7c38c1.
dan_b has quit [Ping timeout: 256 seconds]
telent has quit [Ping timeout: 256 seconds]
jperras_ has quit [Read error: Connection reset by peer]
alexteves_ has quit [Ping timeout: 240 seconds]
<clever> nh2[m]: have you looked at my kexec stuff yet?
<mightybyte> mpickering: Oh wait...maybe not. "statistics" is so easy to see wrong.
<mpickering> what's the cabal file called?
jperras_ has joined #nixos
<clever> mightybyte: that error can happen if the src dir you give to cabal2nix has 0 or 2 cabal files
<zybell> cheater:does that answer your question?
<{^_^}> [nixpkgs] @Mic92 merged pull request #39071 → asio: 1.12.0 -> 1.12.1 → https://git.io/vpUV1
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpTzK
<{^_^}> → 7a732cbb by R. RyanTM: asio: 1.12.0 -> 1.12.1
<{^_^}> → 1b00d012 by @Mic92: Merge pull request #39071 from r-ryantm/auto-update/asio
Akii has joined #nixos
<kisik21> Does fetchFromGithub clones submodules too?
darlan has joined #nixos
<kisik21> I need to clone some submodules
<kini> cheater: I just looked at my local checkout of the nixpkgs repository (yes, github.com/NixOS/nixpkgs ); and the reason I looked at pkgs/top-level/all-packages.nix in particular is that at the bottom of https://github.com/NixOS/cabal2nix/issues/272 , there is a link to https://github.com/NixOS/nixpkgs/commit/e7c38c14b1bc98ed439b6d93654c5826338390c3 which references cabal2nix issue #272.
<kini> When I looked at that commit I saw it added the line "doCheck = stdenv.is64bit; # https://github.com/NixOS/cabal2nix/issues/272" to pkgs/top-level/all-packages.nix , and I saw that line no longer exists in the latest version of all-packages.nix
<kini> So I searched `git log -p pkgs/top-level/all-packages.nix` to find where that line was removed again
darlan has quit [Client Quit]
<clever> kisik21: there is a fetchSubModules = true; flag
kreisys has quit [Quit: Textual IRC Client: www.textualapp.com]
<mightybyte> mpickering: It's just statistics.cabal in the github repo.
<{^_^}> [nixpkgs] @Mic92 merged pull request #39059 → Semi-automated emacs package updates → https://git.io/vpUZU
<{^_^}> [nixpkgs] @Mic92 pushed 6 commits to master: https://git.io/vpTgf
<{^_^}> → 3aefd6c9 by @mdorman: elpa-packages: 2018-04-16
<{^_^}> → ee8b9d92 by @mdorman: org-packages: 2018-04-16
asuryawanshi has quit [Ping timeout: 264 seconds]
<{^_^}> → 4ec912fc by @mdorman: melpa-stable-packages: 2018-04-16
<mpickering> is there anything else in the directory?
<kini> ah, I see zybell already said something similar.
Jackneill has quit [Read error: Connection reset by peer]
<clever> mightybyte: can you gist the nix expression?
bkchr has quit [Ping timeout: 256 seconds]
<nh2[m]> clever: have not yet but that's definitely coming next, if kexec works on these machines then the image creation process would be very simple, to the extent that I can make it part of nixops so the user doesn't have to create the image themselves
<mightybyte> I'm not sure. I was using: pkgs.haskellPackages.callHackage "statistics" "0.14.0.2" {}
<kisik21> clever: thanks
Jackneill has joined #nixos
<clever> nh2[m]: basically, run nix-build, upload the resulting tar, unpack to / on the remote machine, run /kexec_nixos
<clever> nh2[m]: i also have plans to add in nix-bundle, then it will be as simple as: nix-build && cat result | ssh root@foo
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/vpTgg
<{^_^}> → 50f568e2 by R. RyanTM: ethtool: 4.15 -> 4.16
<{^_^}> → e48e080d by @Mic92: Merge pull request #39052 from r-ryantm/auto-update/ethtool
<{^_^}> [nixpkgs] @Mic92 merged pull request #39052 → ethtool: 4.15 -> 4.16 → https://git.io/vpUU1
<daveo> iqubic: you are totally right oops!
<nh2[m]> clever: yeah that is super cool, it doesn't get much shorter
<kisik21> error: cannot coerce a function to a string, at /nix/var/nix/profiles/per-user/root/channels/nixos/pkgs/stdenv/generic/make-derivation.nix:148:11
<joko> ndrei: it's not nixpkgs.config.overlays, it's nixpkgs.overlays xD
<ndrei> :facepalm:
<ndrei> joko: thank you very much
<ndrei> I wonder why nix doesn't complain or at least warn about defining undefined attributes
<joko> ndrei: it did, at least nix build: error: undefined variable 'wsta' at /home/joko/tmp/nixos-config/packages.nix:16:5
<joko> anyway, off to sleep, nn everyone
daveo has quit [Ping timeout: 260 seconds]
<ndrei> right, but I didn't complain about assigning nixpkgs.config.overlays, although I understand it's perfectly fine from the language's standpoint, still a little warning would be useful
vaninwagen has quit [Ping timeout: 240 seconds]
<mpickering> kisik21: What command are you running?
seanparsons has quit [Read error: Connection reset by peer]
Fare has quit [Ping timeout: 240 seconds]
<kisik21> mpickering: nixos-rebuild switch
<kisik21> I'm including this as a pidgin plugin
<mpickering> that file looks fine. That error is usually because of a missing "name" attribute in my experience.
<mpickering> Why do you think that file is the problem?
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/3fd2b19d39a (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
hph^ is now known as nhh^
<cheater> zybell: yes, that's great! thank you
<kisik21> Because it started when I added it?
<cheater> mpickering: thank you
<cheater> kini: thanks
<kisik21> I'm adding it as (import ./pkgs/pidgin-lurch.nix) inside pidgin-with-plugins's plugins attribute
<kisik21> mpickering: do you happen to know how to fix this?
alex`` has quit [Ping timeout: 260 seconds]
<mpickering> You are missing {}
<mpickering> ?
<zybell> kisik21:From RADME:apt install git cmake libpurple-dev, libmxml-dev, libxml2-dev, libsqlite3-dev, libgcrypt20-dev
<zybell> *README
<zybell> I miss the nix equivalent in your buildInputs
<kisik21> zybell: oh, right, dependencies, but that's not important, I need the file to at least be a valid nix expression that will at least do something
ambro718 has quit [Quit: Konversation terminated!]
ma27 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #38639 → meta: Don't bypass unsupported platforms with allowBroken. → https://git.io/vx7iD
<{^_^}> [nixpkgs] @Ericson2314 pushed 4 commits to master: https://git.io/vpTau
<{^_^}> → 3955b846 by @shlevy: meta: Don't bypass unsupported platforms with allowBroken.
<{^_^}> → cb212cf5 by @Ericson2314: meta: Add `NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM` for consistency
<{^_^}> → c66440c1 by @Ericson2314: doc: Document `config.allowUnsupportedSystem` and its env var
<{^_^}> [nixpkgs] @wmertens pushed to iso-cloud-init « minimal installer: support cloud-init »: https://git.io/vpTag
seanparsons has joined #nixos
acarrico has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @wmertens opened pull request #39088 → minimal installer: support cloud-init → https://git.io/vpTao
<zybell> Didnt see the error, was in browser when it scrolled out of pic,sorry
<mpickering> What happens if you try to build just that file rather than using nixos-rebuild
<cheater> ok, so.. please indulge me with a little help again.. i am building this nix project, and in their .nix files they pin the nixpkgs. how do i override this? i tried changing the commit they're pinning to, but that doesn't change what source of nixpkgs nix-build uses, because apparently they somehow cache this expression. they pin the nixpkgs like this: nixpkgs = fetchFromGitHub { owner = ...; repo = ...
<{^_^}> [nixpkgs] @ciil opened pull request #39089 → rstudio: 1.1.423 -> 1.1.442 → https://git.io/vpTaN
<cheater> ... ...; rev = ...; sha256 = ...; }. then they import that .nix file in a higher level .nix file. after editing owner/repo/rev to point to my repo, when i re-run nix-build, the same error persists. in specific, in my version of nixpkgs, i added hint = haskell.lib.overrideCabal haskellPackages.hint (drv: { doCheck = stdenv.is64bit; });
<cheater> however, when i re-run nix-build, the test suite for hint is run anyways
<cheater> also, i didn't change sha256, so it would be wrong, and therefore nix-build should show an error. but it doesn't.
<mpickering> did you modify the sha as well?
<cheater> no, i didn't
<mpickering> you need to do that
<cheater> will it silently reject the nixpkgs? i thought it should give an explicit error and abort
<mpickering> It checks the store to see if something with the sha is in there first
<cheater> at least that's how i understood this: https://github.com/NixOS/nixpkgs/issues/6750
<cheater> ah
<cheater> so i just need to break the sha so it doesn't match anything?
<mpickering> yes just change the first character to something else
<cheater> and then it'll give me an error and tell me what sha it found on the repo?
<cheater> ok
<mpickering> then it will give you an error
<kisik21> unpacker produced multiple directories - how to cope with this? I don't want to repack the archive...
<clever> kisik21: set sourceRoot to the root of the source, relative to the root of the tar
<kisik21> Makefile is at top-level.
<clever> sourceRoot = ".";
nur0n0 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<kisik21> clever: trying to build
<{^_^}> [nixpkgs] @Mic92 pushed commit from @oscarcarlsson to master « hunspell-dicts: add support for swedish dictionary (#39061) »: https://git.io/vpTVM
<{^_^}> [nixpkgs] @Mic92 merged pull request #39061 → hunspell: support for Swedish dictionaries → https://git.io/vpUZQ
fragamus has joined #nixos
ihar has quit [Quit: WeeChat 2.0]
ihar has joined #nixos
szicari has quit [Quit: szicari]
lord| has joined #nixos
<cheater> ok, so i have it fetching from my fork. thanks mpickering!
<cheater> but it still doesn't disable the test suite. is doCheck the right thing to do here?
<cheater> am i overriding things the right way here?
<cheater> i'm pretty much cargo-coding here since i'm... not very familiar with nix
<kisik21> Is there Debian's libgcrypt20 package equivalent available in nixpkgs?
<{^_^}> [nixos-homepage] @woffs opened pull request #211 → install: use tar -f - → https://git.io/vpTw5
<kisik21> Could I just use nixos.libgcrypt?
<zybell> you should check the version
<kisik21> libgcrypt-1.8.2 is the last version in nixpkgs
<kisik21> I tried to build it anyway, since why not?
<kisik21> maybe it will work
<zybell> 2.0 means that
<kisik21> Oops, why did it tried to configure with cmake when I included cmake in nativeBuildInputs?
<Mic92> kisik21: this is a build hook.
<Mic92> it can disabled
<kisik21> How?
<Mic92> *be
<Mic92> kisik21: btw. nixpkgs has the latest released version: https://www.gnupg.org/download/index.html
<kisik21> Okay, disabled cmake configure hook... i think
hiratara has quit [Ping timeout: 240 seconds]
<zybell> No version of libgcrypt requested in readme, but libmxml>=2.7
<mpickering> cheater: It looks like your override might be wrong
<mpickering> but impossible to say without seeing more
<kisik21> yay, it's building...
<kisik21> I think
hamishmack has quit [Quit: hamishmack]
<cheater> mpickering: what would you like to see more?
hiratara has joined #nixos
<mpickering> where are you setting the hint variable?
<cheater> i added it to pkgs/top-level/all-packages.nix
<mpickering> ok that is not going to work.
<mpickering> you don't need to change their pin probably even
<mpickering> do they use "haskellPackages" or "haskell.packages.xxx" somewhere in their nix file?
<mpickering> You need to modify that to "haskellPackages.extend (sel: sup: { hint = haskell.lib.dontCheck super.hint; })"
endformationage has quit [Quit: WeeChat 1.9.1]
<mpickering> or probably make a new package set "newHaskellPackages = <the above expression>" and use that instead of haskellPackages.
<{^_^}> [nixos-homepage] @matthewbauer closed pull request #193 → Add packages list for nixpkgs → https://git.io/vxOis
vandenoever has joined #nixos
blankhart has quit [Ping timeout: 256 seconds]
kerrhau has joined #nixos
kerrhau has quit [Changing host]
kerrhau has joined #nixos
Fare has joined #nixos
<vandenoever> is it possible to compile rust to wasm on nixos? on regular distros one can run 'rustup target add wasm32-unknown-emscripten'
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/41bc49a0e57 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
c0ffee152 has joined #nixos
grp has quit [Quit: box shutting down...]
vidbina has joined #nixos
daveo has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpTKj
<{^_^}> → ad77d624 by @Mic92: Merge pull request #39039 from r-ryantm/auto-update/pqiv
<{^_^}> → 21059a19 by R. RyanTM: pqiv: 2.10.2 -> 2.10.3
<{^_^}> [nixpkgs] @Mic92 merged pull request #39039 → pqiv: 2.10.2 -> 2.10.3 → https://git.io/vpJSK
<{^_^}> [nixpkgs] @Mic92 merged pull request #38997 → yarn: 1.5.1 -> 1.6.0 → https://git.io/vpvAn
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpT6s
<{^_^}> → 78f661fd by @dywedir: yarn: 1.5.1 -> 1.6.0
<{^_^}> → 98c66c74 by @Mic92: Merge pull request #38997 from dywedir/yarn
<{^_^}> [nixpkgs] @Mic92 closed pull request #39034 → yarn: 1.5.1 -> 1.6.0 → https://git.io/vpJgF
<mpickering> How do I get the derivation corresponding to an attribute?
<symphorien> You mean the .drv ? nix-instantiate --eval I think
Fare has quit [Ping timeout: 264 seconds]
<cheater> mpickering: are you asking because i use haskellPackages in all-packages.nix?
jperras_ has quit [Ping timeout: 260 seconds]
<cheater> mpickering: because i got that syntax from somewhere else in all-packages.nix.
<mpickering> It's not about the syntax
<{^_^}> [nixpkgs] @mbrgm closed pull request #39043 → tt-rss: fix directory permissions → https://git.io/vpJ5K
<cheater> what i mean is i got the idea to use "haskellPackages" from all-packages.nix.
<mpickering> You are not using the proper method to override hint
<daveo> I have a problem with EFI booting
<mpickering> it's not a terrible idea but not going to work as hint is not a top-level attribute
daveo has quit [Quit: Page closed]
xy2_ has quit [Quit: WeeChat 1.9.1]
<cheater> mpickering: let me think about this... in fact this repo has a bunch of different nix files
<cheater> mpickering: so i have the file that says nixpkgs = fetchFromGitHub { ... }. do i modify the value nixpkgs here?
<mpickering> No, I explained before what is needed.
<mpickering> look for where "haskellPackages" is used
kerrhau has quit [Ping timeout: 268 seconds]
<cheater> sorry, i'm just having an issue figuring out what is a variable name, and what is an identifier that is used in various places. i'll look for haskellPackages.
hiratara has quit [Quit: ZNC - http://znc.in]
kerrhau has joined #nixos
kerrhau has quit [Changing host]
kerrhau has joined #nixos
hiratara has joined #nixos
sanscoeur has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #39028 → xterm: 331 -> 332 → https://git.io/vpJz6
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpTPt
<{^_^}> → ea055a36 by R. RyanTM: xterm: 331 -> 332
<{^_^}> → 5cfeb467 by @Mic92: Merge pull request #39028 from r-ryantm/auto-update/xterm
<{^_^}> [nixpkgs] @obadz opened pull request #39091 → network-manager-applet: add runtime dependency on gnome3.keyring → https://git.io/vpTPO
<{^_^}> [nixpkgs] @Mic92 merged pull request #38980 → dbeaver: 5.0.2 -> 5.0.3 (18.03) → https://git.io/vpvc0
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.03: https://git.io/vpTPs
<{^_^}> → 2ed3099e by @samueldr: dbeaver: 5.0.2 -> 5.0.3
<{^_^}> → 0a97eb36 by @Mic92: Merge pull request #38980 from samueldr/dbeaver/5.0.3_18.03
daveo has joined #nixos
joehh has joined #nixos
Fare has joined #nixos
alfie is now known as `Allie
`Allie is now known as alfie
<cheater> mpickering: the nix files here seem to be beyond my understanding. is there a way to override this in nixpkgs?
<mpickering> There is an easy way to do so
<mpickering> I don't understand why it is failing in the first place if they have pinned a version of nixpkgs though :P ?
daveo has quit [Ping timeout: 260 seconds]
furon has joined #nixos
<cheater> mpickering: no idea.. :S
<mpickering> in "pkgs/development/haskell-modules/configuration.nix" add the line "hint = dontCheck super.hint;"
<cheater> ok, let me try that instead, thanks
<cheater> there isn't configuration.nix. do you mean configuration-common.nix?
<cheater> there's also configuration-nix.nix
chisui has joined #nixos
jperras_ has joined #nixos
SitiSchu has quit [Quit: Leaving]
<mpickering> yes
<mpickering> either is fine
alfie is now known as Alfie
<mpickering> the first one is the one you should use
Alfie is now known as alfie
<furon> I've created a /nix directory that is bind-mounted to an external disk and would like to set up a multi-user Nix environment, but the install script won't let me proceed unless my user account owns the directory. Should I take ownership, install Nix, and give the directory back to root after? Or is there a better way to do this?
<furon> This is on CentOS 7, by the way.
hamishmack has joined #nixos
zybell has quit [Ping timeout: 256 seconds]
<cheater> mpickering: thank you!
<cheater> trying it now :) :)
alfie is now known as `Allie
justanotheruser has joined #nixos
jperras_ has quit [Ping timeout: 268 seconds]
<cheater> mpickering: btw, how would i only disable it for when this is run on 32-bit?
<{^_^}> [nixpkgs] @LasseBlaauwbroek opened pull request #39092 → Fix ddclient extraConfig variable → https://git.io/vpT14
<cheater> mpickering: yaaay it worked
<cheater> \o/
`Allie is now known as Allie`
<mpickering> Something like "happy = if (pkgs.stdenv.hostPlatform.isArm || pkgs.stdenv.hostPlatform.isAarch64) then dontCheck super.happy else super.happy;"
<cheater> ah, nice
<cheater> so it would be.. "hint = if (pkgs.stdenv.is64bit) then super.hint else dontCheck super.hint;"
<mpickering> is64Bit seems like a synonym for isLinux
<mpickering> Usually things are specified more precisely
<mpickering> I can also see no uses of is64Bit in the entire code base
<mpickering> is64Bit = system == "x86_64-linux"
logzet has quit [Remote host closed the connection]
thc202 has quit [Ping timeout: 256 seconds]
zybell has joined #nixos
<achambe> Could somebody direct this issue to the right person? https://github.com/NixOS/nixpkgs/issues/38623
<achambe> its not clear who controls the nix google cloud account
<achambe> they just need to tick a box
pkill9 has quit [Quit: WeeChat 2.1]
erasmas has quit [Quit: leaving]
jackdk has joined #nixos
<samueldr> Mic92: any reason for only having merged the cherry-pick for my package update? (or am I only impatient?) [thanks btw]
kisik21 has left #nixos [#nixos]
jperras_ has joined #nixos
nekroze has joined #nixos
<nekroze> I am trying to install a program that uses yarn however whenever I run yarn install it fails because it cannot find a header called node_version.h however I have added nodejs to the deps of the default.nix that is building the nix-shell I am running yarn in. I have also tried to install nodejs in my user profile directly and it still cannot find this header and google has no useful information that I could
<nekroze> find. Does anyone know what I am missing?
joehh has quit [Ping timeout: 240 seconds]
<achambe> nekroze: did you do a system wide search for the file?
<achambe> i.e., that it is in your store somewhere at all?
<nekroze> achambe: I have not, perhaps I should not have assumed it be in nodejs package. let me check
<nekroze> achambe: yeah it is in /nix/store/y8w39r3bs40p56m4r9m3vl3iwrqraabi-nodejs-8.11.1/include/node/node_version.h
<nekroze> achambe: which is the nodejs package I am using in the nix-shell to run this
<nekroze> by that I mean that package is in the buildInputs of the default.nix I am using
kerrhau is now known as ``^``^w
``^``^w is now known as kerrhau
<achambe> hmm
<nekroze> yeah that is where I am at too
jperras_ has quit [Ping timeout: 260 seconds]
<achambe> I don't know enough about yarn, I'm not sure if packages use pkg-config
<zybell> if it wants a .h file it wants to run gcc.
<achambe> yeah, I'd try add pkgconfig as a dep
<achambe> and gcc
<zybell> is gcc incl setup hook in env?
<achambe> yeah it is
jperras_ has joined #nixos
<zybell> stdenv
<Mic92> samueldr: I thought the other one was already in master
<{^_^}> [nixpkgs] @Mic92 merged pull request #38978 → dbeaver: 5.0.2 -> 5.0.3 → https://git.io/vpvcf
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpTDA
<{^_^}> → 8c3ef5e6 by @samueldr: dbeaver: 5.0.2 -> 5.0.3
<{^_^}> → d60a4a3b by @Mic92: Merge pull request #38978 from samueldr/dbeaver/5.0.3
<Mic92> then the cherry-pick reference is incorrect anyway
<nekroze> this is what I have now https://pastebin.com/9g6aVU1W
<nekroze> I will try add pkgconfig to the deps
<nekroze> no joy with pkgconfig added in
<{^_^}> [nixpkgs] @Mic92 merged pull request #38662 → cockroachdb: 1.1.5 -> 2.0.0 → https://git.io/vxdkp
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vpTyn
<{^_^}> → 0b307aa7 by @jbboehr: cockroachdb: 1.1.5 -> 2.0.0
<{^_^}> → 4707e69a by @jbboehr: Incorporate libedit changes from #38968
<{^_^}> → 329ca7db by @Mic92: Merge pull request #38662 from jbboehr/cockroach-2_master
dbmikus_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Mic92 closed pull request #39045 → gnupatch: fix CVE-2018-6951 → https://git.io/vpJF1
<samueldr> Mic92: could you explain? I want to make the PR/cherry-pick thing properly
jaja has joined #nixos
jaja has quit [Changing host]
jaja has joined #nixos
<Mic92> samueldr: you can really guess the commit your pull request will receive, because you cannot guess when it will be merged.
epta has quit [Ping timeout: 268 seconds]
kerrhau has quit [Remote host closed the connection]
sigmundv__ has joined #nixos
<Mic92> *you cannot really
jaja is now known as kerrhau
<Mic92> so either ask the in the pull request for a backport
<samueldr> so I should cherry-pick the *merge commit* and not the commit ID on of my commit at the tip of the PR branch?
<Mic92> or open a new one after the pull request was merged.
<samueldr> (I was under the assumption I should cherry pick the commit with the change and not the merge commit)
<samueldr> e.g. here on 18.03 branch, https://github.com/NixOS/nixpkgs/pull/38980/commits/2ed3099e20f6492019a462d757448218b9c17fb6 the commit ID is the right one?
<Mic92> yes, but the commit hash will change after merge.
epta has joined #nixos
jperras_ has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/0a97eb36be8 (from 68 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<Mic92> but maybe I am wrong
jperras_ has joined #nixos
<samueldr> that would be right if there was no merge commit or FF commit (I think)
<zybell> a merge doesnt change the id, a cherry pick does!
sigmundv has quit [Remote host closed the connection]
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos
joehh has joined #nixos
<cheater> mpickering: so.. i have another package failing its tests on 32-bit due to float rounding called freer, and i added freer = dontCheck super.freer to configuration-common.nix, but that doesn't skip the tests. any idea why that would be?
sigmundv has joined #nixos
<cheater> is hint and freer somehow different?
quackslikeaduck has quit [Remote host closed the connection]
<zybell> was hint the package name before?
<infinisil> Hmm.. Is there some easy program to transfer files reliably in NixOS? I'd think FTP/SFTP would be the way to go, but I can't find an actual package that works
<zybell> ssh?
nikola_i has joined #nixos
<infinisil> There is busybox which includes ftpd and ftpget, but ftpd doesn't actually work.. It just spews out the --help text with any arguments
<infinisil> zybell: Without keys
<infinisil> I need it to work anonymously
<zybell> could be so configured
<infinisil> Oh maybe openssh's sftp
<cheater> zybell: yes, hint was the one that was breaking the build before.
astiles has quit [Remote host closed the connection]
SitiSchu has joined #nixos
astiles has joined #nixos
<cheater> zybell: mpickering said i should add hint = dontCheck super.hint; to configuration-common.nix and that helped stop hint tests from running. but now freer breaks the build due to its tests too, and adding this line but for freer doesn't help stop the tests from executing.
ericsagnes has quit [Ping timeout: 276 seconds]
<zybell> cheater but was it the *package name*?
<infinisil> Oh and ssh requires all these directories to be set up, but I need something that can run in a script ephemerally