gchristensen changed the topic of #nixos to: 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://botbot.me/freenode/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64
<infinisil> how do you check the chip?
Ubercow has quit [Quit: Ubercow]
<troydm> perfect beast under OSX actually
spietz has quit [Ping timeout: 240 seconds]
<troydm> infinisil: lspci
<infinisil> troydm: command not found?
<leons> I think `lspci` should do the trick
isHavvy has quit [Read error: Connection reset by peer]
<infinisil> ah it's in busybox
<leons> infinisil: nix-env -iA nixos.pciutils
<samueldr> there's one in busybox, but yeah, pciutils
<samueldr> or nix-shell -p pciutils --run lspci
<infinisil> oh lol the one in busybox is different
<leons> Always forgetting about the nix-shell :/
<infinisil> 02:00.0 Network controller: Broadcom Limited BCM43224 802.11a/b/g/n (rev 01)
<troydm> BCM43224 I think is fine
<infinisil> indeed
<leons> Yeah, I'm having a Broadcom 4331. I guess that could make the difference... infinisil which driver are you using?
<troydm> BCM4360 on the other hand that I have is problematic
Ubercow has joined #nixos
<infinisil> boot.kernelModules = [ "kvm-intel" "wl" ]; boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
<Dezgeg> Broadcom Limited BCM4313 802.11bgn Wireless Network Adapter (rev 01) is fine for me as well
<troydm> it's wl
<infinisil> leons: ^^ is in my automaticly generated hardware-config
<infinisil> Dezgeg: what mac model is that?
<Dezgeg> not mac
<leons> infinisil: nice. Well then I guess I'm putting that aluminium-thingie back on the shelf for good
<Dezgeg> but uses the same broadcom drivers I think
bennofs1 has quit [Quit: WeeChat 2.0]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] davidak opened pull request #34948: add micawber at 0.3.4 (master...micawber) https://git.io/vAsfN
NixOS_GitHub has left #nixos [#nixos]
BlessJah has quit [Ping timeout: 276 seconds]
<infinisil> I see
kelleyNif has quit [Quit: Leaving.]
<infinisil> leons: while you're still on your mac, can you test something?
<leons_legacy> infinisil: Haha, sure. Is in a few hours okay? What should I try?
<infinisil> leons_legacy: ah well it's not that important, I'll be asleep soon
Drakonis has quit [Ping timeout: 256 seconds]
<infinisil> Suspend didn't work properly before, it automatically woke up after a couple seconds, without touching any keys or such
<leons> infinisil: I can comment on your commit as soon as I've tried. Is that okay for you?
leons_legacy has left #nixos ["User left"]
<infinisil> leons: sure!
niklob has quit [Quit: Leaving]
<infinisil> leons: So the test is pretty much just "systemctl suspend" and see if it wakes up again
<leons> infinisil: No problem. Will test it as soon as possible!
Drakonis has joined #nixos
<infinisil> I should probably test this with a blank config too, because it might be something in there that does this
mbag has quit [Ping timeout: 264 seconds]
kgz has quit [Ping timeout: 256 seconds]
BlessJah has joined #nixos
vidbina has joined #nixos
the-kenny has joined #nixos
kgz has joined #nixos
<infinisil> srhb: Oh, look what I found, this might be what you used: https://github.com/NixOS/nixos-hardware/blob/master/apple/macbook-pro/12-1/default.nix#L10-L13
<infinisil> and this seems to be the right approach for doing this instead of my activationScript (cc clever )
MP2E has quit [Remote host closed the connection]
eisbaer has joined #nixos
MP2E has joined #nixos
<troydm> on 4.13 now, so far no TX errors
<troydm> let's see how stable it its
erasmas has quit [Quit: leaving]
<troydm> nah, I see couple of TX errors, not much tho
knupfer has quit [Ping timeout: 255 seconds]
<troydm> on 4.14 now, same situation
<samueldr> hmmmm
<samueldr> I was checking on the provenance of the patches
<samueldr> in the archlinux AUR package
<samueldr> add linux412.patch created by yegortimoshenko (https://github.com/NixOS/nixpkgs/commit/65187722ec07fec21b2c8c53019255c6a9a5c4f8)
<samueldr> it's a loop!
<samueldr> nixos uses patches from archlinux which uses patches from nixos!
coot has quit [Quit: coot]
<dtz> lmao
<troydm> hahaha
* dtz starts using fetchpatch to fetch files in same directory but via github
<troydm> so far 4.14 has 0 TX errors
<troydm> I think it's fixed
cement has quit [Ping timeout: 260 seconds]
<infinisil> troydm: nice! So you're wifi-problem free now?
<troydm> infinisil: it's still seems a bit off compared to OSX, I'm not sure, I think there is some Rate drops
<troydm> infinisil: but no TX errors so far
<troydm> well it's definitely better than it was tho
<samueldr> progress is good
dan_b has quit [Ping timeout: 240 seconds]
jrolfs has joined #nixos
<troydm> 8% packet loss and connection gets staggered from time to time
mmlb has joined #nixos
ertes has quit [Ping timeout: 240 seconds]
Drakonis has quit [Read error: Connection reset by peer]
hiroshi has quit [Ping timeout: 264 seconds]
ottidmes has quit [Ping timeout: 260 seconds]
kelleyNif has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 8e6ea91 Jan Tojnar: 18.03 release notes: highlight gnome 3.26
<NixOS_GitHub> nixpkgs/master d8f6c3f Jan Tojnar: 18.03 release notes: warn about libinput
<NixOS_GitHub> [nixpkgs] jtojnar pushed 2 new commits to master: https://git.io/vAstv
NixOS_GitHub has left #nixos [#nixos]
oida has quit [Ping timeout: 276 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar closed pull request #32200: Mention GNOME-related stuff in changelog (master...gnome-changelog) https://git.io/vbLOZ
NixOS_GitHub has left #nixos [#nixos]
<infinisil> Goddamnit, are you serious
mmlb has quit [Read error: Connection reset by peer]
oida has joined #nixos
ertes has joined #nixos
<infinisil> For some reason I can't reproduce this suspend auto-wake up error anymore
mmlb has joined #nixos
<infinisil> Exact same config as before, but now the fix I got working with srhb and clever isn't needed anymore
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar pushed 4 new commits to master: https://git.io/vAsto
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 01f07b2 Jan Tojnar: pipewire: init at 0.1.8
<NixOS_GitHub> nixpkgs/master dfe7a54 Jan Tojnar: nixos/pipewire: init
<NixOS_GitHub> nixpkgs/master 7784e82 Jan Tojnar: gnome3.mutter: add remote desktop support
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #34949: mate desktop: update to release 1.20 (master...upd.mate) https://git.io/vAstK
NixOS_GitHub has left #nixos [#nixos]
nuncanada has quit [Ping timeout: 276 seconds]
thc202 has quit [Ping timeout: 255 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] erictapen closed pull request #34904: mapmap: init at 0.5.0 (master...mapmap-pr) https://git.io/vAYIl
NixOS_GitHub has left #nixos [#nixos]
mmlb has quit [Ping timeout: 240 seconds]
hiroshi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar pushed 1 new commit to master: https://git.io/vAstd
<NixOS_GitHub> nixpkgs/master 14b3b04 Jon Banafato: gnomeExtensions.remove-dropdown-arrows: init at 9...
NixOS_GitHub has left #nixos [#nixos]
Havvy has joined #nixos
Arcaelyx has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar closed pull request #34944: gnome-shell-extension-remove-dropdown-arrows: init at v9 (master...gnome-shell-extension-remove-dropdown-arrows-9) https://git.io/vA3HX
NixOS_GitHub has left #nixos [#nixos]
nuncanada has joined #nixos
contrapumpkin has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ertes has quit [Ping timeout: 248 seconds]
contrapumpkin has joined #nixos
acarrico has joined #nixos
freeman42x]NixOS has joined #nixos
TonyTheLion has quit [Ping timeout: 260 seconds]
jmeredith has joined #nixos
jsgrant_ has joined #nixos
oida has quit [Ping timeout: 265 seconds]
kelleyNif has quit [Quit: Leaving.]
<jsgrant_> Okay, determined to get NixOS on one of my Rpi3s now that I'm pretty happy with my secondary-laptop config; Will I likely have to compile most of everything or is there a bunch of prebuilt aarch64 stuff I'm missing?
<jsgrant_> Considering waiting another whole day-or-three until this heatsink fan comes.
kelleyNif has joined #nixos
<jsgrant_> Oh! Sorry, just found "Thanks to @grahamc and Packet the official NixOS Hydra builds a full set of binaries (available on https://cache.nixos.org) for the AArch64 architecture on the nixpkgs-unstable channel. "
<jsgrant_> So I'm guessing, yeah. :^)
ertes has joined #nixos
<samueldr> jsgrant_: questions about rpi3 + aarch64, I may be able to answer or at least guide you
<samueldr> and yeah, a good part of nixpkgs is building successfully for aarch64
d4g has joined #nixos
<samueldr> you probably have found the raspberry pi page on the wiki https://nixos.wiki/wiki/NixOS_on_ARM/Raspberry_Pi
<jsgrant_> samueldr, Yeah, the " generic installation steps " linked on there is where I got the above quote.
<samueldr> (which is why I assumed you found the page :) )
<jsgrant_> :^)
mbrgm has quit [Ping timeout: 240 seconds]
<jsgrant_> Assume I'll still have to build a decent amount, but not having to potentially rebuild any or most of the core is a nice thought.
<samueldr> actually, most of what doesn't build... just doesn't build
d4g_ has quit [Ping timeout: 260 seconds]
<samueldr> (afaik)
<samueldr> there was progress recently with the bigger packages (e.g. firefox and chromium)
* jsgrant_ 'just' plans on getting xmonad, neovim, and qutebrowser for now.
vidbina_ has joined #nixos
mbrgm has joined #nixos
<jsgrant_> Give myself a bit of an absolutist outlet; Without going too crazy.
silver has quit [Read error: Connection reset by peer]
<samueldr> ugh, trying to find an IRC log entry, both to warn you and to add to the wiki
<samueldr> there *may* be some issues with the graphical console and nixos, and that's a big may
vidbina has quit [Ping timeout: 240 seconds]
ivanivan has joined #nixos
<Dezgeg> there's no ghc yet so xmonad is going to be a problem
<samueldr> ^ Dezgeg (hi) remember what you found about mainline + lightning bolt wrecking havoc with KMS?
<Dezgeg> should be fixed now by disabling the lightning bolt
<jsgrant_> Maybe will shop around for i3wm or Awesome, good to know though; Ty Dezgeg
<ivanivan> I have system.autoUpgrade enabled, but I'm curious to verify it's actually been doing its thing. Does it log anywhere?
mrkgnao has joined #nixos
kelleyNif has quit [Quit: Leaving.]
<clever> ivanivan: it configures a systemd timer called autoUpgrade, so do `journalctl -f -u autoUpgrade.service`
stephenjudkins has quit [Remote host closed the connection]
<clever> ivanivan: correction, `journalctl -f -u nixos-upgrade.service`, oops
kelleyNif has joined #nixos
<ivanivan> clever: thanks! it looks like there haven't been any upgrades. Just a single log entry saying "Logs begin at ... 2018-01-15"
<ivanivan> maybe the channel hasn't had any upgrades recently
<clever> ivanivan: what settings did you set on the service?
<samueldr> jsgrant_: for graphical use, the option to add to boot.txt would be avoid_warnings=1 so the raspberry pi doesn't cause issues for the KMS drivers
kelleyNif has quit [Client Quit]
<samueldr> (I added a note about that in the troubleshooting section of the raspberry pi page)
<ivanivan> clever: `system.autoUpgrade.enable = true;`
nuncanada has quit [Quit: Leaving]
kelleyNif has joined #nixos
<clever> ivanivan: have you done a nixos-rebuild to apply that change?
<ivanivan> clever: yeah, i've rebuilt many times applying unrelated changes. had that setting since I installed.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler pushed 2 new commits to master: https://git.io/vAsY9
<NixOS_GitHub> nixpkgs/master 93f8365 Vincent Laporte: compcert: 3.1 -> 3.2
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 711f799 Samuel Leathers: Merge pull request #34946 from vbgl/compcert-3.2...
<clever> ivanivan: what does `systemctl list-timers` say?
Arcaelyx_ has joined #nixos
vidbina_ has quit [Ping timeout: 256 seconds]
<ivanivan> clever: it lists nixos-upgrade.timer and nix-gc.timer, but both have n/a in the LAST and PASSED columns
Arcaelyx has quit [Ping timeout: 276 seconds]
<clever> ivanivan: it says it will run it in 7 hours, perhaps youve just been turning the machine off before it can run?
<ivanivan> clever: I tend to close the laptop at night, so maybe it's just ...
<ivanivan> yeah, that :D
<clever> ivanivan: it runs at 4:40 am by default
<ivanivan> i'll have to start rising early
<clever> you can also just system.autoUpgrade.dates = "12:00";
<clever> then it will run at noon
<ivanivan> clever: cool, thanks again. you're always super helpful :+1
<ivanivan> I was also going to ask if there's a way I can check what running upgrade would do, without actually applying any changes.
<ivanivan> like would this do what I think? `nixos-rebuild --dry-build --upgrade`
kelleyNif has quit [Quit: Leaving.]
kelleyNif has joined #nixos
parsnip has quit [Ping timeout: 240 seconds]
parsnip has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] disassembler pushed 2 new commits to master: https://git.io/vAsO8
<NixOS_GitHub> nixpkgs/master ac8a149 Samuel Leathers: Merge pull request #34899 from romildo/upd.catfish...
<NixOS_GitHub> nixpkgs/master 23e0d7d José Romildo Malaquias: catfish: 1.4.2 -> 1.4.4
kelleyNif has quit [Quit: Leaving.]
kelleyNif has joined #nixos
Supersonic has quit [Disconnected by services]
<clever> ivanivan: the problem is that --upgrade doesnt exactly obey --dry-run
<clever> ivanivan: if --upgrade is present, it will first run `nix-channel --update`, and --dry-run doesnt undo that
verite has joined #nixos
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
mrkgnao has quit [Ping timeout: 240 seconds]
cdomigan has joined #nixos
<ivanivan> clever: glad I asked. i had a sneaking suspicion something like that might happen
<clever> ivanivan: it has to be undone with `nix-channel --rollback`
<clever> i generally try to avoid `nixos-rebuild --upgrade`, and instead always use nix-channel to control it
<clever> so i know when its updating
<ivanivan> clever: so I guess you don't enable the autoUpgrade option then?
<clever> yeah
<clever> i'm also on nixos-unstable, and things may break
<clever> so id rather be prepared for when that happens, be ready to apply a rollback if needed
<ivanivan> clever: Makes sense. I think I'm going to take that approach too. I'd like to know when it's upgrading.
markus1189 has joined #nixos
kelleyNif has quit [Quit: Leaving.]
kelleyNif has joined #nixos
markus1199 has quit [Ping timeout: 255 seconds]
kelleyNif has quit [Client Quit]
kelleyNif has joined #nixos
pie__ has quit [Ping timeout: 248 seconds]
kelleyNif has quit [Client Quit]
kelleyNif has joined #nixos
ivanivan has quit [Quit: WeeChat 1.9.1]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] earldouglas opened pull request #34950: mp3blaster: init at 3.2.6 (master...mp3blaster) https://git.io/vAs3M
NixOS_GitHub has left #nixos [#nixos]
jtojnar has quit [Remote host closed the connection]
kelleyNif has quit [Quit: Leaving.]
kelleyNif has joined #nixos
kelleyNif has quit [Client Quit]
kelleyNif has joined #nixos
jtojnar has joined #nixos
Fannar has joined #nixos
pkill9 has quit [Ping timeout: 260 seconds]
Fannar has quit [Client Quit]
kelleyNif has quit [Quit: Leaving.]
kelleyNif has joined #nixos
kelleyNif has quit [Client Quit]
kelleyNif has joined #nixos
chrisbar1 has quit [Quit: chrisbar1]
spear2 has joined #nixos
cdomigan has quit [Ping timeout: 260 seconds]
hamishmack has quit [Quit: hamishmack]
hamishmack has joined #nixos
hamishmack has quit [Client Quit]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xcmw has joined #nixos
alex`` has quit [Ping timeout: 260 seconds]
Mateon3 has joined #nixos
pkill9 has joined #nixos
Mateon1 has quit [Ping timeout: 248 seconds]
Mateon3 is now known as Mateon1
schoppenhauer has quit [Ping timeout: 265 seconds]
schoppenhauer has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xcmw has joined #nixos
jrolfs has quit [Ping timeout: 240 seconds]
sahabi has quit [Remote host closed the connection]
jrolfs has joined #nixos
babyflakes has quit [Quit: Connection closed for inactivity]
jrolfs has quit [Ping timeout: 240 seconds]
verite has quit [Ping timeout: 248 seconds]
fragamus has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
aarvar has quit [Ping timeout: 276 seconds]
aarvar has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ditadi has quit [Ping timeout: 248 seconds]
DanielSchfer[m] has joined #nixos
DanielSchfer[m] is now known as johnazoidberg
rauno has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Profpatsch opened pull request #34952: nixos/tests: add simple dockerTools test (master...docker-tools-test) https://git.io/vAscs
NixOS_GitHub has left #nixos [#nixos]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<petersjt014[m]> I just upgraded and got `warning: name collision in input Nix expressions, skipping ‘/home/me/.nix-defexp│
<petersjt014[m]> r/channels_root/nixos’ `. Where should I be looking for the collision?
babyflakes has joined #nixos
fragamus has joined #nixos
fragamus has quit [Ping timeout: 256 seconds]
<Profpatsch> gchristensen: How does ofborg-viewer work? https://logs.nix.ci/
<Profpatsch> Looks like magic.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Profpatsch pushed 1 new commit to master: https://git.io/vAscX
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 1545f90 Profpatsch: nixos/tests: add simple dockerTools test
simukis has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master ce838e5 Antoine Eiche: dockerTools.buildImage: do not add /nix/store in the tar stream...
<NixOS_GitHub> [nixpkgs] Profpatsch pushed 1 new commit to master: https://git.io/vAsc5
<Profpatsch> gchristensen: Works like a charm I have to say
<Profpatsch> Wrote test, tested test in PR, merged PR, went over to other PR changing tested code, tested PR with new test, merged.
andersk has quit [Remote host closed the connection]
andersk has joined #nixos
<Profpatsch> I like that workflow!
<adisbladis> Profpatsch: Almost like TDD :3
<Profpatsch> As long as I don’t have to manually test stuff on my machine, I’m happy to write test code. :P
Rusty1_ has quit [Quit: Konversation terminated!]
<Profpatsch> Sweet taste of automation.
<adisbladis> Profpatsch: My darwin fixes are usually like that. I let ofborg actually build things on darwin machines :)
<adisbladis> Ofborg <3
mrkgnao has joined #nixos
notdaniel has joined #nixos
<Profpatsch> Ofborg <3
slack1256 has joined #nixos
Ralith_ has quit [Ping timeout: 256 seconds]
pie__ has joined #nixos
slack1256 has quit [Remote host closed the connection]
Guanin has quit [Ping timeout: 248 seconds]
nflores has joined #nixos
notdaniel has quit [Quit: Leaving]
<nflores> how do I append to the NIX_PATH in a nix file?
<adisbladis> nflores: You mean you want to do it in your system configuration?
<nflores> yeah
<adisbladis> nix.nixPath = [ "nixos-config=/etc/nixos/configuration.nix" ] for example
<nflores> I think that clears my existing NIX_PATH and sets it to the the value in between [ ]?
Guanin has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jonafato opened pull request #34953: gnomeExtensions.appindicator: init at v22 (master...gnome-shell-extension-appindicator-v22) https://git.io/vAsWJ
NixOS_GitHub has left #nixos [#nixos]
iyzsong has joined #nixos
<sphalerite_> nflores: you can confirm by putting that and then running nixos-option nix.nixPath
Myrl-sak1 has joined #nixos
<sphalerite_> nflores: if you add "options" to your list of params at the top of your file I think you can do something like nix.nixPath = options.nix.nixPath.default ++ ["foo"];
<adisbladis> nflores: You are right. https://ptpb.pw/Ehew/nix
iyzsong has quit [Ping timeout: 240 seconds]
Myrl-saki has quit [Ping timeout: 264 seconds]
<nflores> sphalerite_: can I add the variable containing what I want to append to my NIX_PATH in that array?
<sphalerite_> nflores: what do you mean?
Arcaelyx_ has quit [Ping timeout: 265 seconds]
pkill9 has quit [Ping timeout: 256 seconds]
Arcaelyx has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34799: mailpile: 0.4.1 -> 1.0.0rc1 (master...pkgs/mailpile10rc) https://git.io/vALwa
NixOS_GitHub has left #nixos [#nixos]
kwork has joined #nixos
rauno has joined #nixos
<nflores> I've defined an sshConfigFile = [ (let sshkey= ...; sshConfigFIle= pkgs.writeText "ssh_config" ''...'';) in "ssh-config-file=${sshConfigFile}" ]; so I need to append ssh-config-file="..." to my NIX_PATH, currently my NIX_PATH ends up containing just ssh-config-file=...
kwork has quit [Changing host]
kwork has joined #nixos
pie__ has quit [Ping timeout: 255 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] thoughtpolice pushed 3 new commits to master: https://git.io/vAsWX
<NixOS_GitHub> nixpkgs/master 3b6c08b Austin Seipp: icestorm: 2018.02.04 -> 2018.02.14...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 4b09bee Austin Seipp: arachne-pnr: 2018.02.04 -> 2018.02.14...
<NixOS_GitHub> nixpkgs/master c2973f9 Austin Seipp: yosys: 2018.02.04 -> 2018.02.14...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34932: zsh-autoenv: init at 2017-12-16 (master...zsh-autoenv) https://git.io/vAOKP
NixOS_GitHub has left #nixos [#nixos]
<sphalerite_> nflores: what are you trying to achieve?
<sphalerite_> It doesn't look to me like this is something that makes sense to put on your NIX_PATH.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jonafato opened pull request #34954: gnome3.geary: 0.12.0 -> 0.12.1 (master...geary-0.12.1) https://git.io/vAsWF
NixOS_GitHub has left #nixos [#nixos]
<nflores> sphalerite_: I'm following this tutorial: https://www.mpscholten.de/nixos/2016/07/07/private-github-repositories-and-nixos.html. they show how to edit your nix.nixPath, but after running nixos-rebuild the root NIX_PATH is overwritten to only contain ssh-config-file=...
<nflores> adisbladis: yeah, I'm using fetchgitPrivate in my case
<adisbladis> nflores: Imho https://ptpb.pw/loea/nix should do the trick
<nflores> adisbladis: let me take a look
<sphalerite_> ah ok, so it is actually the standard interface... Seems a bit weird to me but ah well
<sphalerite_> nflores: so you'd just add `options.nix.nixPath.default ++` before `(let …`
<nflores> adisbladis: ahok! that may be what I was missing: options.nix.nixPath.default ++ . Let me give that a try
rauno has quit [Ping timeout: 260 seconds]
<nflores> adisbaldis & sphalerite_: seems like I'm missing 'options'. I'm getting this error: undefined variable ‘options’ at /etc/nixos/configuration.nix:24:16
JosW has joined #nixos
<sphalerite_> nflores: I mentioned it above
<sphalerite_> sphalerite_ | nflores: if you add "options" to your list of params at the top of your file…
<adisbladis> Like so: { config, options, pkgs, ... }:
<nflores> sphalerite_ & adisbladis: thanks!
pie__ has joined #nixos
<nflores> sphalerite_ & adisbladis: yay! that worked thanks you two!
<adisbladis> <3
<nflores> that should keep me moving along in configuring my env
Myrl-sak1 has quit [Ping timeout: 248 seconds]
blahdodo has quit [Read error: Connection reset by peer]
Myrl-sak1 has joined #nixos
Myrl-sak1 is now known as Myrl-saki
vdemeester_ has joined #nixos
rauno has joined #nixos
coot has joined #nixos
blahdodo has joined #nixos
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dhess> Is there an operator for attrsets like `//` but it does a union/merge of attrs with the same name, rather than an override?
<dhess> hmm probably no way to do that generically
jrolfs has joined #nixos
vidbina has joined #nixos
fragamus has joined #nixos
<dhess> actually I'm dealing here with modules so it looks like mkMerge is what I want
pie__ has quit [Ping timeout: 248 seconds]
<sphalerite_> yeah you need some additional type information for that, which is exactly what the module system is for
<dhess> yeah I think this will work out fine :)
reinzelmann has joined #nixos
fractal- has quit [Ping timeout: 268 seconds]
<dhess> perfect!
<dhess> Nix is awesome
orivej has joined #nixos
blahdodo has quit [Ping timeout: 255 seconds]
blahdodo has joined #nixos
asuryawanshi has joined #nixos
CrazedProgrammer has quit [Ping timeout: 248 seconds]
<pikajude> is it possible to use overlays to compose multiple haskell package overrides?
<srhb> pikajude: Yes.
<pikajude> how do i do that
<srhb> Just make multiple overlays. :)
<pikajude> yeah
<pikajude> the last one is the only one that has any effect
<pikajude> unfortunately
<srhb> Oh, what did you do exactly?
<srhb> There were some gotchas with extend vs override.
<pikajude> oh
<pikajude> don't know what extend is
<srhb> Hm, if you're not using it I'm not sure why you're experiencing a problem. Perhaps you can share your overlays.
<dhess> pikajude: I do this routinely and I always use haskellPackages.extend
<pikajude> oh
<pikajude> okay
<pikajude> i was using override
<pikajude> didn't know extend was a thing
<pikajude> that seems like the better option
MercurialAlchemi has joined #nixos
<srhb> Except any override will nuke _all_ the extends currently.
<srhb> It's a messy situation.
<srhb> See elvishjerricco's suggestion in the bottom of that issue.
<pikajude> right
<pikajude> well i'm not going to use override then
<srhb> That's also a sort of solution :-)
vdemeester_ has quit [Remote host closed the connection]
<pikajude> wow
<pikajude> how easier
<pikajude> that is
<pikajude> how lovely
<srhb> It is...
orivej has quit [Ping timeout: 255 seconds]
<elvishjerricco> Really gotta fix the incompatibility with override though :/
<dhess> elvishjerricco: does that mean that if I import any overlay that happens to use override, it will break all of my overlays that use extend?
<srhb> Yes.
<elvishjerricco> Well,
<elvishjerricco> Depending on the order the overlays occur in
<elvishjerricco> But yea that's a likely possibility
<dhess> yikes, I did not know about that.
<elvishjerricco> Anyone using override for haskellPackages needs to make sure to account for the old value
<elvishjerricco> Not hard, just often overlooked
<srhb> It would be grand to have a fix before the next release.. Not sure anyone has agreed on what to do though
<srhb> Replacing callPackage seems painful.
<fragamus> hey what's the preferred way to spin up nixos on ec2 hvm
<elvishjerricco> I think we should probably just conjure a special thing for haskellPackages
<elvishjerricco> It's gross but I've already tried to come up with "proper" solutions a couple of times, and no one seems happy with any solution
<srhb> Yeah, I saw..
nflores has quit [Ping timeout: 260 seconds]
<dhess> elvishjerricco: so for now you would recommend using that little hack at the end of that issue in our haskellPackage overlays, rather than extend?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nlewo closed pull request #33428: go-outline: init at 2017-08-04 (master...init-go-outline) https://git.io/vNfCG
NixOS_GitHub has left #nixos [#nixos]
<elvishjerricco> dhess: It's tricky. Even that little hack won't work on a haskellPackages that was previously `extend`ed, since `extend` will remove the override function.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nlewo pushed 2 new commits to master: https://git.io/vAsBp
<NixOS_GitHub> nixpkgs/master c385a1b lewo: Merge pull request #33430 from vdemeester/init-gopkgs...
<NixOS_GitHub> nixpkgs/master 8cf5684 Vincent Demeester: gopkgs: init at 2017-12-29...
NixOS_GitHub has left #nixos [#nixos]
<dhess> elvishjerricco: ok, thanks. extend is working for me now so I'll just keep using it
<Orbstheorem[m]> Hello, I'm thinking about storinga a one time pad of my encryption keys under my rootfs luks in the unused GPT partition table space. The first two bits should be set to 1 [partitioning tools, please don't touch this partition, EFI firmware please skip this entry]. This pad would use the first bits under my luks root partition to get the key for the swap luks partition (plain mode). Do you think this is a good/bad idea?
<spacefrogg> Orbstheorem[m]: You want to store a key in clear text on your hard drive?
<Orbstheorem[m]> A one time pad, yes
<Orbstheorem[m]> I still need to unlock my root Luks to get the actual key
<spacefrogg> And you can use the one-time pad key for unlocking?
alex`` has joined #nixos
<Orbstheorem[m]> Ie. I'd have to unlock my root Luks, read the first 512 bits, xor them with 512 bits stored in the partition table and use the result as Luks plain key
<spacefrogg> What is the gain in doing that?
Tucky has joined #nixos
<spacefrogg> Just use the 512 bits from the inside and be done with it.
<spacefrogg> I know what a one-time pad is.
<ij> Do bug fixes ever get picked from master onto, say, 17.09?
<spacefrogg> What do you try to gain by doing this?
<srhb> ij: Yes, all the time.
<Orbstheorem[m]> I can't because my swap encryption key changes after every boot
<srhb> ij: That's more or less the only way that it updates.
<spacefrogg> Orbstheorem[m]: Just make a new swap partition on every boot.
<spacefrogg> Orbstheorem[m]: Or do you care for its content?
<Orbstheorem[m]> And I can't control the first bits in the Luks container, they belong to my file system
fractal- has joined #nixos
<Orbstheorem[m]> spacefrogg: yes, I'd like to be able to hibernate and resume
<Orbstheorem[m]> And I really don't want to use lvm
<spacefrogg> Orbstheorem[m]: When does the new swap partiition key get generated
<spacefrogg> ?
steshaw has joined #nixos
TheAppleMan has quit [Quit: No Ping reply in 120 seconds.]
<Orbstheorem[m]> Right now, at boot time, I cryptsetup plain from /dev/urandom 512 bits
<ij> Could I use overlays to have something from the unstable channel?
vdemeester_ has joined #nixos
<Orbstheorem[m]> spacefrogg But if I use the abode proposed scheme, I could write during system shutdown random data if I do not wish to resume afterwards
<ij> I'd have to have unstable available system-wide, so I just add it to the system profile?
<spacefrogg> Orbstheorem[m]: Just store the full key inside root's luks volume.
<spacefrogg> Orbstheorem[m]: If you want to destroy swap on shutdown, just make a new key for swap's luks partition and throw away the old one.
<fragamus> hey what's the preferred way to spin up nixos on ec2 hvm
<ij> fragamus, nixos.org has the nixos ami ids posted, I believe.
<Orbstheorem[m]> spacefrogg: well the problem is that I use Btrfs under my root partition, so I don't have a way to explicitly write arbitrary bytes inside luks
Ubercow has quit [Quit: Ubercow]
blahdodo has quit [Quit: Bye bye]
<fragamus> yeah but I want to know the right way to configure like userdata so that it loads the set of packages for haskell stack
<spacefrogg> Orbstheorem[m]: Why are you so fixed on solving this outside normal tools. Make a file on btrfs and store the key in it. Let your system grab it on the next boot after unlocking root.
zzamboni has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
<ij> fragamus, This issue might shed some light: https://github.com/NixOS/nixpkgs/issues/6662
<schoppenhauer> hi. I am trying to configure tinc on nixos. my configuration *should* be correct now (looking at the configuration files generated), but I get the error messages "Possible intruder ... (... port 655): wrong keylength" "Error while processing METAKEY". I have checked the keys already. I wonder what part of my configuration could be erroneous. Does anyone know? (Already asked on #tinc, too)
blahdodo has joined #nixos
<fragamus> ij thanks man
zzamboni has quit [Remote host closed the connection]
zzamboni has joined #nixos
vaninwagen has joined #nixos
<Orbstheorem[m]> spacefrogg: I don't think I can mount the Btrfs volume before resuming, it's already mounted in the system I'm about to resume
<spacefrogg> Orbstheorem[m]: You should be able to mount the root filesystem read-only and just switch over (thus, "forgetting" the mount). But I am not entirely sure about how the resume mechanics work.
<spacefrogg> Orbstheorem[m]: Does a resume just place you inside an initramfs that has to do the heavy lifting?
<Orbstheorem[m]> to resume, you have to write de device major,minor into a file under proc of a block device containing a valid hibernation image
<Orbstheorem[m]> (On initramfs)
asuryawanshi has joined #nixos
<ij> srhb, I wrote a tiny (already merged) commit surrounding terraform that should make it onto 17.09, I believe. 4e63119c540e@master How could I arrange its merger?
adisbladis has quit [Ping timeout: 256 seconds]
<spacefrogg> Orbstheorem[m]: Okay then, boot into initrfamfs, decrypt root, mount root, decrypt swap, unmount root, (bonus: lock root again), and fire up resume from the unlocked swap.
asuryawanshi has quit [Ping timeout: 256 seconds]
hotfuzz has joined #nixos
vidbina has quit [Ping timeout: 255 seconds]
vaninwagen has quit [Ping timeout: 265 seconds]
aarvar has quit [Ping timeout: 265 seconds]
nuncanada has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vAsuw
<NixOS_GitHub> nixpkgs/master 78c71e8 Peter Hoeg: xca: 1.3.2 -> 1.4.0
NixOS_GitHub has left #nixos [#nixos]
nschoe has joined #nixos
test has joined #nixos
test is now known as Guest74911
dan_b has joined #nixos
thc202 has joined #nixos
hamishmack has joined #nixos
lonokhov has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ma271 has joined #nixos
zzamboni has quit [Quit: Leaving.]
coot has quit [Quit: coot]
MP2E has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34955: home-assistant: 0.63.1 -> 0.63.2 (master...home-assistant) https://git.io/vAsg2
NixOS_GitHub has left #nixos [#nixos]
asuryawanshi has joined #nixos
pie_ has joined #nixos
zzamboni has joined #nixos
vdemeester_ has quit [Remote host closed the connection]
pie__ has joined #nixos
pie_ has quit [Read error: Connection reset by peer]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yuriaisaka opened pull request #34956: caffe2: init at 0.8.1 (master...pr-caffe2-init) https://git.io/vAs2J
NixOS_GitHub has left #nixos [#nixos]
zzamboni has quit [Ping timeout: 256 seconds]
zzamboni has joined #nixos
vdemeest_ has joined #nixos
vdemeest_ has quit [Changing host]
vdemeest_ has joined #nixos
vdemeest_ is now known as vdemeester_
zzamboni has quit [Ping timeout: 260 seconds]
sigmundv has joined #nixos
zzamboni has joined #nixos
rauno has quit [Ping timeout: 268 seconds]
Neo-- has joined #nixos
zzamboni has quit [Ping timeout: 240 seconds]
zzamboni has joined #nixos
arjen-jonathan has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
spear2 has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #34955: home-assistant: 0.63.1 -> 0.63.2 (master...home-assistant) https://git.io/vAsg2
NixOS_GitHub has left #nixos [#nixos]
<fearlessKim[m]> where can I find /var/log/messages ?
zzamboni has quit [Ping timeout: 276 seconds]
<adisbladis[m]> fearlessKim: Use journalctl
<Ke> or /proc/kmsg, if it needs to be a file
<Ke> notably it will contain only messages for this boot
<Ke> there is also dmesg command
zzamboni has joined #nixos
fragamus has joined #nixos
rauno has joined #nixos
<fearlessKim[m]> Ke: /proc/kmsg is visible only by root while I can access it via journalctl -b, isn't it strange ? My goal is to retrieve the kernel log from my VMs
<Ke> there is a kernel config option to make /proc/kmsg readable to all
<Ke> also journalctl does have acl scheme
<Ke> on many distros users can see their own logs, but not system logs
zzamboni has quit [Remote host closed the connection]
<Ke> which is kind of missleading, as you might not realize that you are not actually seeing all log entries, just the user entries, which often are not what you want to see
xnaveira[m] has joined #nixos
<Ke> Hint: You are currently not seeing messages from other users and the system.
<Ke> Users in groups 'adm', 'systemd-journal' can see all messages.
<Ke> Pass -q to turn off this notice.
<Ke> I get that on debian actually
<xnaveira[m]> hi everyone, very excited to try out nixos in my lenovo x240
<Ke> stretch
<xnaveira[m]> first problem though, dropbox is not syncing
<xnaveira[m]> i'm not getting any messages in journalctl but it did complain that the version is too old
zzamboni has joined #nixos
<fearlessKim[m]> Ke thanks actually I am root on (test) local nixops VMs so not much of a problem
orbekk has quit [Quit: WeeChat 1.9.1]
<xnaveira[m]> any word of advice? dropbox is a dealbreaker for me, i have my vi, i3 and other configs in there....
<goibhniu> hi xnaveira[m]: you could try dropbox from the unstable channel ... I don't know if it's newer though
<xnaveira[m]> how can i make sure i'm running an up to date version?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthiasbeyer closed pull request #32760: Add papis: 0.5.0 (master...add-papis) https://git.io/vbKxh
NixOS_GitHub has left #nixos [#nixos]
<goibhniu> xnaveira[m]: how do you install it? nix-env or via systemPackages?
ThatDocsLady has joined #nixos
<xnaveira[m]> ok... i'll check it out then
<xnaveira[m]> as system package
<xnaveira[m]> i'm on literally my first 10 minutes in nixos
zzamboni has quit [Ping timeout: 256 seconds]
<xnaveira[m]> ok cool, let me read that 😆
zzamboni has joined #nixos
<goibhniu> if that doesn't work ... you could try upgrading dropbox ... your first patch within 30 mins of your first install? :D
<xnaveira[m]> ahaha
<xnaveira[m]> well, i could try to do that, but it would be much easier if i can setup my environment first, running on defaults for everything atm
<goibhniu> sure, hopefully upgrading it works
<goibhniu> (by installing it from unstable)
<xnaveira[m]> let me try the unstable thing first, i'll come back otherwise, good opportunity to learn packaging
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vAsoj
<NixOS_GitHub> nixpkgs/master 6d66f67 adisbladis: firefox-devedition-bin: 59.0b8 -> 59.0b9
<NixOS_GitHub> nixpkgs/master c80adf5 adisbladis: firefox-beta-bin: 59.0b8 -> 59.0b9
NixOS_GitHub has left #nixos [#nixos]
zzamboni has quit [Ping timeout: 265 seconds]
vdemeester_ has quit [Remote host closed the connection]
zzamboni has joined #nixos
humanoyd has joined #nixos
Unode has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm closed pull request #34927: ruby: remove unsupported versions (master...ruby-remove-old) https://git.io/vAOa1
NixOS_GitHub has left #nixos [#nixos]
knupfer has joined #nixos
mmercier has joined #nixos
Synthetica has joined #nixos
zzamboni has quit [Ping timeout: 252 seconds]
hke has left #nixos [#nixos]
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 1de98e8 adisbladis: plasma: 5.11.5 -> 5.12.1
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 2 new commits to master: https://git.io/vAs6U
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master dabcccc Peter Hoeg: Merge pull request #34726 from adisbladis/plasma-5_12_0...
Unode has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vAs6n
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 6ec8fe0 Jörg Thalheim: z3: also needs setuptools
zzamboni has quit [Remote host closed the connection]
Unode has quit [Ping timeout: 255 seconds]
<xnaveira[m]> goibhniu: I'm getting the allowUnfree error even though it worked wen i was installing from stable and i have the nixpkgs.config.allowUnfree = true; in my config ???
<goibhniu> oh!
<goibhniu> I guess you need to have unstable.config.allowUnfree = true
<xnaveira[m]> i created an unstable.nix fie with the example in the faq and imported it in my configuration.nix
<xnaveira[m]> ahhhh
<xnaveira[m]> ok
<xnaveira[m]> mmm, scopes
<xnaveira[m]> sorry, still wrapping my head around it
<mmercier> Hi all! I have a question: I'd like to keep my nix-shell in the store even if they are not running, but they are garbage collected. I'd like to put them manualy in the the gcroot to avoid that but I can't find the root derivation. Any idea?
zzamboni has joined #nixos
<symphorien> I think you have to replace `import <unstable> {}` by `import <unstable> { config = { allowUnfree = true; }; }`
Unode has joined #nixos
pie__ has quit [Ping timeout: 248 seconds]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vdemeest_ has joined #nixos
vdemeest_ has quit [Changing host]
vdemeest_ has joined #nixos
<goibhniu> lemme know if that works xnaveira[m], I'll add it to the wiki
<xnaveira[m]> sure, just trying different combinations
vdemeest_ has quit [Remote host closed the connection]
vdemeest_ has joined #nixos
<xnaveira[m]> ok, it swallowed as you say
<xnaveira[m]> now it is installing a bunch of crap from unstable, including yet anoher firefox it seems :P
<goibhniu> hrm
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] teto opened pull request #34958: [RDY] allow override of Kernel printk (master...kernel_printk) https://git.io/vAsPt
NixOS_GitHub has left #nixos [#nixos]
vdemeest_ has quit [Ping timeout: 256 seconds]
iyzsong has joined #nixos
zzamboni has quit [Ping timeout: 256 seconds]
<xnaveira[m]> and it works now goibhniu thanks!
akar_ has joined #nixos
<goibhniu> yay! what worked?
zzamboni has joined #nixos
<xnaveira[m]> yes, it seems it installs a few extra packages, i guess its because of dependencies
<xnaveira[m]> but it works now
<goibhniu> ah
<goibhniu> symphorien's line, right?
<xnaveira[m]> yes, thx symphorien btw
<goibhniu> nice!
zzamboni has quit [Remote host closed the connection]
zzamboni has joined #nixos
steshaw has quit [Quit: Connection closed for inactivity]
srcCoon has quit [Quit: leaving]
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
mmercier has quit [Ping timeout: 252 seconds]
zzamboni has quit [Ping timeout: 240 seconds]
ma271 has quit [Quit: WeeChat 2.0]
zzamboni has joined #nixos
<genesis> how to find where come from a function as substituteAllFiles in nix-repl ?
<symphorien> your best bet is to grep nixpkgs
mmercier has joined #nixos
<genesis> i did, don't find it definition, you know it's very use...
<LnL> packages have location metadata, but functions can't
<genesis> oki in top-level/all-packages.nix
<genesis> thanks, i think i'll learn from source :)
zzamboni has quit [Remote host closed the connection]
<genesis> i did with substituteInPlace that is harder to find , interesting.
ottidmes has joined #nixos
bennofs has joined #nixos
zzamboni has joined #nixos
akar_ has quit [Quit: leaving]
zzamboni has quit [Ping timeout: 256 seconds]
zzamboni has joined #nixos
silver has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] leenaars opened pull request #34960: Update several broken links to package homepages (master...updatelinks) https://git.io/vAsST
NixOS_GitHub has left #nixos [#nixos]
zzamboni has quit [Ping timeout: 240 seconds]
adfaure has joined #nixos
zzamboni has joined #nixos
iyzsong has quit [Ping timeout: 260 seconds]
<sphalerite_> genesis: substituteInPlace is a shell function which is part of stdenv. Should be in pkgs/stdenv somewhere. A suitable grep pattern here would be substituteInPlace() (assuming old-style regex or fixed-string grep)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] toogley closed pull request #32509: [WIP] neovim: 0.2.1 -> 0.2.2 (master...update-neovim) https://git.io/vb4h2
NixOS_GitHub has left #nixos [#nixos]
zzamboni has quit [Ping timeout: 240 seconds]
rauno has quit [Ping timeout: 276 seconds]
zzamboni has joined #nixos
adfaure has quit [Ping timeout: 260 seconds]
mmercier has quit [Ping timeout: 276 seconds]
freeman42x]NixOS has joined #nixos
amir has quit [Read error: Connection reset by peer]
rauno has joined #nixos
amir has joined #nixos
Guest74911 has quit [Quit: Page closed]
<ij> How can I create a haskell nix-shell with additional executables avilable. I tried making a derivation with buildInputs = [ … deps … (haskellPackages.callPackage … {}).env ]; but that failed even with no deps present.
vidbina has joined #nixos
vdemeest_ has joined #nixos
vdemeest_ has quit [Client Quit]
Neo-- has quit [Ping timeout: 240 seconds]
freeman42x]NixOS has quit [Ping timeout: 276 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/eef9d363e1c (from 13 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<genesis> sphalerite "typeset -f" in a nix-shell is interesting too .
amir has quit [Read error: Connection reset by peer]
amir has joined #nixos
simukis has joined #nixos
Ivanych has quit [Ping timeout: 255 seconds]
iyzsong has joined #nixos
elninja44 has joined #nixos
pie__ has joined #nixos
<{^_^}> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/57707ea2caf (from 2 days ago, history: https://channels.nix.gsc.io/nixos-17.09)
m712 has quit [Ping timeout: 256 seconds]
freeman42x]NixOS has joined #nixos
Ivanych has joined #nixos
ma27 has joined #nixos
vidbina has quit [Quit: leaving]
goibhniu1 has joined #nixos
iyzsong has quit [Ping timeout: 265 seconds]
pie__ has quit [Ping timeout: 256 seconds]
goibhniu has quit [Ping timeout: 256 seconds]
coot has joined #nixos
zzamboni has quit [Quit: Leaving.]
fendor has joined #nixos
zzamboni has joined #nixos
<{^_^}> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/c831224528c (from 24 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar opened pull request #34961: Fix TZDIR paths in FHS environments (master...steam-tz) https://git.io/vAsFk
NixOS_GitHub has left #nixos [#nixos]
<schoppenhauer> hm.
<schoppenhauer> my mail to nix-dev was rejected, even though I am on this mailinglist
<schoppenhauer> ah. nvm.
vidbina has joined #nixos
pie_ has joined #nixos
fendor has quit [Ping timeout: 248 seconds]
xcmw has joined #nixos
ma27 has quit [Ping timeout: 256 seconds]
hyper_ch2 has joined #nixos
ma27 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] primeos pushed 2 new commits to master: https://git.io/vAsN4
<NixOS_GitHub> nixpkgs/master 92d2043 Michael Weiss: fscrypt: 0.2.2 -> 0.2.3
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master bf01a11 Michael Weiss: fscryptctl: 2017-09-12 -> 2017-10-23
<gchristensen> Profpatsch, adisbladis[m] =)
yegortimoshenko has quit [Remote host closed the connection]
mmercier has joined #nixos
rauno has quit [Ping timeout: 260 seconds]
yegortimoshenko has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel closed pull request #34879: iosevka: 1.13.3 -> 1.14.0 (master...iosevka) https://git.io/vAqQ4
NixOS_GitHub has left #nixos [#nixos]
mrkgnao has quit [Ping timeout: 240 seconds]
dan_b has quit [Ping timeout: 248 seconds]
<gchristensen> Profpatsch: the log viewer is a few parts, 1) the builder sends each line of output to a rabbitmq Exchange, 2) a program call the log collector listens to every log message and writes it to disk for medium-term storage. 3) the web viewer also looks for log messages coming in live, and fills in the historic lines it missed by loading the log-collector's output, vie
<gchristensen> the viewer uses STOMP.js and RabbitMQ can talk STOMP too
hyper_ch2 has quit [Quit: Page closed]
civodul has joined #nixos
mmercier has quit [Quit: mmercier]
dan_b has joined #nixos
mmercier has joined #nixos
rauno has joined #nixos
chreekat has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tertleeltret has joined #nixos
roberth has quit [Ping timeout: 248 seconds]
<avn> gchristensen: btw if volume of logs grows, you can use kafka instead rmq
xcmw has joined #nixos
<gchristensen> yeah that could work
hyper_ch2 has joined #nixos
<gchristensen> I hope ofborg grows enough to need that :)
xcmw has quit [Client Quit]
<aminechikhaoui> Hi, I'm trying to boot from a custom Google Cloud image but not very different from the nixpkgs one, and recently got this after generating an image https://pastebin.com/C8iJFenU
xcmw has joined #nixos
<aminechikhaoui> I didn't do any big change in my config so I suspect something from nixpkgs is causing this ?
<aminechikhaoui> also I have no idea what to conclude from that stacktrace :D
<aminechikhaoui> the diff of nixpkgs between the working revision and this issue shows some gcc7/retpoline patches
<aminechikhaoui> anyone could decipher what's going on there ?
freeman42x]NixOS has quit [Remote host closed the connection]
freeman42x]NixOS has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
zzamboni has quit [Quit: Leaving.]
<aminechikhaoui> Dezgeg: hm seems similar yeah but I don't see an update of the kernel pkg in the diff I have so I'm pretty sure I successfully booted with it before
<aminechikhaoui> like yesterday
asuryawanshi has joined #nixos
<gchristensen> avn: right now I'm collecting about 2797600 log lines each week, which comes down to about 5 per second hehe
freeman42x]NixOS has quit [Remote host closed the connection]
<Dezgeg> maybe something changed on the gcp side then?
freeman42x]NixOS has joined #nixos
<gchristensen> once I hit start heading towards 1500/s, it might make sense to use a different tool
<aminechikhaoui> Dezgeg: hm could be, I still have the old image, let me quickly test that
<Dezgeg> I definitely can't see it not being the same issue as that one
<avn> gchristensen: well, then you have plenty of room ;)
<gchristensen> :P
<gchristensen> tbh I thought for sure my calculations of 2.7m/week was wrong, because it felt too high, haha
lebel has quit [Ping timeout: 240 seconds]
roberth has joined #nixos
rauno has quit [Ping timeout: 256 seconds]
zzamboni has joined #nixos
<aminechikhaoui> Dezgeg: ok interesting, reproduced with the old image
<aminechikhaoui> so probably something from Google, I guess a more recent kernel should work, I'll try with latest
<Dezgeg> wew, I just threw a guess :P
acarrico has quit [Ping timeout: 240 seconds]
acarrico has joined #nixos
rauno has joined #nixos
ssmike has joined #nixos
freeman42x]NixOS has quit [Remote host closed the connection]
coot has quit [Quit: coot]
freeman42x]NixOS has joined #nixos
Neo-- has joined #nixos
vidbina has quit [Quit: Lost terminal]
tmaekawa has joined #nixos
tmaekawa has quit [Client Quit]
sud0x3 has joined #nixos
alexteves has quit [Quit: Textual IRC Client: www.textualapp.com]
Rusty1_ has joined #nixos
xcmw has quit [Ping timeout: 240 seconds]
peacememories has joined #nixos
tmaekawa has joined #nixos
zzamboni has quit [Quit: Leaving.]
xcmw has joined #nixos
asuryawanshi has quit [Ping timeout: 276 seconds]
zzamboni has joined #nixos
bennofs has quit [Quit: WeeChat 2.0]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ac8a149e07d (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
szicari has joined #nixos
zzamboni has quit [Remote host closed the connection]
coot has joined #nixos
mrkgnao has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] earldouglas opened pull request #34962: jenkins: 2.105 -> 2.89.3 (LTS) (master...jenkins-lts) https://git.io/vAGTU
NixOS_GitHub has left #nixos [#nixos]
raynold has quit [Quit: Connection closed for inactivity]
coot has quit [Quit: coot]
ThatDocsLady has quit [Ping timeout: 256 seconds]
jmc has joined #nixos
ditadi has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
jmc has quit [Client Quit]
<aminechikhaoui> Dezgeg: another fun fact, with the same image and a 2 CPU vm, I'm able to boot
<aminechikhaoui> this was in the comments of the issue you linked
<aminechikhaoui> btw thanks for that, my google searching skills are bad :p
<Dezgeg> name of the error + name of the function works for kernel stuff commonly (i.e. divide error init_intel_microcode)
coot has joined #nixos
<ertes-w> when is the unnamed path in NIX_PATH used?
<aminechikhaoui> Dezgeg: thanks for the trick :)
<ertes-w> NIX_PATH=x1=y1:x2=y2:y3 # when is y3 used?
<aminechikhaoui> ertes-w: afaik if you have <foo> in your expression and y3 has a foo subfolder y3/foo
<ertes-w> ah, i see
<ertes-w> thanks
plakband has joined #nixos
rauno has quit [Ping timeout: 256 seconds]
coot has quit [Ping timeout: 240 seconds]
peacememories has joined #nixos
lord| has quit [Quit: WeeChat 2.0.1]
xcmw has quit [Ping timeout: 276 seconds]
<plakband> I'm having a weird issue on one machine where sometimes my keystrokes will be buffered; like delayed for a second or until the next keystroke. I'm not sure what triggers it, or if it's a urxvt or X11 thing, but it's only on one machine and only sometimes. Does anyone have any ideas?
<samueldr> I maybe had something similar happen when enabling powertop; usb devices would power down rapidly
ssmike has quit [Ping timeout: 256 seconds]
coot has joined #nixos
<plakband> samueldr: Thanks for the suggestion, I'll try turning off autosuspend
zzamboni has joined #nixos
<plakband> Nope, no luck
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d98857b5364 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
zzamboni has quit [Client Quit]
pkill9 has joined #nixos
zzamboni has joined #nixos
zzamboni has quit [Ping timeout: 265 seconds]
alexteves_ has joined #nixos
alex`` has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bignaux opened pull request #34965: 2 CPC emulators (master...cpc) https://git.io/vAGYU
NixOS_GitHub has left #nixos [#nixos]
<hyper_ch2> Profpatsch: online?
samueldr has quit [Read error: Connection reset by peer]
reinzelmann has quit [Quit: Leaving]
niklob has joined #nixos
ssmike has joined #nixos
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
erasmas has joined #nixos
xcmw has joined #nixos
<gchristensen> sphalerite_: you know about android things, yeah?
cement has joined #nixos
cfricke has joined #nixos
MercurialAlchemi has quit [Ping timeout: 276 seconds]
orivej has joined #nixos
niklob has quit [Quit: Leaving]
<genesis> https://github.com/NixOS/nixpkgs/pull/34965 i wonder if it'd better in 3 separates PR, btw let's see :)
xcmw has quit [Ping timeout: 240 seconds]
<gchristensen> genesis: xcpc and libdsk should be in one Pr, and caprice should be in a second PR
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #33950: tinyxml-2: 4.0.1 -> 6.0.0 (master...tinyxml-2-6) https://git.io/vN82L
NixOS_GitHub has left #nixos [#nixos]
<genesis> oki, i noticed.
plakband has quit [Ping timeout: 240 seconds]
21WAAE8ML has joined #nixos
21WAAE8ML has left #nixos [#nixos]
<21WAAE8ML> [nixpkgs] joachifm closed pull request #34960: Update several broken links to package homepages (master...updatelinks) https://git.io/vAsST
5EXAAOSVY has joined #nixos
<5EXAAOSVY> [nixpkgs] joachifm pushed 5 new commits to master: https://git.io/vAGn7
5EXAAOSVY has left #nixos [#nixos]
<5EXAAOSVY> nixpkgs/master d00086b Michiel Leenaars: gnutls-kdh: fix link
<5EXAAOSVY> nixpkgs/master 9c99c35 Michiel Leenaars: cutee: fix broken link
<5EXAAOSVY> nixpkgs/master 73ff868 Michiel Leenaars: tlspool: fix broken link
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 8acde7b Lassulus: nixos/gnunet: set private TMPDIR (#34945)
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vAGnh
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #34949: mate desktop: update to release 1.20 (master...upd.mate) https://git.io/vAstK
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra closed pull request #1870: Add splitVersion primop. (master...split-version) https://git.io/vA3h0
NixOS_GitHub has left #nixos [#nixos]
samueldr has joined #nixos
samueldr has quit [Changing host]
samueldr has joined #nixos
coot has quit [Quit: coot]
<dtz> Staging looking okay? Hard to tell at a glance due to all the aborted darwin jobs
<dtz> Good morning!
jmeredith has joined #nixos
sud0x3 has quit [Quit: WeeChat 2.0.1]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] catern opened pull request #34966: pythonPackages.supervise_api: 0.3.0 -> 0.4.0 (master...master) https://git.io/vAGWz
NixOS_GitHub has left #nixos [#nixos]
coot has joined #nixos
mizu_no__ has joined #nixos
<LnL> why are they aborted?
ssmike has quit [Ping timeout: 255 seconds]
mizu_no__ has quit [Client Quit]
Arcaelyx has joined #nixos
castordamon[m] has joined #nixos
hyper_ch2 has quit [Ping timeout: 260 seconds]
knupfer has quit [Ping timeout: 255 seconds]
<sphalerite_> !ask
<sphalerite_> !doesanyoneuse
<{^_^}> Don't ask if anyone uses software xyz, just ask your specific question. This helps solve your problem quicker, and allows people who haven't used xyz but may still be able to help you to do so.
<sphalerite_> gchristensen: ^ ;)
<gchristensen> gosh durnit sphalerite_!
<sphalerite_> gchristensen: not particularly. I wrote an android app once, many years ago, and I occasionalyl use adb
mmercier has quit [Quit: mmercier]
fragamus has joined #nixos
aarvar has joined #nixos
hlt has joined #nixos
aw has quit [Ping timeout: 265 seconds]
fragamus has quit [Ping timeout: 252 seconds]
aw has joined #nixos
nwspk has quit [Ping timeout: 256 seconds]
ambro718 has joined #nixos
the_real_plumps has quit [Ping timeout: 256 seconds]
nwspk has joined #nixos
the_real_plumps has joined #nixos
hlt is now known as m712
dan_b has quit [Ping timeout: 260 seconds]
Tucky has quit [Quit: WeeChat 2.0.1]
pSub has quit [Quit: No Ping reply in 180 seconds.]
MinceR has quit [Ping timeout: 260 seconds]
pSub has joined #nixos
pSub has quit [Changing host]
pSub has joined #nixos
MinceR has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] timokau opened pull request #34967: ripgrep: 7.1 -> 8.0 (master...ripgrep-update) https://git.io/vAGuI
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] timokau opened pull request #34968: buildRustPackage: Restrict `find` to files (staging...rust-find) https://git.io/vAGuq
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] timokau closed pull request #34967: ripgrep: 7.1 -> 8.0 (master...ripgrep-update) https://git.io/vAGuI
NixOS_GitHub has left #nixos [#nixos]
Itkovian has joined #nixos
<dtz> No idea LnL, haha especially if you don't know! :)
<LnL> well, I don’t see any aborted jobs
roberth has quit [Ping timeout: 240 seconds]
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nschoe has quit [Quit: Program. Terminated.]
lonokhov has quit [Quit: Lost terminal]
Sonarpulse has joined #nixos
asuryawanshi has joined #nixos
peacememories has joined #nixos
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alex`` has joined #nixos
coot has quit [Remote host closed the connection]
stephenjudkins has joined #nixos
xcmw has joined #nixos
<gchristensen> looks like merging dtz's musl branch added 4s to the eval, which is a neat thing I can know now
max3raza has joined #nixos
<dtz> That's curious. Wonder what caused that...
<gchristensen> just more smarts probably
simendsjo has joined #nixos
Itkovian has quit [Ping timeout: 265 seconds]
<LnL> that's for all platforms right?
<nhill> How are you guys dealing with spectre and meltdown?
cfricke has quit [Quit: WeeChat 2.0]
<dtz> hmm looks like they were restarted or something, LnL, I don't see them anymore either. Or maybe I was looking at the wrong eval, but don't think so.
ryanartecona has joined #nixos
<gchristensen> nhill: by applying all the patches r
ssmike has joined #nixos
arjen-jonathan has quit [Ping timeout: 240 seconds]
sigmundv has quit [Ping timeout: 268 seconds]
<nhill> gchristensen: So if I install 17.09, it's fully patched?
<gchristensen> should bee
<nhill> cool
<gchristensen> there is some confusion around microcode updates from intel, but afaik we're completel up to date on the recommended patches
<nhill> I've known about Nix for about a year now, hopefully getting to finally play around with it in the next week
<gchristensen> (intel has released and rescinded microcode patches at least once)
<LnL> dtz: ah, somebody probably restarted them then
<nhill> I'm hoping it's one of those things that I kick myself for not doing earlier, you guys seem to be doing things right imo
<gchristensen> =)
<nhill> btw, why can't I manage userspace packages declaratively?
hakujin has joined #nixos
<nhill> Or can I pass a declarative config file to nix-env?
<aminechikhaoui> what's userspace pkgs ?
<nhill> non-global
<catern> you can, there are a number of ways, check "Declarative Package Management" in the nixpkgs manual
<nhill> ok, just curious because skimming the main manual it said I couldn't
<catern> also see the --remove-all argument to nix-env which is one way you could do it with just base Nix
<nhill> And in my mind, I'd prefer to limit the packages installed globally
<nhill> But, it really doesn't matter on my personal laptop I suppose
castordamon[m] is now known as castordamon
<gchristensen> I don't use nix-env, I either put packages in to systemPackages or use shell.nix files for projects
<nhill> Also, final major question... I'm mainly doing JS development these days. I see there are tools for Nixifying npm packages that I would want to install globally...
<nhill> But, would I run into any problems just using the standard node tools inside my project directories?
<nhill> gchristensen: I'll look into shell.nix
alex`` has quit [Quit: WeeChat 2.0.1]
<nhill> Any reasons why using npm inside my ~/projects directory would cause problems?
<gchristensen> I don't know
<samueldr> afaik, no issues, but obviously npm -g is discouraged
<samueldr> (if it even can work)
<nhill> yeah, clearly I would avoid --global and --user
<nhill> I can Nixify and global/user packages I want if they don't already exist
<samueldr> for stuff usually used as -g, ./node_modules/.bin/[that_binary] works great, e.g.: react-create-app or however it's called
<nhill> samueldr: Haven't things like create-react-app or es-lint for example been nixified?
<nhill> Or is there not a large JS userbase on Nix?
<samueldr> oh, it probably can ben, but I was lazy :)
<samueldr> can be*
<simpson> nhill: You underestimate the effort required to tame Node crap, I suspect.
<samueldr> and all those I used are one-time use generators and such, so instead of having to THEN update a package, I can rm -rf the temp dir with the tool :)
tv has quit [Ping timeout: 260 seconds]
<gchristensen> simpson: please don't antagonize the newbie :)
<symphorien> there are various npm2nix, node2nix etc. tools
<samueldr> I personally only have used yarn2nix (and then, I was helped a bit)
<simpson> gchristensen: Sorry.
<nhill> simpson: Likely
<simpson> nhill: Taming things is hard, regardless of language. There can be lots of JS users on Nix *and* many tools might remain unpackaged.
<samueldr> but it looks like it's mostly for deployment uses, dunno how it would be used inside nixpkgs to manage a package
Tobba_ has quit [Read error: Connection reset by peer]
<nhill> Well, I almost exclusively use node stuff local to my projects
<samueldr> yeah, using yarn inside nix-shell works well enough that it's not *needed* to make it all live inside nix
<nhill> So, it's well sandboxed in a way
<samueldr> I don't know whether it's good or bad though
<nhill> I have not yet used any binary dependencies, but I'll deal with that hell when I need to
<nhill> Probably writing some C++ node modules this summer :/
<nhill> atleast nixpkgs has the latest nodejs version
<nhill> good sign
Tobba has joined #nixos
coot has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] shlevy opened pull request #1872: monitor-fds: Fix on macOS. (master...macOS-poll-fix) https://git.io/vAG6k
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Twey opened pull request #34971: Update and introduce Godot and godot_headers (master...master) https://git.io/vAG6G
NixOS_GitHub has left #nixos [#nixos]
xcmw has quit [Ping timeout: 248 seconds]
jrolfs has quit [Ping timeout: 240 seconds]
asuryawanshi has quit [Remote host closed the connection]
ryanartecona has quit [Quit: ryanartecona]
asuryawanshi has joined #nixos
xcmw has joined #nixos
klntsky has joined #nixos
<nh2[m]> domenkozar: aszlig what's the right way to allow some nixops generations to be GCd? Delete the symlinks directly from `/nix/var/nix/profiles/per-user/user/nixops`? Or will that upset nixops if it can't find them?
ryanartecona has joined #nixos
<nhill> Wish the nixpkgs website search didn't hide non-free packages
<catern> blah
<catern> question about software deployment, maybe not even specific to Nix, say I have component A pushing out new versions to a host, and component B (possibly an actual user running an application) using the latest version. how should I detect when B is no longer running old versions so I can delete them? maybe I shouldn't even be doing push deployment like this?
<gchristensen> Nix's GC will do that automatically
<catern> yeah, but I'm not super enthusiastic about that runtime roots stuff
<catern> also, in its current incarnation, the runtime roots detection requires that the nix-daemon run as root - which I think is maybe a clear indication that it's not good?
<nh2[m]> gchristensen: hmm, I just did `nix-collect-garbage --delete-older-than 60d` but in `/nix/var/nix/profiles/per-user/user/nixops` there are still symlinks from April 2017
<gchristensen> well it is sort of the only way to definitely know it isn't running
<gchristensen> sorry nh2[m], I was talking to catern
<nh2[m]> ah sorry
<catern> gchristensen: well, I'm willing to consider that maybe being in this situation at all (push deployment, maybe old versions being used) is a sign of doing something wrong
<nhill> Cool namespacing putting bitcoin in altcoin.*
<nhill> :/ ?
Ulrar has quit [Quit: WeeChat 2.1-dev]
<gchristensen> nhill: just pretend the `l` is a `t`. catern: ok
<nhill> why not a more generic 'crypto' or something
raynold has joined #nixos
<simpson> That'd be too generic.
<nhill> 'coins'
reinzelmann has joined #nixos
<catern> yes probably "cryptocurrency" would be a better namespace
<nhill> i don't want to start a flamewar, and I dont care, it just seems silly and funny to install bitcoin-core using 'altcoins.bitcoin'
<catern> or "ecash"
<catern> assuming no-one has called their cryptocurrency "ecash" yet
<simpson> nhill: Don't worry about it. Installing bitcoin-core under *any* name seems silly to me~
<catern> (also assuming no-one has called their ecash system "cryptocurrency"...)
<Dezgeg> well honestly this 'altcoin.' prefix should be dropped as no other packages have such namespacing/categorizing
coot has quit [Quit: coot]
<nhill> Dezgeg: sounds good to me
<LnL> ugh, the rust bootstrap build for 1.23 also runs into the jobserver bug
<nhill> simpson: Good luck retiring ;)
<simpson> nhill: Thanks, but not retiring yet, just between jobs.
jrolfs has joined #nixos
coot has joined #nixos
<nhill> simpson: what will you do when they will only pay you in btc?
<gchristensen> let's take this to #nixos-discusses-currency
<nhill> gchristensen: waiting for users to join haha
<nhill> I take it simpson is the resident troll
<simpson> nhill: It was a joke; gchristensen is asking us to drop the discussion.
<simpson> I'm not a troll. I genuinely am deeply disappointed by most facets of society.
<nhill> nice bait
<nhill> I'm going to go install nixos instead
davidak has quit [Quit: Leaving]
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
fragamus has joined #nixos
xcmw has quit [Read error: Connection reset by peer]
xcmw has joined #nixos
<nh2[m]> for my question above, there's actually `nixops delete-generation`, I hadn't spotted it
tv has joined #nixos
<gchristensen> ah nice
alex`` has joined #nixos
<gchristensen> I'm not sure I've ever actually used nixops with generations
Synthetica has quit [Quit: Connection closed for inactivity]
coot has quit [Read error: Connection reset by peer]
alex`` is now known as alexherbo2
xcmw has quit [Ping timeout: 240 seconds]
alexherbo2 is now known as alex``
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
garbas has joined #nixos
<troydm> back to my broadcom wireless problem, I would like to debug broadcom_sta module, to do that I need to see it's source code, how can I check it's source code
<troydm> it's kernel module
<troydm> also it's proprietary module so it might not even be part of kernel package
<troydm> this is the nix file I think for it
<Yatekii> anyone using nixos with root on zfs?
<srhb> Yatekii: Many, I think.
bpa has joined #nixos
<Yatekii> srhb: can you recommend a good guide? I am experienced with linux but not with zfs
<srhb> Yatekii: I think the wiki has an article on it. Since you'll be using legacy mounts, it's basically like with any other fs, like ext4.
<srhb> Only the "device nodes" are named funnily.
<Yatekii> hmm ok
<Yatekii> thks will try
<srhb> Yatekii: It probably contains a lot of unnecessary steps, a minimal guide would probably help..
[0x4A6F] has joined #nixos
peacememories has joined #nixos
mizu_no__ has joined #nixos
<Yatekii> srhb: that's my fear, becuase I already had a look at the wiki
guillaum1 has joined #nixos
<guillaum1> is there a way to setup "src" with the content of the local git repository ?
<srhb> Yatekii: Perhaps it's easier to think of conceptually. first, leave boot out of zfs. Then you just need to create the zpool, create a dataset with legacy mountpoint and mount it. The rest is the usual install.
<Yatekii> srhb: yeah
<srhb> guillaum1: You can point src at any directory.
<Yatekii> will be more difficult when I want luks I guess ^^
<srhb> Yatekii: There's also native zfs encryption, but with the upcoming format change that might be annoying.
<gchristensen> guillaum1: you can also use use fetchgit to fetch a local repo
<guillaum1> gchristensen: and will it take into account the "currently modified but not commited" files ?
j0xaf has joined #nixos
<gchristensen> well I don't know if you can point it to a checkout, I was assuming a bare repo
mizu_no__ has quit [Quit: Computer has gone to sleep.]
j0xaf has quit [Remote host closed the connection]
hakujin1 has joined #nixos
<guillaum1> gchristensen: perhaps I have an AB problem here. My workflow, I want to use nix-build to build the current status of my working directory. However it may be full of crapy (i.e.: leftover from manual build), so "src = ./." is not reliable and slow.
<symphorien> You can use filtersource
j0xaf has joined #nixos
j0xaf has quit [Client Quit]
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
jrolfs has quit [Ping timeout: 260 seconds]
hakujin has quit [Ping timeout: 276 seconds]
jrolfs has joined #nixos
ma27 has quit [Ping timeout: 265 seconds]
reinzelmann has quit [Quit: Leaving]
rauno has joined #nixos
jrolfs has quit [Ping timeout: 256 seconds]
<guillaum1> symphorien: (yes, but that's painful, I need to whitelist or blacklist all files)
rauno has quit [Remote host closed the connection]
xcmw has joined #nixos
humanoyd has quit [Quit: WeeChat 2.0.1]
jrolfs has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/9b25b9347d9 (from 20 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ryanartecona has quit [Quit: ryanartecona]
ssmike has quit [Ping timeout: 256 seconds]
<troydm> how can i get the list of currently installed packages for system profile?
<troydm> the ones installed using config.nix
<gchristensen> you mean configuration.nix?
<troydm> yeah
mrkgnao has quit [Quit: WeeChat 2.0]
ryanartecona has joined #nixos
<gchristensen> nixos-option environment.systemPackages will sort of tell you that
guillaum1 has quit [Ping timeout: 256 seconds]
<troydm> gchristensen: empty output
<ottidmes> What ways are there to extend lib, the one passed to modules? Could I just extend pkgs.lib and would that also extend the lib passed to modules? The obvious way is to just modify my local nixpkgs checkout, but I prefer keeping my additions separate if they are specific to my needs. Right now I have my own lib file, which I import instead of using the supplied lib, but I prefer to just use the passed lib
<ottidmes> attribute if possible
<troydm> so essentially what I'm interested in is what specific package version I have installed currently for kernel module
<ottidmes> troydm: If it is about some binary, I often use e.g.: readlink $(which firefox)
Neo-- has quit [Ping timeout: 255 seconds]
fragamus has joined #nixos
vidbina has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pallavagarwal07 opened pull request #34973: zathura: make compatible with darwin (master...zathura) https://git.io/vAGdC
NixOS_GitHub has left #nixos [#nixos]
Sonarpulse has quit [Quit: Leaving]
Sonarpulse has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #32799: mnemosyne: 2.3.2 -> 2.6 (master...mnemosyne) https://git.io/vb6po
NixOS_GitHub has left #nixos [#nixos]
alexteves_ has quit [Ping timeout: 265 seconds]
Sonarpulse is now known as Ericson2314
Ericson2314 is now known as Sonarpulse
Sonarpulse has quit [Client Quit]
Sonarpulse has joined #nixos
Sonarpulse has quit [Changing host]
Sonarpulse has joined #nixos
Sonarpulse is now known as Ericson314
Ericson314 is now known as Ericson2314
Ericson2314 is now known as Group
Group is now known as group
group is now known as Sonarpulse
jrolfs has quit [Read error: Connection reset by peer]
Itkovian has joined #nixos
jrolfs has joined #nixos
Ubercow has joined #nixos
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] shlevy closed pull request #1872: monitor-fds: Fix on macOS. (master...macOS-poll-fix) https://git.io/vAG6k
NixOS_GitHub has left #nixos [#nixos]
Itkovian has joined #nixos
hakujin2 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34974: nixos/prosody: add package option (master...prosody) https://git.io/vAGbh
NixOS_GitHub has left #nixos [#nixos]
davidak has joined #nixos
hakujin1 has quit [Ping timeout: 260 seconds]
hamishmack has quit [Quit: hamishmack]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] shlevy reopened pull request #1872: monitor-fds: Fix on macOS. (master...macOS-poll-fix) https://git.io/vAG6k
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master c878414 Jan Tojnar: gnome-desktop-testing: init at 2016.1
<NixOS_GitHub> [nixpkgs] jtojnar pushed 1 new commit to master: https://git.io/vAGNm
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ubercow has quit [Quit: Ubercow]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
acarrico has quit [Ping timeout: 248 seconds]
fragamus has joined #nixos
<infinisil> troydm: You can get systemPackages with something like this: https://git.io/vAGAn
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pie_ has quit [Ping timeout: 276 seconds]
<troydm> infinisil: wow much complexity
<infinisil> troydm: it's not that much?
Neo-- has joined #nixos
ericsagnes has quit [Ping timeout: 276 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #34966: pythonPackages.supervise_api: 0.3.0 -> 0.4.0 (master...master) https://git.io/vAGWz
NixOS_GitHub has left #nixos [#nixos]
<troydm> infinisil: I did something different using nix-store I think, but can't remember exact command, well back to my main pain
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vAGxr
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/staging 672bb6b Frederik Rietdijk: Merge remote-tracking branch 'upstream/master' into HEAD
<troydm> I'm still trying to figure out why wireless keeps dropping below usable
<troydm> like for few mins it works fine and ping with router is under 2ms and the next min it's 4000ms and packet loses
<troydm> broadcom is piece of shit I know that
ericsagnes has joined #nixos
<troydm> but under OSX everything works fine
yann-kaelig has joined #nixos
hakujin3 has joined #nixos
<troydm> so it's linux driver issue, not hardware itself
pie_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #34974: nixos/prosody: add package option (master...prosody) https://git.io/vAGbh
NixOS_GitHub has left #nixos [#nixos]
yann-kaelig has quit [Client Quit]
hakujin2 has quit [Ping timeout: 265 seconds]
<troydm> almost perfect NixOS on Macbook Pro is ruined by worthless wifi
<gchristensen> that is really disappointing
<infinisil> troydm: hmm, maybe worth trying a different distro? Just to see whether it works on any, then apply the patch to nixos
<gchristensen> my 2013 mbp did fine with wifi + nixos :/
<troydm> mine is 2014 mid model and apparently they've started using dual channel chips back then
<troydm> gchristensen: which wireless card do u have it
<troydm> *on it
<gchristensen> I thought it was broadcom but I don't have it anymore
jensens has joined #nixos
<troydm> gchristensen: probably some 43xx but not 4350
<troydm> *4360
<gchristensen> 43xx feels right
yann-kaelig has joined #nixos
<gchristensen> have you seen https://github.com/mbbx6spp/mbp-nixos ?
<troydm> gchristensen: yeah but this doesn't have anything to do with my case
<troydm> it's wireless issues
<infinisil> gchristensen: :O
<infinisil> options hid_apple fnmode=2
<troydm> yeah I have that enabled :)
hamishmack has joined #nixos
ssmike has joined #nixos
<troydm> I'm not sure, I've disabled WMM on router and now it works fine
asuryawanshi has quit [Ping timeout: 265 seconds]
ryanartecona has quit [Quit: ryanartecona]
CrazedProgrammer has joined #nixos
knupfer has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] leenaars opened pull request #34975: stubby: init at 0.2.1 (master...stubby) https://git.io/vAZeo
NixOS_GitHub has left #nixos [#nixos]
Lisanna has joined #nixos
MP2E has joined #nixos
simendsjo has quit [Ping timeout: 264 seconds]
<Lisanna> so it's been about a month since I've run nix-collect-garbage... I've run out of space on my 2TB drive though, I leave it running for hours and it doesn't finish though. Although my disk usage does drop while it's removing stale links (by 100GB over ~5 hours). what on earth has happened here?
ssmike has quit [Ping timeout: 256 seconds]
dotlambda has joined #nixos
<gchristensen> Lisanna: anything in dmesg?
freeman42x]NixOS has quit [Ping timeout: 260 seconds]
<Lisanna> gchristensen I don't see anything interesting...
<Lisanna> I *do* have a service which runs lots of nix-prefetch-git's in a loop / on timers, but the inputs to it don't change very often. I use it to scan remote sources for changes.
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Lisanna> does nix-prefetch-git leave some garbage in my /nix/store even if the result of it already exists?
fragamus has joined #nixos
fragamus has quit [Client Quit]
<Lisanna> I assumed that running it on the same thing over and over was more or less consequence-free
fragamus has joined #nixos
<gchristensen> it should be
<Lisanna> I'm worried that my disk is full of a 2TB worth of symlinks x_x lol
<Lisanna> I'll do some testing once I get all the garbage cleared out
JosW has quit [Quit: Konversation terminated!]
<Lisanna> also, funny thing: if you run nix-collect-garbage and nixos-rebuild at the same time, the garbage collector can snatch resources out from underneath nixos-rebuild while it's waiting on the big GC lock
cement has quit [Remote host closed the connection]
<gchristensen> :o
<gchristensen> it shouldn't
<gchristensen> omg
<Lisanna> yeah
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Lisanna> in that example, I killed the GC process since it was taking *forever* and I was worried that it was stuck, so that's how the lock got released
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nixos
<Baughn> I discovered a way to eliminate screen tearing on nvidia cards. Finally. After years of searching, it's just a disabled driver option away. ...
<Baughn> Anyone want to test it for me before I start thinking about PRs?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 16fa6f5 Sam Parkinson: nixos/plotinus: add module to enable plotinus
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 8f316ff Sam Parkinson: plotinus: init at 0.2.0
<NixOS_GitHub> [nixpkgs] jtojnar pushed 2 new commits to master: https://git.io/vAZJq
xcmw has joined #nixos
Sirio has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar closed pull request #34919: add plotinus and module (master...wip-plotinus) https://git.io/vAOYr
NixOS_GitHub has left #nixos [#nixos]
knupfer has quit [Read error: Connection reset by peer]
knupfer1 has joined #nixos
ssmike has joined #nixos
jensens has quit [Ping timeout: 265 seconds]
taktoa has quit [Remote host closed the connection]
knupfer1 is now known as knupfer
pkill9 has quit [Read error: Connection reset by peer]
ssmike1 has joined #nixos
ssmike has quit [Ping timeout: 268 seconds]
ssmike1 is now known as ssmike
pkill9 has joined #nixos
pkill9 has quit [Client Quit]
pkill9 has joined #nixos
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos
jensens has joined #nixos
ryanartecona has joined #nixos
freeman42x]NixOS has joined #nixos
dan_b has joined #nixos
hiratara has quit [Ping timeout: 276 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar opened pull request #34979: gnome3.gjs: 1.50.2 → 1.50.4 (master...gjs-1.50.4) https://git.io/vAZkv
NixOS_GitHub has left #nixos [#nixos]
klntsky has quit [Ping timeout: 255 seconds]
hiratara has joined #nixos
tmaekawa has joined #nixos
kelleyNif has quit [Quit: Leaving.]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] leenaars opened pull request #34980: pythonPackages.dkimpy: 0.6.2 -> 0.7.0 (master...dkimpy-0.7) https://git.io/vAZkc
NixOS_GitHub has left #nixos [#nixos]
pie__ has joined #nixos
ssmike has quit [Read error: Connection reset by peer]
tmaekawa has quit [Client Quit]
pie_ has quit [Ping timeout: 248 seconds]
tmaekawa has joined #nixos
<sphalerite_> Is there any way I can get a path that's 1.3GiB in size from one machine to another? Everything I've tried so far complains about "out of memory" after reading in 960MiB of the exported archive
yann-kaelig has quit []
tmaekawa has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl opened pull request #34981: utop: automatically populate the CAML_LD_LIBRARY_PATH env. variable (master...utop-stublibs) https://git.io/vAZkQ
NixOS_GitHub has left #nixos [#nixos]
<Lisanna> sphalerite_ are you using nixUnstable's "nix copy"?
<sphalerite_> Lisanna: tried that, tried manually using --export and --import, any other suggestions welcome
yann-kaelig has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] tadfisher opened pull request #34982: pinentry: add option to enable pinentry-emacs (master...pinentry-emacs) https://git.io/vAZIJ
NixOS_GitHub has left #nixos [#nixos]
<Lisanna> sphalerite_ fwiw I've complained about this in the past: https://github.com/NixOS/nix/issues/1681
<sphalerite_> Yeah... in my case it's not even genuinely running out of memory, as I've given it 32GB of swap
<Lisanna> ...huh
<Lisanna> maybe nix copy has something in it to make it refuse to use swap? (if that's possible?)
<sphalerite_> I don't think so. It's definitely possible (mlock)
<Lisanna> do you know if it's the source or the destination machine that's running out of memory?
<sphalerite_> but I think what might be happening is that it's running out of address space
<sphalerite_> the destination machine
<sphalerite_> --export works fine, it's --import that breaks
<Lisanna> ...err, what
<Lisanna> Are you on a 32 bit machine??
<sphalerite_> the destination is a 32-bit ARM
<sphalerite_> yeah
<Lisanna> ohh
<sphalerite_> although shouldn't processes on 32-bit ARM devices still be able to have up to 3GB of addressable memory?
<Lisanna> I'd think so...
<Lisanna> my only suggestion would be to try disabling nix copy's local store verification steps, unfortunately means recompiling nixUnstable
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nlewo opened pull request #34983: devpi-server: 4.3.1 -> 4.4.0 (master...pr/devpi-server-4.4.0) https://git.io/vAZIF
NixOS_GitHub has left #nixos [#nixos]
<sphalerite_> maybe it tries to increase its allocation too generously after reaching 960MiB and then gives up when that fails
* sphalerite_ straces
alex`` has quit [Ping timeout: 240 seconds]
<sphalerite_> mmap2(NULL, 2013270016, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 7713889 Jan Tojnar: nixos/gjs: add test
<NixOS_GitHub> nixpkgs/master 9857545 Jan Tojnar: Merge pull request #34979 from jtojnar/gjs-1.50.4...
<NixOS_GitHub> nixpkgs/master b2238b7 Jan Tojnar: gnome3.gjs: 1.50.2 → 1.50.4
<NixOS_GitHub> [nixpkgs] jtojnar pushed 3 new commits to master: https://git.io/vAZLI
NixOS_GitHub has left #nixos [#nixos]
<Baughn> Lisanna: On the subject of garbage, I find I need to run `sudo nix-store --gc --print-roots |grep result|awk '{print $1}' | sudo xargs rm` occasionally.
<Baughn> Possibly the awk should go before the grep.
<sphalerite_> Lisanna: or could I use nix-store --dump and nix-store --restore?
<Lisanna> sphalerite_ I don't think so, from what I've read in the documentation for that
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] thoughtpolice pushed 1 new commit to master: https://git.io/vAZL3
<NixOS_GitHub> nixpkgs/master fa8f4b1 Austin Seipp: icestorm: fix chipdb location for icebox_vlog...
NixOS_GitHub has left #nixos [#nixos]
<Lisanna> since it's to a different /nix/store
<Lisanna> Baughn it's actually making progress, even though it's not printing anything... when running nix-collect-garbage I'm reclaiming about 10K of disk space per second... but, it's a 2TB disk, so it'll take awhile...
<Baughn> Ouch...
detran has joined #nixos
<Baughn> What's strace say it's doing?
orivej has quit [Ping timeout: 260 seconds]
<Lisanna> Baughn calling "unlink" and "rmdir" a LOT
<gchristensen> then its still working :)
<Lisanna> I think I filled my disk with 2TB of symlinks...
<Baughn> Might be 'working as intended', then.
<Baughn> What filesystem is that?
<Lisanna> ext4
<Baughn> Do you have optimise-store set?
<Lisanna> yeah
<Baughn> Hmm. Ext4 isn't the worst for this, but it's not the best either. Doing it on a rotary disk won't be helping.
<gchristensen> oh I don't use that, that might be part of why it takes so long
Sonarpulse has quit [Ping timeout: 248 seconds]
<Baughn> I *think* you could save a lot of time by switching to ZFS; it works better with HDDs in general.
<Baughn> (And also works better for huge directories in particular.)
<Lisanna> I mean... it's freed about 100GB over the course of being left running for 5 hours
<Lisanna> I'm less concerned with nix-collect-garbage taking a long time and more concerned with how on earth all those links got there in the first place...
<Baughn> Alternately, since that's probably too much data to put it all on an SSD, you could use bcache. But bcache on NixOS is still WIP. Poke me if you want to beta-test my code. :P
<Baughn> Alternately run nix-collect-garbage more often.
<Baughn> Lisanna: And optimise-store creates very very many links...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 0x4A6F opened pull request #34984: Adding @0x4A6F to maintainers.nix (master...0x4A6F) https://git.io/vAZLH
NixOS_GitHub has left #nixos [#nixos]
<Lisanna> Baughn this isn't a regular use-case for me ;p I think I need to run nix-collect-garbage more often and also find out what runaway process on my machine is dumping on my /nix/store
<Lisanna> I highly suspect it's nix-prefetch-git / nix-prefetch-url, but I won't point any fingers until I've done more testing
<gchristensen> Lisanna: maybe turn on auto-gc
<Lisanna> yeah, I have
<gchristensen> cool
<Lisanna> thankfully my nix project has a pinning option now, so I can pin things I'm working on and care about
<Lisanna> so they won't be GC'd
<Baughn> If I have a .drv file in /nix/store, but no corresponding output, can I get the output?
<Lisanna> Baughn yeah, I recall seeing an option in nix-store for that
yann-kaelig has quit []
ryanartecona has quit [Quit: ryanartecona]
roblabla has quit [Read error: Connection reset by peer]
<Baughn> nix-store -r, yup.
<Lisanna> gchristensen ha... I bet that doesn't take into account all the space being freed on my instance
<gchristensen> I don't know
<Lisanna> when I SIGINT the GC process, it reports that it freed 0MB, even though I've physically seen it free plenty of space
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Baughn opened pull request #34985: Nginx formatter (master...nginx-formatter) https://git.io/vAZtk
NixOS_GitHub has left #nixos [#nixos]
<Baughn> Lisanna: Thanks, that's just what I needed. :)
<Lisanna> Baughn cool!
Bane^ has joined #nixos
<Baughn> Lisanna: How does the GC process count space? Symlinks/directories are hard to measure.
<Lisanna> but yeah, I'll keep the auto-gc on from now on
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Lisanna> Baughn I think it counts space of deleted /nix/store outputs that don't have any more valid references to them
Neo-- has quit [Ping timeout: 256 seconds]
<Baughn> Lisanna: My suspicion is it only counts the space used by the *contents* of files.
klntsky has joined #nixos
<Baughn> Test-driven OS development... I wonder if I'll be asked to swap the last two commits.
* Baughn deliberately added a non-passing test, then fixed it.
fragamus has joined #nixos
szicari has quit [Quit: szicari]
<gchristensen> nice!
<Baughn> Thrice burnt, next time shy?
<Baughn> I've introduced a few too many build failures / bugs due to not testing thoroughly enough. Enough, I say. Let's have a computer do that.
yann-kaelig has joined #nixos
<sphalerite_> I approve :D
<Lisanna> Baughn I've been adding tests to my project too... having a lot of fun abusing IFD for this :)
<Baughn> IFD?
<Lisanna> import-from-derivation
<Baughn> Ah.
<Lisanna> it's like the coolest feature of nix and I learned about it just a few days ago
<Baughn> I use that sometimes, but it's so *slow*...
<Lisanna> it's not that slow...
<Baughn> Half a second each, maybe?
<Baughn> Maybe just a tenth.
<Baughn> Still *really slow*.
ryanartecona has joined #nixos
<Lisanna> sure, but you only have to pay that penalty once... repeat evaluations of the same thing give more or less instant results
hiratara has quit [Quit: ZNC - http://znc.in]
<Baughn> For my use-case, the 'once' happened far too often. :)
<Baughn> All in order to read the size of a file. If I try that again, I'll patch nix-build or something.
<Lisanna> well it's my favorite feature of nix now, since I'll be able to leverage it to implement all of my test result processing / regression analysis in Nix
hiratara has joined #nixos
<Baughn> If it works, it works. It *is* useful.
<Baughn> If it wasn't, I wouldn't be upset that it's slow. :P
simukis has quit [Ping timeout: 248 seconds]
Jbrt has joined #nixos
<sphalerite_> Baughn: patching might not be necessary anymore since shlevy has implemented plugin support for nix
<sphalerite_> Not sure what exactly that entails though
Jbrt has quit [Quit: TLS Script 5.6: Testado e aprovado]
<Baughn> Ooh~ ...I think.
<shlevy> Yeah, you can add a primop
<Baughn> Though I feel like this *should* be a primop. :P
<shlevy> Well, patches welcome :) But with plugins you can iterate and validate and share and prove usefulness first, if any of those are concerns
<Baughn> It's not a problem I have right now, but I'll keep it in mind. :)
<ottidmes> Is there any downside to using imports to define config, so instead of config = { ... }; doing imports = [ { ... } ]? Because I really like that by using imports in this way you can define the same attribute in a module multiple times
<infinisil> Baughn: Regarding your command to delete result roots, there's a better way: find /nix/var/nix/gcroots/auto -printf '%l ' | xargs rm -v
jensens has quit [Ping timeout: 256 seconds]
<Baughn> I disagree that it's better. :P
<Baughn> Mainly because your command depends on implementation details. `nix-store --gc --print-roots` should be more stable.
Sirio has quit [Quit: Page closed]
<infinisil> Baughn: that's an argument
<infinisil> mine finds a bit more though, not only the ones named result
LysergicDreams has quit [Remote host closed the connection]
<infinisil> more robust, less magic
* sphalerite_ eats popcorn
<Baughn> Limiting it to the 'result' symlinks was deliberate. :)
c0ffee152 has joined #nixos
<Baughn> Yours will erase packages from underneath nix-shell. A GC root named 'result' is usually generated by nix-build, and typically not deliberate.
ambro718 has quit [Ping timeout: 268 seconds]
<infinisil> Baughn: true..
<infinisil> alright need to sleep, cya!
knupfer has quit [Ping timeout: 276 seconds]
[0x4A6F] has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl opened pull request #34986: eprover: fix build in non-GCC environments (master...eprover-no-gcc) https://git.io/vAZmF
NixOS_GitHub has left #nixos [#nixos]
kebolio has joined #nixos
okami has joined #nixos
tertleeltret has quit [Quit: Connection closed for inactivity]
<genesis> i've some issue to do same as in nix-shell in my derivation : substituteInPlace ./Makefile --replace "\${prefix}\$" "\${DESTDIR}${prefix}\$"
lord| has joined #nixos
<genesis> it try to expand the variable, i don't want to, perhaps put that in another phase to avoid shell behavior ...
<sphalerite_> use single quotes rather than double quotes
<sphalerite_> and remove the backslashes, probably
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #34986: eprover: fix build in non-GCC environments (master...eprover-no-gcc) https://git.io/vAZmF
NixOS_GitHub has left #nixos [#nixos]
<sphalerite_> and what's the trailing $ for?
freeman42x]NixOS has quit [Ping timeout: 260 seconds]
<genesis> it's in the original file, so i need it to target the right line
<sphalerite_> ah right
<genesis> i wonder if it's really important to give a default working cfg of the package since user have to modify it anyway
<genesis> but i think it's proper.
freeman42x]NixOS has joined #nixos
<sudoreboot[m]> Is there any documentation for the different nix functions? Say I want to find out what `pkgs.haskell.lib.buildStackProject` does, do I just poke around in the nixpkgs repo and figure it out from there?
jtojnar has quit [Ping timeout: 260 seconds]
<sphalerite_> sudoreboot[m]: check the nixpkgs manual first, typically
<sphalerite_> if there's nothing there, grep nixpkgs
<sphalerite_> If that doesn't provide enlightement, ask on IRC :D
<sudoreboot[m]> sphalerite_: Thank you 🙂
<sudoreboot[m]> Would be awesome to have proper docs for functions at some point
<sphalerite_> yeah, there was a push for that at nixcon
<sphalerite_> led by gilligan iirc
jtojnar has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/16fa6f59f77 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/6d442efe996 (from 17 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
chreekat has quit [Quit: quitting]
jensens has joined #nixos
Ross has quit [Ping timeout: 264 seconds]
Ross has joined #nixos
jrolfs has quit [Ping timeout: 248 seconds]
hakujin4 has joined #nixos
cdomigan has joined #nixos
<cdomigan> Anyone here on Mac using the nixos/nix docker image to run nix?
<cdomigan> I'm looking for some info on how to actually use this image, eg to build packages
hakujin3 has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/ef9666e0256 (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
Myrl-saki has quit [Ping timeout: 248 seconds]
jensens has quit [Ping timeout: 240 seconds]
yann-kaelig has quit []
rogue_koder has joined #nixos
Ubercow has joined #nixos
Albori has quit [Ping timeout: 248 seconds]
kelleyNif has joined #nixos
dnovosel has joined #nixos
Bane^ has quit [Quit: ZNC - http://znc.in]
coot has joined #nixos
pie___ has joined #nixos
pie__ has quit [Ping timeout: 240 seconds]
mmlb has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
<mmlb> hey all, I'm trying to use elvish as my log in shell, but I'm getting error: /nix/store/5k6vnk99y3xml0dc7njyl8dqwql3p3v4-elvish-0.10-bin is not a shell package, I compared zsh,bash and elvish nix files and elvish is missing passThru.shellPath, is that the cause of the error?
<dhess> Is there a way to refer to a Perl package from a particular Perl version, like you can with GHC versions and Haskell packages?
<dhess> cdomigan: you might find this helpful: https://github.com/LnL7/nix-docker
klntsky has quit [Ping timeout: 255 seconds]
<cdomigan> @dhess: Thanks that has some great examples
<dhess> cdomigan: also there is #nix-darwin
<LnL> o/
klntsky has joined #nixos
ottidmes has quit [Quit: WeeChat 1.9.1]
<cdomigan> dhess: thanks!
<LnL> just fyi, if you can avoid docker and run on the host system instead it's a lot nicer
<gchristensen> is that with xhyve?
hakujin has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]