git.iko.soy/typeable/cabal2nix
on master help sign in
Disable test suites that need network access.
commit5d5ccfe83f76507453433e583136d12e26722d31 authorPeter Simons <simons@cryp.to> dateFri 25 Sep 2015, 08:16 (11 years ago) parent4acb4d0
1 file changed+4
distribution-nixpkgs/src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs+4
distribution-nixpkgs/src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs+4
@@ -48,10 +48,14 @@ hooks =
4848 , ("haddock", set phaseOverrides "preCheck = \"unset GHC_PACKAGE_PATH\";")
4949 , ("HFuse", set phaseOverrides hfusePreConfigure)
5050 , ("hmatrix", set phaseOverrides "preConfigure = \"sed -i hmatrix.cabal -e 's@/usr/@/dont/hardcode/paths/@'\";")
51+ , ("holy-project", set doCheck False) -- attempts to access the network
5152 , ("hslua", over (libraryDepends . each) (replace (pkg "lua") (pkg "lua5_1")))
53+ , ("http-client", set doCheck False) -- attempts to access the network
54+ , ("http-conduit", set doCheck False) -- attempts to access the network
5255 , ("imagemagick", set (libraryDepends . pkgconfig . contains (pkg "imagemagick")) True) -- https://github.com/NixOS/cabal2nix/issues/136
5356 , ("include-file <= 0.1.0.2", set (libraryDepends . haskell . contains (bind "self.random")) True) -- https://github.com/Daniel-Diaz/include-file/issues/1
5457 , ("jsaddle", set (dependencies . haskell . contains (bind "self.ghcjs-base")) False)
58+ , ("js-jquery", set doCheck False) -- attempts to access the network
5559 , ("libconfig", over (libraryDepends . system) (replace (binding # ("config", path # ["null"])) (pkg "libconfig")))
5660 , ("liquid-fixpoint", set (executableDepends . system . contains (pkg "ocaml")) True . set (testDepends . system . contains (pkg "z3")) True)
5761 , ("liquidhaskell", set (testDepends . system . contains (pkg "z3")) True)