mirror of
https://github.com/simplex-chat/haskell.nix.git
synced 2026-06-03 09:17:32 +00:00
f655e66777
* Changes to allow opencv to be built The opencv library needs: 1. pkgconfig for opencv should return OpenCV 3, not OpenCV 2 (which is what pkgs.opencv is) 2. hardeningDisable = [ "bindnow" ] (as per https://github.com/LumiGuide/haskell-opencv/commit/5ea490af7662fe74b3740619963d37f1fd91e3d4#) This commit fixes (1) by adding an entry to lib/pkgconf-nixpkgs-map.nix, and partially fixes (2) by adding a new `hardeningDisable` option to the set of package options. The user will still need to specify: packages.opencv.hardeningDisable = [ "bindnow" ]; I'm not sure if there's a place to specify this as default in haskell.nix. * Update comp-builder.nix