diff options
Diffstat (limited to 'scripts/build.sh')
-rwxr-xr-x | scripts/build.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/build.sh b/scripts/build.sh index 8a1f71b..266a0ee 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,11 +1,10 @@ #!/bin/bash -if [[ -z $NIX ]]; then - if [[ $NIX -eq 0 ]]; then +if ! [[ -z $NIX ]]; then + if [[ $NIX -eq 0 ]]; then cabal update cabal build else nix-build fi fi - |