Skip to content

Commit

Permalink
macs: pass remote builds through the daemon
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mweinelt committed Oct 28, 2024
1 parent e89dac7 commit 05b6fd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macs/nix-darwin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ let
];

authorizedNixStoreKey =
key: "command=\"${environment} ${config.nix.package}/bin/nix-store --serve --write\" ${key}";
key: "command=\"${environment} ${config.nix.package}/bin/nix-store --serve --store daemon --write\" ${key}";
in

{
Expand Down

0 comments on commit 05b6fd3

Please sign in to comment.