From d83fb640db31e0485da8498c4280e6017eb86505 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 22 Jun 2017 15:34:45 +0200 Subject: [PATCH] haskell-opencv: ensure that the underlying C++ library has contrib code enabled https://github.com/NixOS/nixpkgs/commit/0335b93284b156291d77ff121ea51a01c07527c5#commitcomment-22638850 --- pkgs/development/haskell-modules/configuration-nix.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index 58ab8024369..584ea5eb71d 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -461,4 +461,7 @@ self: super: builtins.intersectAttrs super { liquid-fixpoint = disableSharedExecutables super.liquid-fixpoint; liquidhaskell = dontCheck (disableSharedExecutables super.liquidhaskell); + # Haskell OpenCV bindings need contrib code enabled in the C++ library. + opencv = super.opencv.override { opencv3 = pkgs.opencv3.override { enableContrib = true; }; }; + }