opencv: move env variables into env for structuredAttrs (#495170)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user