Skip to content

Commit

Permalink
opencv3: Reduce closure size from 520 to 154 MiB
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Oct 8, 2018
1 parent 7fb4527 commit c8a2533
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/libraries/opencv/3.x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c8a2533

Please sign in to comment.