@@ -34,14 +34,14 @@ fixGtkBuilds drv = drv & dependencies . pkgconfig %~ Set.filter (not . collidesW
35hooks :: [(Dependency, Derivation -> Derivation)]
35hooks :: [(Dependency, Derivation -> Derivation)]
37− [ ("alex", set (executableDepends . tool . contains (bind "self.happy")) True)
38− , ("alex < 3.1.5", set (testDepends . tool . contains (pkg "perl")) True)
39− , ("Agda < 2.5", set (executableDepends . tool . contains (pkg "emacs")) True . set phaseOverrides agdaPostInstall)
37+ [ ("Agda < 2.5", set (executableDepends . tool . contains (pkg "emacs")) True . set phaseOverrides agdaPostInstall)
40 , ("Agda >= 2.5", set (executableDepends . tool . contains (pkg "emacs")) True . set phaseOverrides agda25PostInstall)
38 , ("Agda >= 2.5", set (executableDepends . tool . contains (pkg "emacs")) True . set phaseOverrides agda25PostInstall)
39+ , ("alex < 3.1.5", set (testDepends . tool . contains (pkg "perl")) True)
40+ , ("alex", set (executableDepends . tool . contains (bind "self.happy")) True)
41 , ("bindings-GLFW", over (libraryDepends . system) (Set.union (Set.fromList [bind "pkgs.xorg.libXext", bind "pkgs.xorg.libXfixes"])))
41 , ("bindings-GLFW", over (libraryDepends . system) (Set.union (Set.fromList [bind "pkgs.xorg.libXext", bind "pkgs.xorg.libXfixes"])))
42 , ("bustle", set (libraryDepends . pkgconfig . contains "system-glib = pkgs.glib") True)
42 , ("bustle", set (libraryDepends . pkgconfig . contains "system-glib = pkgs.glib") True)
43− , ("cabal-install", set phaseOverrides cabalInstallPostInstall)
44 , ("cabal-helper", set doCheck False) -- https://github.com/DanielG/cabal-helper/issues/17
43 , ("cabal-helper", set doCheck False) -- https://github.com/DanielG/cabal-helper/issues/17
44+ , ("cabal-install", set phaseOverrides cabalInstallPostInstall)
45 , ("darcs", set phaseOverrides darcsInstallPostInstall . set doCheck False)
45 , ("darcs", set phaseOverrides darcsInstallPostInstall . set doCheck False)
46 , ("dbus", set doCheck False) -- don't execute tests that try to access the network
46 , ("dbus", set doCheck False) -- don't execute tests that try to access the network
47 , ("dns", set testTarget "spec") -- don't execute tests that try to access the network
47 , ("dns", set testTarget "spec") -- don't execute tests that try to access the network
@@ -55,29 +55,29 @@ hooks =
55 , ("goatee-gtk", over (metaSection . platforms) (Set.filter (\(Platform _ os) -> os /= OtherOS "darwin")))
55 , ("goatee-gtk", over (metaSection . platforms) (Set.filter (\(Platform _ os) -> os /= OtherOS "darwin")))
56 , ("gtk3", gtk3Hook)
56 , ("gtk3", gtk3Hook)
57 , ("haddock", haddockHook) -- https://github.com/haskell/haddock/issues/511
57 , ("haddock", haddockHook) -- https://github.com/haskell/haddock/issues/511
58− , ("haskell-src-exts == 1.17.1", set doCheck False) -- test suite fails with ghc 8.0.1
59 , ("hakyll", set (testDepends . tool . contains (pkg "utillinux")) True) -- test suite depends on "rev"
58 , ("hakyll", set (testDepends . tool . contains (pkg "utillinux")) True) -- test suite depends on "rev"
59+ , ("haskell-src-exts == 1.17.1", set doCheck False) -- test suite fails with ghc 8.0.1
60 , ("hfsevents", over (metaSection . platforms) (Set.filter (\(Platform _ os) -> os == OtherOS "darwin")))
60 , ("hfsevents", over (metaSection . platforms) (Set.filter (\(Platform _ os) -> os == OtherOS "darwin")))
61 , ("HFuse", set phaseOverrides hfusePreConfigure)
61 , ("HFuse", set phaseOverrides hfusePreConfigure)
62 , ("hlibgit2 >= 0.18.0.14", set (testDepends . tool . contains (pkg "git")) True)
62 , ("hlibgit2 >= 0.18.0.14", set (testDepends . tool . contains (pkg "git")) True)
63 , ("hmatrix", set phaseOverrides "preConfigure = \"sed -i hmatrix.cabal -e 's@/usr/@/dont/hardcode/paths/@'\";")
63 , ("hmatrix", set phaseOverrides "preConfigure = \"sed -i hmatrix.cabal -e 's@/usr/@/dont/hardcode/paths/@'\";")
64 , ("holy-project", set doCheck False) -- attempts to access the network
64 , ("holy-project", set doCheck False) -- attempts to access the network
65− , ("hslua", over (libraryDepends . each) (replace (pkg "lua") (pkg "lua5_1")))
66 , ("hsignal < 0.2.7.4", set phaseOverrides "prePatch = \"rm -v Setup.lhs\";") -- https://github.com/amcphail/hsignal/issues/1
65 , ("hsignal < 0.2.7.4", set phaseOverrides "prePatch = \"rm -v Setup.lhs\";") -- https://github.com/amcphail/hsignal/issues/1
66+ , ("hslua", over (libraryDepends . each) (replace (pkg "lua") (pkg "lua5_1")))
67 , ("http-client", set doCheck False) -- attempts to access the network
67 , ("http-client", set doCheck False) -- attempts to access the network
68− , ("http-client-tls >= 0.2.2", set doCheck False) -- attempts to access the network
69 , ("http-client-openssl >= 0.2.0.1", set doCheck False) -- attempts to access the network
68 , ("http-client-openssl >= 0.2.0.1", set doCheck False) -- attempts to access the network
69+ , ("http-client-tls >= 0.2.2", set doCheck False) -- attempts to access the network
70 , ("http-conduit", set doCheck False) -- attempts to access the network
70 , ("http-conduit", set doCheck False) -- attempts to access the network
71 , ("imagemagick", set (libraryDepends . pkgconfig . contains (pkg "imagemagick")) True) -- https://github.com/NixOS/cabal2nix/issues/136
71 , ("imagemagick", set (libraryDepends . pkgconfig . contains (pkg "imagemagick")) True) -- https://github.com/NixOS/cabal2nix/issues/136
72 , ("include-file <= 0.1.0.2", set (libraryDepends . haskell . contains (bind "self.random")) True) -- https://github.com/Daniel-Diaz/include-file/issues/1
72 , ("include-file <= 0.1.0.2", set (libraryDepends . haskell . contains (bind "self.random")) True) -- https://github.com/Daniel-Diaz/include-file/issues/1
73− , ("jsaddle", set (dependencies . haskell . contains (bind "self.ghcjs-base")) False)
74 , ("js-jquery", set doCheck False) -- attempts to access the network
73 , ("js-jquery", set doCheck False) -- attempts to access the network
74+ , ("jsaddle", set (dependencies . haskell . contains (bind "self.ghcjs-base")) False)
75 , ("libconfig", over (libraryDepends . system) (replace "config = null" (pkg "libconfig")))
75 , ("libconfig", over (libraryDepends . system) (replace "config = null" (pkg "libconfig")))
76 , ("liquid-fixpoint", set (executableDepends . system . contains (pkg "ocaml")) True . set (testDepends . system . contains (pkg "z3")) True)
76 , ("liquid-fixpoint", set (executableDepends . system . contains (pkg "ocaml")) True . set (testDepends . system . contains (pkg "z3")) True)
77 , ("liquidhaskell", set (testDepends . system . contains (pkg "z3")) True)
77 , ("liquidhaskell", set (testDepends . system . contains (pkg "z3")) True)
78 , ("MFlow < 4.6", set (libraryDepends . tool . contains (bind "self.cpphs")) True)
78 , ("MFlow < 4.6", set (libraryDepends . tool . contains (bind "self.cpphs")) True)
79− , ("mysql", set (libraryDepends . system . contains (pkg "mysql")) True)
80 , ("mwc-random", set doCheck False)
79 , ("mwc-random", set doCheck False)
80+ , ("mysql", set (libraryDepends . system . contains (pkg "mysql")) True)
81 , ("network-attoparsec", set doCheck False) -- test suite requires network access
81 , ("network-attoparsec", set doCheck False) -- test suite requires network access
82 , ("pandoc >= 1.16.0.2", set doCheck False) -- https://github.com/jgm/pandoc/issues/2709 and https://github.com/fpco/stackage/issues/1332
82 , ("pandoc >= 1.16.0.2", set doCheck False) -- https://github.com/jgm/pandoc/issues/2709 and https://github.com/fpco/stackage/issues/1332
83 , ("pandoc-citeproc", set doCheck False) -- https://github.com/jgm/pandoc-citeproc/issues/172
83 , ("pandoc-citeproc", set doCheck False) -- https://github.com/jgm/pandoc-citeproc/issues/172
@@ -85,17 +85,19 @@ hooks =
85 , ("rocksdb-haskell", set (metaSection . platforms) (Set.singleton (Platform X86_64 Linux)))
85 , ("rocksdb-haskell", set (metaSection . platforms) (Set.singleton (Platform X86_64 Linux)))
86 , ("sdr", over (metaSection . platforms) (Set.filter (\(Platform arch _) -> arch == X86_64))) -- https://github.com/adamwalker/sdr/issues/2
86 , ("sdr", over (metaSection . platforms) (Set.filter (\(Platform arch _) -> arch == X86_64))) -- https://github.com/adamwalker/sdr/issues/2
87 , ("shake-language-c", set doCheck False) -- https://github.com/samplecount/shake-language-c/issues/26
87 , ("shake-language-c", set doCheck False) -- https://github.com/samplecount/shake-language-c/issues/26
88+ , ("sharc-timbre", set (metaSection . broken) True) -- The build takes insanely long, i.e. >8 hours.
89+ , ("ssh", set doCheck False) -- test suite runs forever, probably can't deal with our lack of network access
88 , ("stack", set phaseOverrides stackOverrides . set doCheck False)
90 , ("stack", set phaseOverrides stackOverrides . set doCheck False)
89 , ("stripe-http-streams", set doCheck False . set (metaSection . broken) False)
91 , ("stripe-http-streams", set doCheck False . set (metaSection . broken) False)
90− , ("text", set doCheck False) -- break infinite recursion
91 , ("target", set (testDepends . system . contains (pkg "z3")) True)
92 , ("target", set (testDepends . system . contains (pkg "z3")) True)
92 , ("terminfo", set (libraryDepends . system . contains (pkg "ncurses")) True)
93 , ("terminfo", set (libraryDepends . system . contains (pkg "ncurses")) True)
94+ , ("text", set doCheck False) -- break infinite recursion
93 , ("thyme", set (libraryDepends . tool . contains (bind "self.cpphs")) True) -- required on Darwin
95 , ("thyme", set (libraryDepends . tool . contains (bind "self.cpphs")) True) -- required on Darwin
94 , ("twilio", set doCheck False) -- attempts to access the network
96 , ("twilio", set doCheck False) -- attempts to access the network
95 , ("tz", set phaseOverrides "preConfigure = \"export TZDIR=${pkgs.tzdata}/share/zoneinfo\";")
97 , ("tz", set phaseOverrides "preConfigure = \"export TZDIR=${pkgs.tzdata}/share/zoneinfo\";")
96 , ("websockets", set doCheck False) -- https://github.com/jaspervdj/websockets/issues/104
98 , ("websockets", set doCheck False) -- https://github.com/jaspervdj/websockets/issues/104
97− , ("wxcore", set (libraryDepends . pkgconfig . contains (pkg "wxGTK")) True)
98 , ("wxc", wxcHook)
99 , ("wxc", wxcHook)
100+ , ("wxcore", set (libraryDepends . pkgconfig . contains (pkg "wxGTK")) True)
99 , ("X11", over (libraryDepends . system) (Set.union (Set.fromList $ map bind ["pkgs.xorg.libXinerama","pkgs.xorg.libXext","pkgs.xorg.libXrender"])))
101 , ("X11", over (libraryDepends . system) (Set.union (Set.fromList $ map bind ["pkgs.xorg.libXinerama","pkgs.xorg.libXext","pkgs.xorg.libXrender"])))
100 , ("xmonad", set phaseOverrides xmonadPostInstall)
102 , ("xmonad", set phaseOverrides xmonadPostInstall)
101 , ("zip-archive", over (testDepends . tool) (replace (bind "self.zip") (pkg "zip")))
103 , ("zip-archive", over (testDepends . tool) (replace (bind "self.zip") (pkg "zip")))