diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/deckdebug.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/deckdebug.sh b/scripts/deckdebug.sh index 9ecf63fe..d67fd236 100755 --- a/scripts/deckdebug.sh +++ b/scripts/deckdebug.sh @@ -10,7 +10,7 @@ fi # https://jackson.dev/post/a-portable-nix-shell-shebang/ -if [ -z "$INSIDE_NIX_RANDOMSTRING" ] && command -v nix &> /dev/null; then +if [ -z "$INSIDE_NIX_RANDOMSTRING" ] && command -v nix &> /dev/null && test -e /etc/NIXOS; then # If the user has nix, relaunch in nix shell with dependencies added INSIDE_NIX_RANDOMSTRING=1 nix shell \ nixpkgs#websocat \ |
