opencv: move env variables into env for structuredAttrs (#495170)

This commit is contained in:
Connor Baker
2026-03-07 23:57:11 +00:00
committed by GitHub
+5 -3
View File
@@ -459,9 +459,11 @@ effectiveStdenv.mkDerivation {
cudaPackages.cuda_nvcc
];
# Configure can't find the library without this.
OpenBLAS_HOME = optionalString withOpenblas openblas_.dev;
OpenBLAS = optionalString withOpenblas openblas_;
env = {
# Configure can't find the library without this.
OpenBLAS_HOME = optionalString withOpenblas openblas_.dev;
OpenBLAS = optionalString withOpenblas openblas_;
};
cmakeFlags = [
(cmakeBool "BUILD_INFO_SKIP_SYSTEM_VERSION" true)