Unverified Commit 3543535a authored by Connor Baker's avatar Connor Baker Committed by GitHub
Browse files

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

parents 09003e62 f6d7a099
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)