Skip to content

Commit a2060d1

Browse files
committed
Don't --ignore-environment
This leads to some surprising behavior, and I don't think it gives the benefits I thought it would.
1 parent 66628a8 commit a2060d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nix-develop-gha.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -euo pipefail
66
IFS=" " read -r -a arguments <<<"${@:-./#default}"
77

88
with_nix_develop() {
9-
nix develop --ignore-environment "${arguments[@]}" --command "$@"
9+
nix develop "${arguments[@]}" --command "$@"
1010
}
1111

1212
with_nix_develop true # Exit immediately if build fails

0 commit comments

Comments
 (0)