diff --git a/home/config.nix b/home/config.nix index e3056e2..6fcb7a0 100644 --- a/home/config.nix +++ b/home/config.nix @@ -1,10 +1,16 @@ let lib = (import {}).lib; + pkgs = (import {}).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";})); + }; + } diff --git a/home/home.nix b/home/home.nix index d1f7e46..1cfaf09 100644 --- a/home/home.nix +++ b/home/home.nix @@ -34,6 +34,12 @@ let #corebird gpx-viewer gpxsee + (corebird.overrideAttrs (oldAttrs: {src = fetchFromGitHub { + owner = "IBBoard"; + repo = "corebird"; + rev = "bc758889a5ac304101001c36eafdb219a0acfda7"; + sha256 = "1yiflxvswrybabqq5cd6x9i740560c23p58gvcn9b6riwhxzrlb9"; + };})) ]; graphicsApps = [ @@ -186,8 +192,7 @@ let # TODO: make a nix-shell expression out of this computerVisionTooling = [ - # 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";}))) + opencvDebug ]; in