@cryptotaxi247 / infra / commits / 05b6fd3d

macs: pass remote builds through the daemon

When not going through the daemon an fd limit of 256 applies, while when going through the daemon it is 1048576. This should fix issues with running out of file descriptors on darwin builds. Reported-by: Emily <vcs@emily.moe>

Martin Weinelt committed Oct 28, 2024 at 02:21 UTC 05b6fd3d438e8c9fe46f8bf3485a0ff80350b63d
1 file changed +1 -1
macs/nix-darwin.nix
+1 -1
@@ -17,7 +17,7 @@ let
17 ];
18
19 authorizedNixStoreKey =
20 - key: "command=\"${environment} ${config.nix.package}/bin/nix-store --serve --write\" ${key}";
20 + key: "command=\"${environment} ${config.nix.package}/bin/nix-store --serve --store daemon --write\" ${key}";
21 in
22
23 {