creating an override name for opencv with debug enabled
This commit is contained in:
parent
ad8df0fae4
commit
d8fe1dad8a
2 changed files with 13 additions and 2 deletions
|
@ -1,10 +1,16 @@
|
|||
let
|
||||
lib = (import <nixpkgs> {}).lib;
|
||||
pkgs = (import <nixpkgs> {}).pkgs;
|
||||
|
||||
in
|
||||
{
|
||||
|
||||
clementine.spotify = false;
|
||||
whitelistedLicenses = with lib.licenses; [ wtfpl ];
|
||||
packageOverrides = pkgs: with pkgs; rec {
|
||||
# build with debug symbols and in debug mode (less optimized)
|
||||
opencvDebug = enableDebugging ((opencv3.override {enablePython=true; enableDocs=true; pythonPackages=pkgs.python3Packages; }).overrideAttrs (oldAttrs: rec {cmakeBuildType = "Debug";}));
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue