01:50
philr has joined #nix-darwin
04:37
Ericson2314 has quit [Ping timeout: 264 seconds]
05:33
jtojnar has quit [Ping timeout: 252 seconds]
07:01
<
carlosdagos >
If I have a package in an overlay, how am I supposed to use it in `~/.nixpkgs/darwin-configuration.nix`?
07:01
<
carlosdagos >
Keeps saying it's not found if I say `pkgs.myPackage`
07:20
nD5Xjz has quit [Ping timeout: 252 seconds]
07:33
philr has quit [Quit: WeeChat 2.2]
07:37
nD5Xjz has joined #nix-darwin
11:18
carlosdagos has quit [Quit: Connection closed for inactivity]
12:22
Lisanna has joined #nix-darwin
13:00
trcc has joined #nix-darwin
13:48
trcc has quit [Remote host closed the connection]
13:51
trcc has joined #nix-darwin
13:51
trcc has quit [Remote host closed the connection]
15:48
<
dhess >
w/hois carlosdagos
15:48
<
dhess >
doh, just trying to see if you're still around
15:49
<
dhess >
anyway, in case you arae or you're checking logs, you want to set `nixpkgs.overlays = [ path/to/your/overlay.nix ]`
16:19
jtojnar has joined #nix-darwin
16:45
Ericson2314 has joined #nix-darwin
17:13
LnL has joined #nix-darwin
17:17
<
LnL >
dhess: pong, I got disconnected somehow
17:59
philr has joined #nix-darwin
18:51
<
dhess >
LnL: did you see the issues I'm having with Mojave (above, maybe not if you were disconnected)
18:59
<
manveru >
i get "dyld: Library not loaded: /usr/lib/system/libsystem_network.dylib" after the upgrade
19:00
<
manveru >
i did run `nix upgrade-nix` before upgrading macos, guess that wasn't enough
19:05
<
dhess >
manveru: me too, but only for remote builds
19:05
<
dhess >
local builds are working fine
19:05
<
manveru >
i think i get this message from direnv
19:08
<
manveru >
guess i'll nuke nix once again
19:09
<
manveru >
nix actually fails to connect to the daemon socket
19:16
<
manveru >
ah, yeah, the daemon crashes because of this too
19:18
<
LnL >
did you guys also upgrade the daemon?
19:20
<
manveru >
i guess not
19:20
<
manveru >
doesn't upgrading nix do that?
19:21
<
manveru >
anw, just nuked /nix i can download my stuff again over night
19:23
<
LnL >
depends if you "upgraded"
19:23
<
manveru >
well, i was optimistic :D
19:23
philr has quit [Ping timeout: 252 seconds]
19:24
<
LnL >
did you use the upgrade instructions from the manual?
19:24
<
manveru >
`sudo /usr/bin/dscl . -create /Users/nixbld1 NFSHomeDirectory /var/empty` fails
19:25
<
manveru >
dscl_cmd> DS Error: -14120 (eDSPermissionError)
19:25
trcc has joined #nix-darwin
19:25
<
manveru >
what's this stuff
19:26
<
LnL >
I remember seeing that somewhere
19:27
<
manveru >
i guess the user already exits?
19:27
<
LnL >
don't recall the details tho
19:29
<
manveru >
i just deleted them... hope that helps
19:30
<
manveru >
might be good if the install script did that, or at least checked the list if the user already exists :)
19:30
<
LnL >
that just sets a property, I wouldn't expect it to fail if the users already exist
19:34
trcc has quit [Remote host closed the connection]
19:35
trcc has joined #nix-darwin
19:35
<
manveru >
ok, nix is up and running again
19:37
<
manveru >
hm, i thought sandbox is default now?
19:39
trcc has quit [Ping timeout: 252 seconds]
19:43
trcc has joined #nix-darwin
19:49
<
dhess >
LnL: how would I upgrade the daemon? I am never clear on this with macOS in a multi-user setup.
19:55
<
LnL >
but nix-darwin does that for you if you enable the service module
19:56
<
dhess >
I've been through this before I'm sure but nix-darwin does manage my nix-daemon
19:58
<
manveru >
back to my old config again :)
19:58
<
dhess >
root on this Mac does not have any of its own channels defined, I run "darwin-rebuild switch" from my user account, and nix-daemon is running from exactly the same store path as "nix" in my environment
19:58
<
manveru >
only elixir didn't build
19:59
<
dhess >
Also as I mentioned, local builds are working fine (and are running as nixbld*), it's just the remote builds that aren't, where I'm getting the libsystem_network.dylib error
20:00
<
dhess >
I've got `services.nix-daemon.enable = true;` in my darwin-configuration.nix
20:01
<
LnL >
dhess: maybe there's an older binary of something else like gzip that's being used?
20:02
<
LnL >
manveru: wxmac?
20:02
<
dhess >
LnL: any idea how I could force a rebuild of everything ?
20:03
<
manveru >
i don't use elixir atm anyway, so no worries
20:03
<
LnL >
yeah, I'm not sure how to fix that yet
20:04
<
LnL >
dhess: not really, almost everything should be declarative already
20:04
<
LnL >
unless you're using a different channel for something
20:05
<
dhess >
the only channel I use is for nix-darwin
20:05
<
dhess >
nixpkgs is from git
20:06
<
dhess >
dyld: Library not loaded: /usr/lib/system/libsystem_network.dylib
20:06
<
dhess >
Referenced from: /nix/store/q819d3vjz7vswpvkrfa9gck3ys8rmvcj-Libsystem-osx-10.11.6/lib/libSystem.B.dylib
20:06
<
dhess >
Reason: image not found
20:06
<
dhess >
Connection to woz.home.dhess.net closed.
20:07
hke has joined #nix-darwin
20:07
<
LnL >
try running dtruss -n nix-store on the builder and starting another build
20:08
<
LnL >
err, I mean -W
20:10
<
dhess >
BTW that error above is just when I ssh into the box from the Hydra, not actually starting a build
20:10
<
dhess >
so that's running, what, nix-store I think?
20:10
<
dhess >
oh right, which is the point of your suggestion
20:12
<
dhess >
I don't even need to run a remote build. If I run the ssh command myself I get the error
20:13
<
dhess >
NIX_REMOTE=daemon NIX_SSL_CERT_FILE=/nix/store/63apg38fhrh1yzysnw2wmkhqvw0z8ycr-nss-cacert-3.38/etc/ssl/certs/ca-bundle.crt /nix/store/jhq1irchzdcvihkpxc5pqgb71zmb0nk7-nix-2.1pre6148_a4aac7f/bin/nix-store --serve --write
20:13
<
dhess >
then see above error
20:14
<
dhess >
oh I see the problem
20:14
<
dhess >
that command refers to an old nix (nix-2.1pre...)
20:15
<
dhess >
I don't think I wrote that myself, it must have been generated by the nix-darwin?
20:15
<
gchristensen >
does your ssh authorized_keys file have a command="..."... line?
20:15
<
dhess >
gchristensen: yeah that's it above there
20:15
<
dhess >
and the problem is that it's referring to an old nix-2.1pre.. that wasn't updated with the dylib fix
20:15
<
dhess >
I just don't recall doing that myself so I'm not sure wwhere that came from
20:16
<
dhess >
there's nothing in my darwin-configuration.nix that writes that explicitly
20:16
<
dhess >
but this is a special account I set up on this Mac for remote builds... so did I do that a long time ago or something?
20:16
<
dhess >
I guess I must have
20:22
<
dhess >
well that's what I get for trying to be clever and secure :\
20:23
trcc has quit [Remote host closed the connection]
20:23
<
LnL >
probably from there, but if you don
20:23
trcc has joined #nix-darwin
20:23
<
LnL >
't keep that in you config it will stop updating
20:26
<
dhess >
yeah. I wonder if I used to have that but I've removed it for some reason
20:27
<
dhess >
Thank you! I didn't recall inventing that myself and was quite confused where it came from
20:27
<
dhess >
what's that "per-user" part of the path? Is that from macOS or Nixpkgs?
20:27
<
dhess >
/nixpkgs/nix-darwin/
20:28
trcc has quit [Ping timeout: 240 seconds]
20:32
trcc has joined #nix-darwin
22:07
trcc has quit [Remote host closed the connection]
22:07
trcc has joined #nix-darwin
22:12
trcc has quit [Ping timeout: 252 seconds]
22:16
Ericson2314 has quit [Remote host closed the connection]
23:01
carlosdagos has joined #nix-darwin
23:26
jtojnar has quit [Quit: jtojnar]
23:27
jtojnar has joined #nix-darwin
23:29
jtojnar has quit [Remote host closed the connection]
23:59
<
dhess >
LnL: gchristensen: thanks, remote builds are working here again!
23:59
<
dhess >
that was an insidious one