mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 01:04:25 +00:00
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
@ -254,7 +254,7 @@ nixBuild() {
|
|||||||
|
|
||||||
nixFlakeBuild() {
|
nixFlakeBuild() {
|
||||||
logVerbose "Building in flake mode."
|
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
|
then
|
||||||
runCmd nix "${flakeFlags[@]}" build "$@"
|
runCmd nix "${flakeFlags[@]}" build "$@"
|
||||||
readlink -f ./result
|
readlink -f ./result
|
||||||
|
Loading…
Reference in New Issue
Block a user