diff --git a/users/pbsds/home/profiles/bashrc.d/nix-shell.sh b/users/pbsds/home/profiles/bashrc.d/nix-shell.sh index 3b03d1f..e767f07 100644 --- a/users/pbsds/home/profiles/bashrc.d/nix-shell.sh +++ b/users/pbsds/home/profiles/bashrc.d/nix-shell.sh @@ -40,6 +40,11 @@ _ns() { fi >&2 printf " %q" "${args[@]}" >&2 echo + + if [[ "${#args[@]}" -eq 0 ]]; then + return + fi + local outpaths="$( export NIXPKGS_ALLOW_BROKEN export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM