!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1099 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org171 Servers

Load older messages


SenderMessageTime
11 Jul 2025
@prince213:matrix.orgprince213But I did also try setting it for my normal user and then both nix build and sudo nix build won't work14:11:53
@reckenrode:matrix.orgRandy Eckenrode
In reply to @prince213:matrix.org
Remote builds are done by the daemon so it reads root's config.
When I do remote builds, it used my user’s config to authenticate via Secretive.
14:12:00
@reckenrode:matrix.orgRandy Eckenrode
In reply to @prince213:matrix.org
Remote builds are done by the daemon so it reads root's config.
*
14:12:11
@reckenrode:matrix.orgRandy EckenrodeMaybe it’s a Lix thing. I don’t use Nix.14:12:30
@emilazy:matrix.orgemilyyeah I think remote builds do not actually go through the daemon possibly14:14:51
@emilazy:matrix.orgemily it's like, eligible NIX_REMOTE until max-jobs, then the defined machines, or something 14:15:11
@emilazy:matrix.orgemilynot sure14:15:15
@emilazy:matrix.orgemilyit means the builds are spawned as children and mutate the store directly14:15:29
@emilazy:matrix.orgemily Lix HEAD does for root too 14:15:38
@prince213:matrix.orgprince213SSH stdout first line: killing process 1423214:17:20
@prince213:matrix.orgprince213I guess it's not normal14:17:27
@prince213:matrix.orgprince213Intersting14:34:22
@prince213:matrix.orgprince213With many -v I can see the SSH log of nix store info14:34:36
@prince213:matrix.orgprince213But nix build just says killing process14:34:48
@prince213:matrix.orgprince213Maybe it's time to try Lix14:41:02
@prince213:matrix.orgprince213 Randy Eckenrode: What flake input are you using? https://git.lix.systems/lix-project/nixos-module seems to be NixOS only 14:41:30
@reckenrode:matrix.orgRandy EckenrodeThe module also works on Darwin.14:41:53
@reckenrode:matrix.orgRandy Eckenrodehttps://github.com/reckenrode/nixos-configs/blob/b2d3ba6c35ca2903d1d176652ca5d390d8fa7e1a/flake.nix#L5914:42:20
@zhaofeng:zhaofeng.liZhaofeng LiHuh, is the remote host macOS or linux?14:42:34
@prince213:matrix.orgprince213Linux14:42:42
@prince213:matrix.orgprince213I'm trying to build nixpkgs#legacyPackages.x86_64-linux.hello if that's relevant14:42:58
@prince213:matrix.orgprince213My host is macOS though14:43:10
@prince213:matrix.orgprince213Interesting14:43:45
@prince213:matrix.orgprince213* Interesting, I'll try14:43:51
@zhaofeng:zhaofeng.liZhaofeng Livery weird indeed, I assume you've looked at console.app too (filter by nix-daemon)?14:44:54
@zhaofeng:zhaofeng.liZhaofeng Libut for remote building, lix 2.93 does this weird bash thing to work around non-POSIX shells... which really wasn't a good idea14:45:42
@prince213:matrix.orgprince213If you mean console messages then there doesn't seem to be any14:45:46
@zhaofeng:zhaofeng.liZhaofeng Libut it's been removed in head14:45:50
@prince213:matrix.orgprince213The remote shell is bash IIRC14:45:59
@prince213:matrix.orgprince213* The remote login shell is bash IIRC14:46:07

Show newer messages


Back to Room ListRoom Version: 6