diff --git a/nix-develop-gha.sh b/nix-develop-gha.sh index 44283bd..762cb81 100755 --- a/nix-develop-gha.sh +++ b/nix-develop-gha.sh @@ -3,7 +3,7 @@ set -euo pipefail # Read the arguments into an array, so they can be added correctly as flags -IFS=" " read -r -a arguments <<<"${@:-}" +IFS=" " read -r -a arguments <<<"${@:-./#default}" with_nix_develop() { nix develop --ignore-environment "${arguments[@]}" --command "$@"