build opencv in debug mode

This commit is contained in:
Trolli Schmittlauch 2018-10-11 21:27:43 +02:00
parent 844cad9621
commit 67c5bd07d0

View file

@ -77,7 +77,7 @@ let
cryfs cryfs
sshuttle sshuttle
thefuck thefuck
gnupg gnupg
unar unar
pwgen pwgen
pandoc pandoc
@ -186,7 +186,8 @@ let
# TODO: make a nix-shell expression out of this # TODO: make a nix-shell expression out of this
computerVisionTooling = [ computerVisionTooling = [
(enableDebugging (opencv3.override {enablePython=true; enableDocs=true; pythonPackages=pkgs.python3Packages;})) # build with debug symbols and in debug mode (less optimized)
(enableDebugging ((opencv3.override {enablePython=true; enableDocs=true; pythonPackages=pkgs.python3Packages; }).overrideAttrs (oldAttrs: rec {cmakeBuildType = "Debug";})))
]; ];
in in