<johnw>
hmm... maybe; I'm mostly guessing here. @copumpkin would know
<nkpart>
All good, thanks anyway
<johnw>
is this a fair command for determining how many packages are built in my current environment: nix-store -qR $(readlink ~/.nix-profile) $(readlink /run/current-system) | grep -v '\.drv$' | wc -l
<johnw>
LnL: one thing I've noticed, and I don't know if this is due to distributed builds or not, but if I start a nix-build and then use C-c, it does NOT stop the builds
<johnw>
it is then very hard to get them to stop, actually
<johnw>
(probably because I started them with -k, so if I kill the process for one build, it just errors out and starts the next one)
<johnw>
nkpart: did you figure it out?
<nkpart>
No :(
pxc has joined #nix-darwin
<nkpart>
I tried ImageIO as a buildinput to both libpng, and to the haskell package
<nkpart>
I *think* it's an error that ImageIO is finding the nix-store libpng
<pjan_>
LnL: I pulled the latest version, and get this: Could not write domain /Library/Preferences/SystemConfiguration/com.apple.smb.server. Something changed?
hamishmack has quit [Quit: hamishmack]
<dhess>
LnL: johnw: you are running nix 1.12 on your Macs, yeah?
hamishmack has joined #nix-darwin
<johnw>
dhess: yes
<dhess>
johnw: does it handle remote builds?
<johnw>
dhess: yes, seems to just fine
<johnw>
now, nix-darwin still calls nix-build, and not "nix build"
<dhess>
johnw: how about sandboxed builds, are you doing those with it?
<dhess>
johnw: that is probably ok
<johnw>
no, haven't tried sandbox builds in a long time
<dhess>
ok, thanks
<johnw>
how do I turn those on again?
<dhess>
nix.useSandbox = true
<dhess>
supposedly works on 1.12 on Mac again. I think.
<johnw>
so, I see this running here: /nix/store/44b41xb9kmn3i8fh22k2jdpcfx81v2lz-nix-unstable-1.12pre5810_5d5b931f/bin/nix-daemon
<dhess>
I ask about sandboxed builds because I have a really strange thing going on where I have a nixpkgs-channels git submodule, and an overlay git submodule, and on 2 Macs I get the same evaluations.
<dhess>
but on this 3rd Mac I installed today, I'm getting a slightly different one, and I can only imagine there's some kind of impurity creeping in somewhere.
<johnw>
have you tried nix-diff?
<dhess>
same git submodules etc.
<dhess>
johnw: no, I only found out about that recently and haven't had a chance to try it yet. Maybe this is a good opportunity.
<dhess>
good idea.
<johnw>
dhess: I get: error: derivation '/nix/store/2z1hd6vpzq6kx8284pdrl8wx31w17rnm-user-environment.drv' specifies a sandbox profile, but this is only allowed when 'sandbox' is 'relaxed'
contrapumpkin has quit [Ping timeout: 240 seconds]
<johnw>
well, i don't know what I did
<johnw>
but I can't get to github.com anymore, and I can't rebuild my darwin environment. something quite seriously broke with this sandbox attempt
<johnw>
(or the timing is suspicious)
<dhess>
oh god :( I am so sorry
<dhess>
can you roll back?
<johnw>
no problem; does sandboxing change something?
<johnw>
i'll just have to force turn off sandboxing in /etc/nix/nix.conf
<dhess>
I am not certain exactly what it does on macOS now. As far as I know, it just tries to prevent the builders from reaching out of their build directory or the nix store to get dependencies
<johnw>
what blocks me is the SIGABRT in the sandboxing stuff
<dhess>
I believe that on macOS stdenv is constructed using *some* libs from your system
<dhess>
that probably means it is trying to reach out anyway and getting slapped
<johnw>
hmm.. even after editing nix.conf, it's still dying in sandboxing
<johnw>
i'll try a rollback
<dhess>
what about in /run/current-system/etc/nix ?
<dhess>
and try restarting nix-daemon
<johnw>
sweet!
<dhess>
so that it sees the new config
<johnw>
gotta love nix
<dhess>
phew. I was feeling really guilty :)
<johnw>
one thing I've found is that darwin-rebuild will stop a running LaunchDaemon service, but not restart it
<johnw>
haven't figured that one out
<johnw>
ah, internet is back
<dhess>
really? How does it see the new config after you darwin-rebuild switch?
<dhess>
I thought that was the whole point of the `services.nix-daemon.enable = true;` bit
<johnw>
hmm
<johnw>
dunno
<dhess>
do you have that turned on?
<johnw>
yes
<dhess>
what is in your /etc/profile ?
<dhess>
is there anything in there related to Nix?
<dhess>
then as far as I understand it, nix-darwin should be managing your nix-daemon process, including restarting it when needed. If that isn't happening I think you should talk to LnL about it and maybe file an issue
pjan_ has quit [Read error: Connection reset by peer]
philr has quit [Quit: WeeChat 2.0.1]
Biappi has quit [Ping timeout: 248 seconds]
pjan_ has joined #nix-darwin
pjan_ has quit [Client Quit]
pjan_ has joined #nix-darwin
periklis has joined #nix-darwin
shlevy has quit [Ping timeout: 252 seconds]
shlevy has joined #nix-darwin
<LnL>
pjan_: hmm, that's the hostname thing
<pjan_>
used to work. Maybe a rights issue, because your refactor is not changing any of the output
Biappi has joined #nix-darwin
<LnL>
yeah, I did change the test but only quotes
periklis has quit [Ping timeout: 248 seconds]
__Sander__ has joined #nix-darwin
pjan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamishmack has quit [Quit: hamishmack]
pjan_ has joined #nix-darwin
hamishmack has joined #nix-darwin
contrapumpkin has joined #nix-darwin
propumpkin has quit [Ping timeout: 268 seconds]
<copumpkin>
allo
zzamboni has joined #nix-darwin
cstrahan has quit [Ping timeout: 252 seconds]
cstrahan has joined #nix-darwin
zzamboni has quit [Remote host closed the connection]
zzamboni has joined #nix-darwin
pxc has joined #nix-darwin
pxc has quit [Ping timeout: 246 seconds]
szicari has joined #nix-darwin
pjan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pjan_ has joined #nix-darwin
pjan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
prooftechnique has quit [*.net *.split]
ambrosia has quit [*.net *.split]
manveru has quit [*.net *.split]
dhess has quit [*.net *.split]
cransom has quit [*.net *.split]
ambrosia has joined #nix-darwin
prooftechnique has joined #nix-darwin
dhess has joined #nix-darwin
manveru has joined #nix-darwin
cransom has joined #nix-darwin
__Sander__ has quit [Quit: Konversation terminated!]