Unverified Commit 7bc08d01 authored by K900's avatar K900 Committed by GitHub
Browse files

Merge pull request #336675 from emilazy/push-wnvwrzlnlunk

[master] haskellPackages.{ffmpeg-light,opencv{,-extra}}: remove overrides
parents eb44f595 5c05bac4
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -605,10 +605,6 @@ self: super: {
  focuslist = dontCheck super.focuslist;
  search = dontCheck super.search;

  # see https://github.com/LumiGuide/haskell-opencv/commit/cd613e200aa20887ded83256cf67d6903c207a60
  opencv = dontCheck (appendPatch ./patches/opencv-fix-116.patch super.opencv);
  opencv-extra = dontCheck (appendPatch ./patches/opencv-fix-116.patch super.opencv-extra);

  # https://github.com/ekmett/structures/issues/3
  structures = dontCheck super.structures;

@@ -2865,10 +2861,6 @@ self: super: {
    editedCabalFile = null;
  }) super.true-name);

  # ffmpeg-light works against the ffmpeg-4 API, but the default ffmpeg in nixpkgs is ffmpeg-5.
  # https://github.com/NixOS/nixpkgs/pull/220972#issuecomment-1484017192
  ffmpeg-light = super.ffmpeg-light.override { ffmpeg = pkgs.ffmpeg_4; };

  # 2024-08-15: primitive >=0.9 && <0.10
  posix-api = doJailbreak super.posix-api;

+0 −3
Original line number Diff line number Diff line
@@ -685,9 +685,6 @@ self: super: builtins.intersectAttrs super {
  liquid-fixpoint = disableSharedExecutables super.liquid-fixpoint;
  liquidhaskell = dontCheck (disableSharedExecutables super.liquidhaskell);

  # Without this override, the builds lacks pkg-config.
  opencv-extra = addPkgconfigDepend pkgs.opencv3 super.opencv-extra;

  # Break cyclic reference that results in an infinite recursion.
  partial-semigroup = dontCheck super.partial-semigroup;
  colour = dontCheck super.colour;
+0 −11
Original line number Diff line number Diff line
diff -ur opencv-0.0.2.1.bak/Setup.hs opencv-0.0.2.1/Setup.hs
--- opencv-0.0.2.1.bak/Setup.hs	2018-11-10 17:18:41.355731189 +0100
+++ opencv-0.0.2.1/Setup.hs	2018-11-10 17:18:56.901681162 +0100
@@ -3,6 +3,6 @@
 
 main = do
     args <- getArgs
-    let args' | "configure" `elem` args = args ++ ["--with-gcc","c++", "--with-ld","c++"]
+    let args' | "configure" `elem` args = args ++ ["--with-gcc","c++"]
               | otherwise               = args
     defaultMainArgs args'