direnv: move env vars into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-19 17:30:24 +01:00
parent 43b85cc0d6
commit 12ea6efc0f
+1 -1
View File
@@ -23,7 +23,7 @@ buildGoModule (finalAttrs: {
vendorHash = "sha256-SAIGFQGACTB3Q0KnIdiKKNYY6fVjf/09wGqNr0Hkg+M=";
# we have no bash at the moment for windows
BASH_PATH = lib.optionalString (!stdenv.hostPlatform.isWindows) "${bash}/bin/bash";
env.BASH_PATH = lib.optionalString (!stdenv.hostPlatform.isWindows) "${bash}/bin/bash";
# replace the build phase to use the GNUMakefile instead
buildPhase = ''