use switch instead of test

This commit is contained in:
Ingolf Wagner 2021-11-01 11:00:53 +01:00
parent a52507732a
commit 414370ee75
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -4,7 +4,7 @@ let
# command that ensures we use flake.nix during switch
command = targetPath:
let
commandLine = "TMPDIR=/tmp nixos-rebuild test --flake ${targetPath} -L --keep-going";
commandLine = "TMPDIR=/tmp nixos-rebuild switch --flake ${targetPath} -L --keep-going";
in
''
echo '${commandLine}'