From d08f7ca690de74eb187267dc40f695af7ba91b53 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Wed, 3 Sep 2025 09:56:36 +0200 Subject: [PATCH] haskellPackages.opencv: fix eval with allowBroken This is a bit of an odd case, but it seems to break local evaluation for nixpkgs-review, so fix it temporarily. --- pkgs/development/haskell-modules/configuration-nix.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index b52629711680..263457fb312b 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -777,6 +777,15 @@ builtins.intersectAttrs super { colour = dontCheck super.colour; spatial-rotations = dontCheck super.spatial-rotations; + # This package is marked broken, but it causes some evail failures for nixpkgs-review. + # cabal2nix still adds opencv3, which has been removed. It makes no sense to add opencv4, + # because the haskell package is only targeting opencv 3.x specifically. + # TODO: Remove this package entirely from hackage-packages.nix. It's broken and has been last + # updated in 2018. + opencv = overrideCabal (drv: { + libraryPkgconfigDepends = [ ]; + }) super.opencv; + LDAP = dontCheck ( overrideCabal (drv: { librarySystemDepends = drv.librarySystemDepends or [ ] ++ [ pkgs.cyrus_sasl.dev ];