opencv3: Reduce closure size from 520 to 154 MiB

This commit is contained in:
Eelco Dolstra 2018-10-08 19:34:26 +02:00
parent 7fb45271b2
commit c8a2533516

View File

@ -165,6 +165,11 @@ stdenv.mkDerivation rec {
${installExtraFiles face}
'');
postConfigure = ''
[ -e modules/core/version_string.inc ]
echo '"(build info elided)"' > modules/core/version_string.inc
'';
buildInputs =
[ zlib pcre hdf5 glog boost google-gflags protobuf ]
++ lib.optional enablePython pythonPackages.python