alexteves has quit [Remote host closed the connection]
trcc has joined #nix-darwin
trcc has quit [Remote host closed the connection]
trcc has joined #nix-darwin
hamishmack has joined #nix-darwin
periklis has joined #nix-darwin
hamishmack has quit [Ping timeout: 250 seconds]
periklis has quit [Remote host closed the connection]
periklis has joined #nix-darwin
hamishmack has joined #nix-darwin
jtojnar has quit [Ping timeout: 245 seconds]
jtojnar has joined #nix-darwin
__Sander__ has joined #nix-darwin
philr has joined #nix-darwin
alexteves has joined #nix-darwin
philr has quit [Quit: WeeChat 2.2]
TheAceOfHearts has joined #nix-darwin
trcc has quit [Remote host closed the connection]
trcc has joined #nix-darwin
trcc has quit [Read error: Connection reset by peer]
qyliss^work has quit [Quit: bye]
qyliss^work has joined #nix-darwin
periklis has quit [Ping timeout: 246 seconds]
carlosdagos has quit [Quit: Connection closed for inactivity]
zack_moe_ has joined #nix-darwin
__Sander__ has quit [Quit: Konversation terminated!]
periklis has joined #nix-darwin
periklis has quit [Ping timeout: 260 seconds]
philr has joined #nix-darwin
trcc has joined #nix-darwin
trcc has quit [Remote host closed the connection]
trcc has joined #nix-darwin
trcc has quit [Ping timeout: 240 seconds]
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nix-darwin
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nix-darwin
TheAceOfHearts has quit [Quit: TheAceOfHearts]
johnw_ is now known as johnw
<elvishjerricco>
Hm. `sudo -i nix-channel --remove nixos` -> `libc++abi.dylib: terminating with uncaught exception of type nix::SysError: getting status of /nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt: Operation not permitted`
<clever>
elvishjerricco: try with `sudo -i` then `nix-channel --remove nixos`
<elvishjerricco>
clever: Still no good
<clever>
oh
<clever>
its probably the nix-env bug
<elvishjerricco>
I think it thinks this is a single-user install
<clever>
put an older nix into PATH
<elvishjerricco>
oh that might be it
<clever>
nix-env cant manipulate a profile that had symlinks pointing to nothing
<elvishjerricco>
Despite the error being: `libc++abi.dylib: terminating with uncaught exception of type nix::SysError: getting status of /nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt: Operation not permitted`
<elvishjerricco>
Of course, running `nix-channel --remove nixos` in another terminal
<clever>
elvishjerricco: just `opensnoop` and no args
<elvishjerricco>
clever: Absurd amounts of `dtrace: error on enabled probe ID 5 (ID 321: syscall::open:return): invalid user access in action #11 at DIF offset 24`
<clever>
elvishjerricco: you have to reboot into recovery mode and disable some safeties
<elvishjerricco>
clever: I didn't realize system integrity mode protections broke nix
<clever>
i dont think it does
<clever>
but it does break dtruss
<clever>
which makes it difficult to debug nix
<elvishjerricco>
Oh. So it has nothing to do with this nix-channel problem?
<clever>
correct
<elvishjerricco>
Oh, no I found the problem
<elvishjerricco>
I accidentally imported a module with nix-darwin that turned on Nix sandboxing :P
<elvishjerricco>
Which I guess breaks some stuff like nix-channel, but not actual nix building? Odd
<clever>
sandboxing shouldnt break nix-env
<LnL>
huh, that's disabled by default
<elvishjerricco>
LnL: Yea it was one of my NixOS modules
<elvishjerricco>
clever: Yea I'm surprised, but disabling sandboxing fixed it
<LnL>
clever: it does with until 2.0.5 is released
<LnL>
(or 2.1)
<elvishjerricco>
Sounds like that'll be a good release :P Considering it also has the constant-memory stufc
<clever>
that constant-memory stuff also breaks nix-copy-closure to remotes that lack it
<clever>
i need to get around to filing na issue for that, lol
<elvishjerricco>
Alright, that was an annoying little side quest :P
<elvishjerricco>
Trying to get my nixops deployment working from macOS. Something was using an odd source of nixpkgs, so I was trying to eliminate channels as a suspect
<clever>
you can just export NIX_PATH=nixpkgs=/path/to/something and it will ignore channels
<elvishjerricco>
True. But the existence of the channels bothered me anyway :P
<elvishjerricco>
Anyway, my problem turned out being something else entirely. I forgot to pass the system arguments to my nixpkgs-unstable import. Now I'm building a Linux VM!
<clever>
yeah, thats a common issue
<clever>
ive seen one user deploy mach-o binaries to a nixops box, then they obviously failed
<elvishjerricco>
Ouch
<elvishjerricco>
Is it possible to specify a key file in a ssh:// store URI?