sphalerite changed the topic of #nixos-dev to: NixOS Development (#nixos for questions) | NixOS 19.03 released! https://discourse.nixos.org/t/nixos-19-03-release/2652 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html https://r13y.com | 19.03 RMs: samueldr,sphalerite | https://logs.nix.samueldr.com/nixos-dev
_rvl has quit [Quit: ZNC 1.7.3 - https://znc.in]
_rvl has joined #nixos-dev
alpounet has quit [Ping timeout: 264 seconds]
v0|d has joined #nixos-dev
drakonis1 has joined #nixos-dev
orivej has quit [Ping timeout: 258 seconds]
ericnoan has quit [Quit: ZNC - http://znc.in]
Drakonis has joined #nixos-dev
shlevy has joined #nixos-dev
ericnoan has joined #nixos-dev
<teto> while writing nixos tests, they systematically fail with "Kernel panic - not syncing: Out of memory: compulsory panic_on_oom is enabled". I run libvirt VMs etc, I have 8Gb on my host with a *Gb swap. Are the tests launched with some specific qemu flag ? I am surprised to see that error
<gchristensen> the guest or host makes that error?
<samueldr> tmpfs might come in play
<teto> gchristensen: guests
<teto> the tests just runs 2 machines with an MPTCP kernel. https://github.com/teto/nixpkgs/blob/nixos-unstable/nixos/tests/networking-mptcp.nix
drakonis2 has joined #nixos-dev
drakonis1 has quit [Ping timeout: 252 seconds]
justanotheruser has joined #nixos-dev
Drakonis has quit [Quit: WeeChat 2.4]
<pie__> could we do some sort of lazy auto-import of things that dont require manual overrides in all-packages.nix?
<pie__> I suppose I'm assuming the directory structure is sufficiently consistent for that. Just a recursive import of all the default.nix-es
<pie__> and for the manual overrides I guess what youd do is for the specified path, exclude it from being searched for the autoimport
<pie__> or is this all too heavy for performance? (moar builtins?) - I figure you only have to eval it once so...?
Cale has joined #nixos-dev
v0|d has quit [Read error: Connection reset by peer]
v0|d has joined #nixos-dev
Jackneill has joined #nixos-dev
weechat4 has joined #nixos-dev
Jackneill has quit [Remote host closed the connection]
weechat4 is now known as mingc
Jackneill has joined #nixos-dev
Jackneill has quit [Read error: Connection reset by peer]
Jackneill has joined #nixos-dev
Jackneill has quit [Remote host closed the connection]
Jackneill has joined #nixos-dev
alp has joined #nixos-dev
lopsided98 has quit [Ping timeout: 248 seconds]
orivej has joined #nixos-dev
johanot has joined #nixos-dev
<asymmetric> is crates.io handled similarly to NPM? is there a guide on how to add packages to the crates-io.nix set?
lopsided98 has joined #nixos-dev
psyanticy has joined #nixos-dev
Synthetica has joined #nixos-dev
<gchristensen> pie__: no, the explicitness is a feature
<clever> 62 -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s5=1 \
<clever> 64 -monitor unix:/tmp/monitor-socket,server,nowait
<clever> gchristensen: this removes suspend support from qemu, so mojave cant suspend the machine when idle
<clever> gchristensen: it also adds a monitor console, which you can access via `socat stdin /path/to/monitor-socket`
<clever> you can use the monitor to trigger a shutdown, reboot, screenshot, and many other fun things
<gchristensen> :o
<gchristensen> sounds cool!
<clever> the nixos test framework uses the monitor console to automate sending keys to the guest
<clever> gchristensen: dangit, it still stopped responding
<pie__> gchristensen, how so?
<clever> gchristensen: how would you disable suspend to ram on a mac, from a cli?
<gchristensen> oh
<gchristensen> clever: I don't think it should be attempting to ..?
<clever> /Volumes/CONFIG/apply.sh::finish::22 umount -f /Volumes/CONFIG
<clever> 5>Jul 2 12:13:23 nixoss-iMac powerd[52]: Entering Sleep state due to 'Idle Sleep':
<clever> gchristensen: immediately after apply.sh finishes, it puts itself into a coma, and never recovers
<clever> even with s3 support disabled in qemu
<gchristensen> that is strange, mine don't do that
<clever> mojave
<gchristensen> ah
<gchristensen> maybe look up what `caffeine.app` does
<LnL> clever: similar to nice you can use caffeinate to prevent sleep
<clever> lol
<LnL> there might also be an option for it in nix-darwin somewhere, but I don't remember
<LnL> that command is only temporary
<yorick> gchristensen: so what's your nix-build-on-packet script?
<clever> gchristensen: ack, now the high-serria machines arent responding, and syslog didnt mention anything about sleep
<gchristensen> yorick: sorry for not replying :(
<yorick> gchristensen: that's okay, I'm waiting for things to build anyway
<gchristensen> yorick: just put your NixOS config in the userdata like this https://github.com/grahamc/packet-nixos#user-data and then launch them via spot market
<gchristensen> yorick: I don't automatically do it or anything, just as needed
<yorick> gchristensen: what's the usual spin-up time?
<gchristensen> 5-6min
drakonis2 has quit [Ping timeout: 246 seconds]
alpounet has joined #nixos-dev
alp has quit [Ping timeout: 264 seconds]
alpounet is now known as alp
Drakonis has joined #nixos-dev
alpounet has joined #nixos-dev
<clever> gchristensen: sudo systemsetup -getcomputersleep
alp has quit [Ping timeout: 268 seconds]
alp has joined #nixos-dev
alpounet has quit [Ping timeout: 250 seconds]
Drakonis has quit [Ping timeout: 264 seconds]
Drakonis has joined #nixos-dev
johanot has quit [Quit: WeeChat 2.4]
orivej has quit [Ping timeout: 245 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
alp has quit [Ping timeout: 264 seconds]
alp has joined #nixos-dev
orivej has quit [Ping timeout: 258 seconds]
drakonis1 has joined #nixos-dev
alpounet has joined #nixos-dev
orivej has joined #nixos-dev
alp has quit [Ping timeout: 252 seconds]
Drakonis has quit [Ping timeout: 264 seconds]
Drakonis has joined #nixos-dev
orivej has quit [Ping timeout: 245 seconds]
drakonis1 has quit [Quit: WeeChat 2.4]
Drakonis has quit [Ping timeout: 250 seconds]
alpounet has quit [Remote host closed the connection]
alpounet has joined #nixos-dev
alpounet has quit [Ping timeout: 252 seconds]
_rvl has quit [Quit: ZNC 1.7.3 - https://znc.in]
_rvl has joined #nixos-dev
alp has joined #nixos-dev
cjpbirkbeck has joined #nixos-dev
cjpbirkbeck has quit [Quit: Quitting now.]
cjpbirkbeck has joined #nixos-dev
Jackneill has quit [Remote host closed the connection]
alp has quit [Ping timeout: 252 seconds]
Drakonis has joined #nixos-dev
alp has joined #nixos-dev
cjpbirkbeck has quit [Quit: Quitting now.]
cjpbirkbeck has joined #nixos-dev
psyanticy has quit [Quit: Connection closed for inactivity]
orivej has joined #nixos-dev
cjpbirkbeck has quit [Quit: Quitting now.]
Jackneill has joined #nixos-dev
Jackneill has quit [Remote host closed the connection]
Drakonis has quit [Ping timeout: 252 seconds]
Drakonis has joined #nixos-dev
Drakonis has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos-dev
qyliss has quit [Quit: bye]
qyliss^work has quit [Quit: bye]
qyliss has joined #nixos-dev
qyliss^work has joined #nixos-dev
qyliss has quit [Remote host closed the connection]
qyliss^work has quit [Remote host closed the connection]
qyliss^work has joined #nixos-dev
qyliss has joined #nixos-dev
qyliss has quit [Quit: bye]
qyliss^work has quit [Quit: bye]
qyliss^work has joined #nixos-dev
qyliss has joined #nixos-dev
<gchristensen> anyone know where PATH gets set in the nixos module system?
<ivan> gchristensen: nixos/modules/programs/environment.nix?
<ivan> rg '/run/current-system/sw"' led me there
<gchristensen> hmm nice
<gchristensen> ok the last one I'm missing in wrappers
<gchristensen> ok let's see if I broke my system