python3Packages.zstd: move env vars into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-28 14:03:22 +01:00
parent ce2a8de138
commit a2cccbb61e
@@ -33,10 +33,12 @@ buildPythonPackage rec {
"--library-dirs=${zstd}/lib"
];
# Running tests via setup.py triggers an attempt to recompile with the vendored zstd
ZSTD_EXTERNAL = 1;
VERSION = zstd.version;
PKG_VERSION = version;
env = {
# Running tests via setup.py triggers an attempt to recompile with the vendored zstd
ZSTD_EXTERNAL = 1;
VERSION = zstd.version;
PKG_VERSION = version;
};
nativeCheckInputs = [ pytest ];
checkPhase = ''