summaryrefslogtreecommitdiff
path: root/scripts/deckdebug.sh
diff options
context:
space:
mode:
authorAAGaming <aagaming@riseup.net>2026-11-21 21:16:14 -0500
committerAAGaming <aagaming@riseup.net>2026-11-21 21:16:14 -0500
commitfc0355f55d8d36826466fc304d6ecb254d4b7ca1 (patch)
tree6497c5c260e6f032ab468dce0f361f64d003af12 /scripts/deckdebug.sh
parent02db20f846857374b9b5f1e7dbd475befdf47b71 (diff)
parentf8682eb26fb23c9bed3c4a509d2b90eb582805f3 (diff)
downloaddecky-loader-fc0355f55d8d36826466fc304d6ecb254d4b7ca1.tar.gz
decky-loader-fc0355f55d8d36826466fc304d6ecb254d4b7ca1.zip
Merge remote-tracking branch 'origin/v4-dev' into aa/esmodule-steam
Diffstat (limited to 'scripts/deckdebug.sh')
-rwxr-xr-xscripts/deckdebug.sh2
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 \