Skip to content

Commit

Permalink
macos-builder: readd Nix CLI for debugging (#347205)
Browse files Browse the repository at this point in the history
  • Loading branch information
roberth authored Oct 8, 2024
2 parents 5741a40 + 10bad16 commit 2d11924
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions nixos/modules/profiles/macos-builder.nix
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,7 @@ in

# The linux builder is a lightweight VM for remote building; not evaluation.
nix.channel.enable = false;
# remote builder uses `nix-daemon` (ssh-ng:) or `nix-store --serve` (ssh:)
# --force: do not complain when missing
# TODO: install a store-only nix
# https://github.com/NixOS/rfcs/blob/master/rfcs/0134-nix-store-layer.md#detailed-design
environment.extraSetup = ''
rm --force $out/bin/{nix-instantiate,nix-build,nix-shell,nix-prefetch*,nix}
'';

# Deployment is by image.
# TODO system.switch.enable = false;?
system.disableInstallerTools = true;
Expand Down

0 comments on commit 2d11924

Please sign in to comment.