Lisanna has quit [Ping timeout: 268 seconds]
dir[m] has joined #nix-darwin
<dir[m]> Folks, how can I get access to md5 binary during `checkPhase`?
cransom has quit [Ping timeout: 246 seconds]
cransom has joined #nix-darwin
cmacrae has joined #nix-darwin
<cmacrae> Hey guys - I did a fresh install of nix and nix-darwin on my system after upgrading to Mojave. When trying to upgrade my channel with `nix-channel --update darwin` I get the following: 'error: opening lock file '/nix/store/d34c0lgwsv3bj1cl2m47rkfzpwg21fn8-master.tar.gz.lock': Permission denied'
<cmacrae> Any ideas why this might be happening?
<cmacrae> I used the standard installer
<cmacrae> One difference I noticed since installing this time round was the absence of the nix-daemon, and therefore the use of NIX_REMOTE
<cmacrae> My `/nix/store` permissions are root:nixbld - could this have something to do with it? All the contents in there are cmacrae:staff, however
<cmacrae> Perhaps you might be able to shed some light on this LnL (when you're free)
<cmacrae> :)
<LnL> the store shouldn't be owned by root
<LnL> are you sure there's no nix-daemon service running somewhere?
<cmacrae> Okay, thanks - I'm just doing another fresh install of nix and nix-darwin now, so I'll see what state my system is in after
<cmacrae> Yeah, when I checked there was definitely not nix-daemon running
disasm has quit [Ping timeout: 245 seconds]
<cmacrae> Okay, in a better state now!
<cmacrae> All is working
<cmacrae> Only annoying thing is this:
<cmacrae> 'warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring'
<cmacrae> Any idea why I'm getting that LnL?
<LnL> yeah, that's added to NIX_PATH unconditionally
<cmacrae> Ah that's annoying, so no way to surpress that for now?
<cmacrae> Just a warning message I guess, so not really a big deal
<LnL> if you create an empty directory there or something it should disappear
<cmacrae> Perfect, thank you!
<LnL> I should make that conditional, with the multi/single user variants now
Lisanna has joined #nix-darwin
Lisanna has quit [Ping timeout: 272 seconds]
cmacrae has quit [Read error: Connection reset by peer]
trcc has joined #nix-darwin
<elvishjerricco> users.nix.configureBuildUsers: NOTE: This does not work unless knownGroups/knownUsers is set.
<elvishjerricco> Does that mean I have to add the build users to the knownUsers list manually?
<LnL> yeah
<elvishjerricco> LnL: Why not add them automatically in that module?
<LnL> we don't know what users might already exist, it makes explicit what users are safe for nix-darwin to manage
<elvishjerricco> LnL: Yes, but simply enabling `configureBuildUsers` seems explicit enough to me. Once a user does that they can't be surprised if nix-darwin starts editing the build users
trcc has quit [Remote host closed the connection]
trcc has joined #nix-darwin
trcc has quit [Ping timeout: 244 seconds]
disasm has joined #nix-darwin
trcc has joined #nix-darwin
trcc has quit [Ping timeout: 268 seconds]
trcc has joined #nix-darwin
szicari has quit [Ping timeout: 246 seconds]
trcc has quit [Ping timeout: 252 seconds]
trcc has joined #nix-darwin
trcc has quit [Ping timeout: 244 seconds]