@@ -38,11 +38,13 @@ hooks =
3838 , ("Agda >= 2.5", set (executableDepends . tool . contains (pkg "emacs")) True . set phaseOverrides agda25PostInstall)
3939 , ("alex < 3.1.5", set (testDepends . tool . contains (pkg "perl")) True)
4040 , ("alex", set (executableDepends . tool . contains (bind "self.happy")) True)
41+ , ("alsa-core", over (metaSection . platforms) (Set.filter (\(Platform _ os) -> os == Linux))) , ("bustle", set (libraryDepends . pkgconfig . contains "system-glib = pkgs.glib") True)
4142 , ("bindings-GLFW", over (libraryDepends . system) (Set.union (Set.fromList [bind "pkgs.xorg.libXext", bind "pkgs.xorg.libXfixes"])))
43+ , ("bindings-lxc", over (metaSection . platforms) (Set.filter (\(Platform _ os) -> os == Linux))) , ("bustle", set (libraryDepends . pkgconfig . contains "system-glib = pkgs.glib") True)
4244 , ("bustle", set (libraryDepends . pkgconfig . contains "system-glib = pkgs.glib") True)
43− , ("Cabal", set doCheck False) -- test suite doesn't work in Nix
4445 , ("cabal-helper", set doCheck False) -- https://github.com/DanielG/cabal-helper/issues/17
4546 , ("cabal-install", set doCheck False . set phaseOverrides cabalInstallPostInstall)
47+ , ("Cabal", set doCheck False) -- test suite doesn't work in Nix
4648 , ("darcs", set phaseOverrides darcsInstallPostInstall . set doCheck False)
4749 , ("dbus", set doCheck False) -- don't execute tests that try to access the network
4850 , ("dns", set testTarget "spec") -- don't execute tests that try to access the network
@@ -50,40 +52,40 @@ hooks =
5052 , ("freenect < 1.2.1", over configureFlags (Set.union (Set.fromList ["--extra-include-dirs=${pkgs.freenect}/include/libfreenect", "--extra-lib-dirs=${pkgs.freenect}/lib"])))
5153 , ("gf", set phaseOverrides gfPhaseOverrides . set doCheck False)
5254 , ("gi-cairo", giCairoPhaseOverrides) -- https://github.com/haskell-gi/haskell-gi/issues/36
53− , ("gi-gst", giGstLibOverrides "gstreamer") -- https://github.com/haskell-gi/haskell-gi/issues/36
5455 , ("gi-gstaudio", giGstLibOverrides "gst-plugins-base") -- https://github.com/haskell-gi/haskell-gi/issues/36
5556 , ("gi-gstbase", giGstLibOverrides "gst-plugins-base") -- https://github.com/haskell-gi/haskell-gi/issues/36
57+ , ("gi-gst", giGstLibOverrides "gstreamer") -- https://github.com/haskell-gi/haskell-gi/issues/36
5658 , ("gi-gstvideo", giGstLibOverrides "gst-plugins-base") -- https://github.com/haskell-gi/haskell-gi/issues/36
5759 , ("gi-javascriptcore < 4.0.0.0", webkitgtk24xHook) -- https://github.com/haskell-gi/haskell-gi/issues/36
58− , ("gi-pango", giCairoPhaseOverrides) -- https://github.com/haskell-gi/haskell-gi/issues/36
59− , ("gi-pangocairo", giCairoPhaseOverrides) -- https://github.com/haskell-gi/haskell-gi/issues/36
60− , ("gi-webkit", webkitgtk24xHook) -- https://github.com/haskell-gi/haskell-gi/issues/36
6160 , ("gio", set (libraryDepends . pkgconfig . contains "system-glib = pkgs.glib") True)
62− , ("git", set doCheck False) -- https://github.com/vincenthz/hit/issues/33
61+ , ("gi-pangocairo", giCairoPhaseOverrides) -- https://github.com/haskell-gi/haskell-gi/issues/36
62+ , ("gi-pango", giCairoPhaseOverrides) -- https://github.com/haskell-gi/haskell-gi/issues/36
6363 , ("git-annex", gitAnnexHook)
6464 , ("github-backup", set (executableDepends . tool . contains (pkg "git")) True)
65+ , ("git", set doCheck False) -- https://github.com/vincenthz/hit/issues/33
66+ , ("gi-webkit", webkitgtk24xHook) -- https://github.com/haskell-gi/haskell-gi/issues/36
6567 , ("GlomeVec", set (libraryDepends . pkgconfig . contains (bind "self.llvmPackages.llvm")) True)
6668 , ("goatee-gtk", over (metaSection . platforms) (Set.filter (\(Platform _ os) -> os /= OSX)))
6769 , ("gtk3", gtk3Hook)
6870 , ("haddock", haddockHook) -- https://github.com/haskell/haddock/issues/511
6971 , ("hakyll", set (testDepends . tool . contains (pkg "utillinux")) True) -- test suite depends on "rev"
7072 , ("haskell-src-exts", set doCheck False)
71− , ("HFuse", set phaseOverrides hfusePreConfigure)
7273 , ("hfsevents", hfseventsOverrides)
74+ , ("HFuse", set phaseOverrides hfusePreConfigure)
7375 , ("hlibgit2 >= 0.18.0.14", set (testDepends . tool . contains (pkg "git")) True)
7476 , ("hmatrix", set phaseOverrides "preConfigure = \"sed -i hmatrix.cabal -e 's@/usr/@/dont/hardcode/paths/@'\";")
7577 , ("holy-project", set doCheck False) -- attempts to access the network
7678 , ("hoogle", set testTarget "--test-option=--no-net")
7779 , ("hsignal < 0.2.7.4", set phaseOverrides "prePatch = \"rm -v Setup.lhs\";") -- https://github.com/amcphail/hsignal/issues/1
7880 , ("hslua", over (libraryDepends . each) (replace (pkg "lua") (pkg "lua5_1")))
79− , ("http-client", set doCheck False) -- attempts to access the network
8081 , ("http-client-openssl >= 0.2.0.1", set doCheck False) -- attempts to access the network
82+ , ("http-client", set doCheck False) -- attempts to access the network
8183 , ("http-client-tls >= 0.2.2", set doCheck False) -- attempts to access the network
8284 , ("http-conduit", set doCheck False) -- attempts to access the network
8385 , ("imagemagick", set (libraryDepends . pkgconfig . contains (pkg "imagemagick")) True) -- https://github.com/NixOS/cabal2nix/issues/136
8486 , ("include-file <= 0.1.0.2", set (libraryDepends . haskell . contains (bind "self.random")) True) -- https://github.com/Daniel-Diaz/include-file/issues/1
85− , ("js-jquery", set doCheck False) -- attempts to access the network
8687 , ("jsaddle", set (dependencies . haskell . contains (bind "self.ghcjs-base")) False)
88+ , ("js-jquery", set doCheck False) -- attempts to access the network
8789 , ("libconfig", over (libraryDepends . system) (replace "config = null" (pkg "libconfig")))
8890 , ("liquid-fixpoint", set (executableDepends . system . contains (pkg "ocaml")) True . set (testDepends . system . contains (pkg "z3")) True)
8991 , ("liquidhaskell", set (testDepends . system . contains (pkg "z3")) True)
@@ -92,11 +94,11 @@ hooks =
9294 , ("mysql", set (libraryDepends . system . contains (pkg "mysql")) True)
9395 , ("network-attoparsec", set doCheck False) -- test suite requires network access
9496 , ("numeric-qq", set doCheck False) -- test suite doesn't finish even after 1+ days
95− , ("pandoc", set jailbreak False) -- jailbreak-cabal break the build
97+ , ("opencv", set phaseOverrides "hardeningDisable = [ \"bindnow\" ];")
9698 , ("pandoc >= 1.16.0.2", set doCheck False) -- https://github.com/jgm/pandoc/issues/2709 and https://github.com/fpco/stackage/issues/1332
9799 , ("pandoc-citeproc", set doCheck False) -- https://github.com/jgm/pandoc-citeproc/issues/172
100+ , ("pandoc", set jailbreak False) -- jailbreak-cabal break the build
98101 , ("purescript", set doCheck False) -- test suite doesn't cope with Nix build env
99− , ("opencv", set phaseOverrides "hardeningDisable = [ \"bindnow\" ];")
100102 , ("qtah-cpp-qt5", set (libraryDepends . system . contains (bind "pkgs.qt5.qtbase")) True)
101103 , ("qtah-qt5", set (libraryDepends . tool . contains (bind "pkgs.qt5.qtbase")) True)
102104 , ("readline", over (libraryDepends . system) (Set.union (pkgs ["readline", "ncurses"])))
@@ -112,13 +114,14 @@ hooks =
112114 , ("thyme", set (libraryDepends . tool . contains (bind "self.cpphs")) True) -- required on Darwin
113115 , ("twilio", set doCheck False) -- attempts to access the network
114116 , ("tz", set phaseOverrides "preConfigure = \"export TZDIR=${pkgs.tzdata}/share/zoneinfo\";")
115− , ("webkitgtk3", webkitgtk24xHook) -- https://github.com/haskell-gi/haskell-gi/issues/36
117+ , ("udev", over (metaSection . platforms) (Set.filter (\(Platform _ os) -> os == Linux))) , ("bustle", set (libraryDepends . pkgconfig . contains "system-glib = pkgs.glib") True)
116118 , ("webkitgtk3-javascriptcore", webkitgtk24xHook) -- https://github.com/haskell-gi/haskell-gi/issues/36
119+ , ("webkitgtk3", webkitgtk24xHook) -- https://github.com/haskell-gi/haskell-gi/issues/36
117120 , ("websockets", set doCheck False) -- https://github.com/jaspervdj/websockets/issues/104
118121 , ("Win32", over (metaSection . platforms) (Set.filter (\(Platform _ os) -> os == Windows)))
119122 , ("Win32-shortcut", over (metaSection . platforms) (Set.filter (\(Platform _ os) -> os == Windows)))
120− , ("wxc", wxcHook)
121123 , ("wxcore", set (libraryDepends . pkgconfig . contains (pkg "wxGTK")) True)
124+ , ("wxc", wxcHook)
122125 , ("X11", over (libraryDepends . system) (Set.union (Set.fromList $ map bind ["pkgs.xorg.libXinerama","pkgs.xorg.libXext","pkgs.xorg.libXrender"])))
123126 , ("xmonad", set phaseOverrides xmonadPostInstall)
124127 , ("zip-archive", over (testDepends . tool) (replace (bind "self.zip") (pkg "zip")))