packages: fix nixos-rebuild
This commit is contained in:
parent
6ef7b14c27
commit
bdb9f59e78
|
@ -126,7 +126,7 @@ lib.attrsets.mapAttrs
|
|||
ssh ${target} bash -e <<END
|
||||
set -eou pipefail
|
||||
|
||||
nix build --no-link ${toplevelDrvPath}
|
||||
nix build --no-link ${toplevelDrvPath}^*
|
||||
${discardStringCtx hostConfig.nix.package}/bin/nix-env -p /nix/var/nix/profiles/system --set ${toplevelOutPath}
|
||||
${toplevelOutPath}/bin/switch-to-configuration "''${@:-switch}"
|
||||
END
|
||||
|
|
Loading…
Reference in New Issue