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:
parent
66628a83db
commit
a2060d116a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue