From bb7c9883b566802c476485ee37a96b6329bf3a2b Mon Sep 17 00:00:00 2001 From: Pavel Shirshov Date: Fri, 25 Oct 2024 18:50:37 +0100 Subject: [PATCH] wip: gha test --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index d5c1b99..f95be0e 100755 --- a/build.sh +++ b/build.sh @@ -4,7 +4,7 @@ set -e (for e in "$@"; do [[ "$e" == "nix" ]] && exit 0; done) && NIXIFY=1 || NIXIFY=0 -if [[ $NIXIFY == 1 && ! -v IN_NIX_SHELL ]]; then +if [[ "$NIXIFY" == 1 && -z "${IN_NIX_SHELL+x}" ]]; then echo "Restarting in Nix..." self=$(realpath -s "$0") set -x