From 10bad16926229e398cd00aa0d34e058f1ac5c3ff Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Tue, 8 Oct 2024 12:41:55 +1100 Subject: [PATCH] macos-builder: readd Nix CLI for debugging See https://github.com/NixOS/nixpkgs/pull/268574#discussion_r1788966194 --- nixos/modules/profiles/macos-builder.nix | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/nixos/modules/profiles/macos-builder.nix b/nixos/modules/profiles/macos-builder.nix index bf8414e1e108..62674a331d6f 100644 --- a/nixos/modules/profiles/macos-builder.nix +++ b/nixos/modules/profiles/macos-builder.nix @@ -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;