python2Packages.mkPythonDerivation: move LANG into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-12 18:37:59 +01:00
parent 2d73bd4b51
commit 0efd1693f7

View File

@@ -248,7 +248,10 @@ let
inherit strictDeps;
LANG = "${if python.stdenv.hostPlatform.isDarwin then "en_US" else "C"}.UTF-8";
env = {
LANG = "${if python.stdenv.hostPlatform.isDarwin then "en_US" else "C"}.UTF-8";
}
// (attrs.env or { });
# Python packages don't have a checkPhase, only an installCheckPhase
doCheck = false;