mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-13 20:30:02 +00:00
darwin-rebuild: fixing logic error in if statement
This commit is contained in:
parent
da843c0dde
commit
38463b15ec
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ if [ -n "$flake" ]; then
|
|||
flake=$(nix "${flakeFlags[@]}" flake "$cmd" --json "${extraMetadataFlags[@]}" "${extraLockFlags[@]}" -- "$flake" | jq -r .url)
|
||||
fi
|
||||
|
||||
if [ "$action" != build ] && [ -z "$flake" ]; then
|
||||
if [ "$action" != build ]; then
|
||||
if [ -n "$flake" ]; then
|
||||
extraBuildFlags+=("--no-link")
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue