macos-builder: readd Nix CLI for debugging

See https://github.com/NixOS/nixpkgs/pull/268574#discussion_r1788966194
This commit is contained in:
Michael Hoang 2024-10-08 12:41:55 +11:00
parent bc947f541a
commit 10bad16926

View File

@ -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;