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
|
ssh ${target} bash -e <<END
|
||||||
set -eou pipefail
|
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}
|
${discardStringCtx hostConfig.nix.package}/bin/nix-env -p /nix/var/nix/profiles/system --set ${toplevelOutPath}
|
||||||
${toplevelOutPath}/bin/switch-to-configuration "''${@:-switch}"
|
${toplevelOutPath}/bin/switch-to-configuration "''${@:-switch}"
|
||||||
END
|
END
|
||||||
|
|
Loading…
Reference in New Issue