hamishmack has quit [Ping timeout: 264 seconds]
hamishmack has joined #nix-darwin
Lisanna has joined #nix-darwin
<LnL> dhess: it works but there are various issues, I have to disable it for a build pretty regularly
<clever> LnL: oddly, ive seen builds fail because they cant write to /nix/store/hash-foo.hi (due to compiling ${./foo.hs})
<clever> but that was on a machine without sandboxing
<clever> and ive already confirmed the nixbld group has +w to /nix/store and can make junk like that freely
<clever> though, i just had a thought... what if a different build made that, as a different member of nixbld?
<clever> its not pure!!?
<LnL> not sure I understand
<LnL> but I have seen weird write issues with --check for some stuff
<clever> if you try to blindly ghc ${./foo.hs}, then nix will import it as /nix/store/hash-foo.hs
<clever> ghc then tries to put .o and .hi files in the same dir, as /nix/store/hash-foo.hi and /nix/store/hash-foo.o
<clever> obviously, those are not $out, and are invalid files
<clever> i suspect that the can hang around, and then cause failures the next time ghc does the same thing
<LnL> ah like that
<clever> nix-collect-garbage will also target those files first, before it looks for valid and un-rooted files
<clever> when using a sandbox on linux, you have a private /nix/store/ dir, with bind-mounts for each input
<clever> so such garbage just gets lost when the sandbox is destroyed
<clever> sandbox = true by itself, breaks all darwin builds, since it cant find libsystem
<LnL> yeah, but even there you could have invalid paths
<LnL> if a build fails it's (invalid) output doesn't get removed until you run a gc
<clever> yep
<clever> but nix will remove $out at the start of a build, so that wont cause build failures
<clever> but impure garbage based on input paths can hang around
<LnL> yeah
<gchristensen> mac9 had some sort of hdmi issue and will be back sometime
<LnL> \o/
<LnL> oh wait, you managed to setup metrics?
<gchristensen> not yet
<gchristensen> this is monitored from hydra itself, via https://hydra.nixos.org/queue-runner-status
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Lisanna has quit [Ping timeout: 246 seconds]
carlosdagos has quit [Quit: Connection closed for inactivity]
hamishmack has joined #nix-darwin
Enzime has joined #nix-darwin
Lisanna has joined #nix-darwin
Lisanna has quit [Remote host closed the connection]
Lisanna_ has joined #nix-darwin
scribbler has joined #nix-darwin
scribbler has quit [Remote host closed the connection]
Lisanna_ has quit [Ping timeout: 246 seconds]
Lisanna has joined #nix-darwin
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamishmack has joined #nix-darwin
carlosdagos has joined #nix-darwin