From a2060d116a50b36dfab02280af558e73ab52427d Mon Sep 17 00:00:00 2001 From: Nick Novitski Date: Tue, 7 Nov 2023 20:40:01 -0800 Subject: [PATCH] Don't --ignore-environment This leads to some surprising behavior, and I don't think it gives the benefits I thought it would. --- nix-develop-gha.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix-develop-gha.sh b/nix-develop-gha.sh index 762cb81..82d8bf5 100755 --- a/nix-develop-gha.sh +++ b/nix-develop-gha.sh @@ -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