Don't --ignore-environment

This leads to some surprising behavior, and I don't think it gives the benefits I thought it would.
This commit is contained in:
Nick Novitski 2023-11-07 20:40:01 -08:00
parent 66628a83db
commit a2060d116a

View file

@ -6,7 +6,7 @@ set -euo pipefail
IFS=" " read -r -a arguments <<<"${@:-./#default}"
with_nix_develop() {
nix develop --ignore-environment "${arguments[@]}" --command "$@"
nix develop "${arguments[@]}" --command "$@"
}
with_nix_develop true # Exit immediately if build fails