summary refs log tree commit diff
path: root/pkgs/development/libraries/opencv
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2019-10-30 12:34:47 +0100
committerJan Tojnar <jtojnar@gmail.com>2019-12-31 00:16:46 +0100
commit313da176d35efefbcf36b41ec348c38403581e83 (patch)
treecd7bba63111f2330601c18f0b2a33b65c3b9bbab /pkgs/development/libraries/opencv
parentf9f46dc327c7e659e84d558f1309e16e16e8245a (diff)
downloadnixpkgs-313da176d35efefbcf36b41ec348c38403581e83.tar
nixpkgs-313da176d35efefbcf36b41ec348c38403581e83.tar.gz
nixpkgs-313da176d35efefbcf36b41ec348c38403581e83.tar.bz2
nixpkgs-313da176d35efefbcf36b41ec348c38403581e83.tar.lz
nixpkgs-313da176d35efefbcf36b41ec348c38403581e83.tar.xz
nixpkgs-313da176d35efefbcf36b41ec348c38403581e83.tar.zst
nixpkgs-313da176d35efefbcf36b41ec348c38403581e83.zip
treewide: NIX_*_FLAGS -> string
Diffstat (limited to 'pkgs/development/libraries/opencv')
-rw-r--r--pkgs/development/libraries/opencv/4.x.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/opencv/4.x.nix b/pkgs/development/libraries/opencv/4.x.nix
index 408368b89c4..9fffd3d9477 100644
--- a/pkgs/development/libraries/opencv/4.x.nix
+++ b/pkgs/development/libraries/opencv/4.x.nix
@@ -221,7 +221,7 @@ stdenv.mkDerivation {
 
   nativeBuildInputs = [ cmake pkgconfig unzip ];
 
-  NIX_CFLAGS_COMPILE = lib.optional enableEXR "-I${ilmbase.dev}/include/OpenEXR";
+  NIX_CFLAGS_COMPILE = lib.optionalString enableEXR "-I${ilmbase.dev}/include/OpenEXR";
 
   # Configure can't find the library without this.
   OpenBLAS_HOME = lib.optionalString enableOpenblas openblas;