diff options
author | Gabriella Gonzalez <Gabriel439@gmail.com> | 2022-12-24 08:47:59 -0600 |
---|---|---|
committer | Gabriella Gonzalez <Gabriel439@gmail.com> | 2022-12-24 08:47:59 -0600 |
commit | 799491febaadffbe37d0bbc6803cbd27cafcda22 (patch) | |
tree | 097e80249de80726cf5a7c36d69af39421016f2c /nixos | |
parent | fad554efbb712aae524692d12d67117144c883d2 (diff) |
darwin.builder: Fix `system` for `install-credentials`
The script was being mistakenly being built for the guest
system instead of the host system
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/profiles/macos-builder.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/profiles/macos-builder.nix b/nixos/modules/profiles/macos-builder.nix index 77f3224a7294..0cbac3bd61fe 100644 --- a/nixos/modules/profiles/macos-builder.nix +++ b/nixos/modules/profiles/macos-builder.nix @@ -62,7 +62,7 @@ in # This installCredentials script is written so that it's as easy as # possible for a user to audit before confirming the `sudo` - installCredentials = pkgs.writeShellScript "install-credentials" '' + installCredentials = hostPkgs.writeShellScript "install-credentials" '' KEYS="''${1}" INSTALL=${hostPkgs.coreutils}/bin/install "''${INSTALL}" -g nixbld -m 600 "''${KEYS}/${user}_${keyType}" ${privateKey} |