macos-builder: readd Nix CLI for debugging (#347205)

This commit is contained in:
Robert Hensing 2024-10-08 09:58:17 +02:00 committed by GitHub
commit 2d11924c9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;