Unverified Commit f6d7a099 authored by Stefan Frijters's avatar Stefan Frijters
Browse files

opencv: move env variables into env for structuredAttrs

parent fff04026
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -459,9 +459,11 @@ effectiveStdenv.mkDerivation {
    cudaPackages.cuda_nvcc
  ];

  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)