Merge pull request #179176 from 2xsaiko/outgoing/rebuild-test-symlink
nixos-rebuild: Do not create result symlink in current directory with 'nixos-rebuild test'
This commit is contained in:
commit
e45569822b
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ nixBuild() {
|
|||
|
||||
nixFlakeBuild() {
|
||||
logVerbose "Building in flake mode."
|
||||
if [[ -z "$buildHost" && -z "$targetHost" && "$action" != switch && "$action" != boot ]]
|
||||
if [[ -z "$buildHost" && -z "$targetHost" && "$action" != switch && "$action" != boot && "$action" != test && "$action" != dry-activate ]]
|
||||
then
|
||||
runCmd nix "${flakeFlags[@]}" build "$@"
|
||||
readlink -f ./result
|
||||
|
|
Loading…
Reference in a new issue