diff options
| author | saccarosium <github.e41mv@aleeas.com> | 2022-12-08 10:00:51 +0100 |
|---|---|---|
| committer | saccarosium <github.e41mv@aleeas.com> | 2022-12-08 10:00:51 +0100 |
| commit | 38463b15ec224ebc81e3631c6fd6c499775dd230 (patch) | |
| tree | aba360cb5c5c6065cbf0502e4f3089c5c37de036 /pkgs | |
| parent | da843c0dde3462c96f13c69590cf47b87f91df95 (diff) | |
darwin-rebuild: fixing logic error in if statement
Diffstat (limited to 'pkgs')
| -rw-r--r-- | pkgs/nix-tools/darwin-rebuild.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/nix-tools/darwin-rebuild.sh b/pkgs/nix-tools/darwin-rebuild.sh index bb1c023..e23512c 100644 --- a/pkgs/nix-tools/darwin-rebuild.sh +++ b/pkgs/nix-tools/darwin-rebuild.sh @@ -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 |
