tclPackages.mkTclDerivation: fix clobbering of env

This commit is contained in:
Stefan Frijters
2026-02-19 00:03:50 +01:00
parent d7e72f383e
commit 1f45d12a2e
@@ -57,7 +57,10 @@ let
];
propagatedBuildInputs = propagatedBuildInputs ++ [ tcl ];
env.TCLSH = "${getBin tcl}/bin/tclsh";
env = {
TCLSH = "${getBin tcl}/bin/tclsh";
}
// (attrs.env or { });
# Run tests after install, at which point we've done all TCLLIBPATH setup
doCheck = false;