Closed mmilata closed 1 year ago
Added preserving of some shellopts/bashopts that are touched by stdenv/original nix-shell. I think these should be enough since nix expressions generally don't change it beyond what stdenv/setup.sh
does, but if anything, we could add code to handle every possible option.
nix-shell seems to have pipefail set (
set -o pipefail
) while cached-nix-shell does not: