@@ -146,11 +146,6 @@ hooks =
146146 , (" mysql" , set (libraryDepends . system . contains (pkg " libmysqlclient" )) True )
147147 , (" network-attoparsec" , set doCheck False ) -- test suite requires network access
148148 , (" numeric-qq" , set doCheck False ) -- test suite doesn't finish even after 1+ days
149- , (" opencv" , opencvOverrides)
150- , (" pandoc >= 1.16.0.2 && < 2.5" , set doCheck False ) -- https://github.com/jgm/pandoc/issues/2709 and https://github.com/fpco/stackage/issues/1332
151- , (" pandoc < 2.6" , pandocPre26Overrides)
152- , (" pandoc >= 2.6 && < 3.1.10" , pandocPre3110Overrides) -- https://github.com/jgm/pandoc/commit/55227a20273267c236ec039c3e6559287a1dca45
153- , (" pandoc-citeproc" , set doCheck False ) -- https://github.com/jgm/pandoc-citeproc/issues/369
154149 , (" purescript" , set doCheck False ) -- test suite doesn't cope with Nix build env
155150 , (" proto-lens-protobuf-types" , set (libraryDepends . tool . contains (pkg " protobuf" )) True )
156151 , (" proto-lens-protoc" , set (libraryDepends . tool . contains (pkg " protobuf" )) True )
@@ -321,10 +316,6 @@ hfseventsOverrides
321316 . set (metaSection . platforms) (Just $ Set. singleton (NixpkgsPlatformGroup (ident # " darwin" )))
322317 . over (libraryDepends . haskell) (Set. union (Set. fromList (map bind [" self.base" , " self.cereal" , " self.mtl" , " self.text" , " self.bytestring" ])))
323318
324- opencvOverrides :: Derivation -> Derivation
325- opencvOverrides = set phaseOverrides " hardeningDisable = [ \" bindnow\" ];"
326- . over (libraryDepends . pkgconfig) (replace (pkg " opencv" ) (pkg " opencv3" ))
327-
328319hspecCoreOverrides :: Derivation -> Derivation -- https://github.com/hspec/hspec/issues/330
329320hspecCoreOverrides = set testFlags [ " --skip" , " 'Test.Hspec.Core.Runner.hspecResult runs specs in parallel'" ]
330321
@@ -348,24 +339,6 @@ gtkglextHook = over (libraryDepends . system) (Set.union (Set.fromList deps))
348339 , " pkgs.xorg.libXmu"
349340 ]
350341
351- pandocPre26Overrides :: Derivation -> Derivation
352- pandocPre26Overrides = set phaseOverrides postInstall
353- where
354- postInstall = unlines [ " postInstall = ''"
355- , " mkdir -p $out/share"
356- , " mv $data/*/*/man $out/share/"
357- , " '';"
358- ]
359-
360- pandocPre3110Overrides :: Derivation -> Derivation
361- pandocPre3110Overrides = set phaseOverrides postInstall
362- where
363- postInstall = unlines [ " postInstall = ''"
364- , " mkdir -p $out/share/man/man1"
365- , " mv \" man/\" *.1 $out/share/man/man1/"
366- , " '';"
367- ]
368-
369342bustleOverrides :: Derivation -> Derivation
370343bustleOverrides = set (libraryDepends . pkgconfig . contains " system-glib = pkgs.glib" ) True
371344 . set (executableDepends . pkgconfig . contains " gio-unix = null" ) False
0 commit comments