git.iko.soy/typeable/cabal2nix
on master help sign in
cabal-install test suite doesn't work in the nix-build environment
e8e5e29Peter Simons
src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs+1−1
@@ -43,7 +43,7 @@ hooks =
43 , ("bustle", set (libraryDepends . pkgconfig . contains "system-glib = pkgs.glib") True)
43 , ("bustle", set (libraryDepends . pkgconfig . contains "system-glib = pkgs.glib") True)
44 , ("Cabal", set doCheck False) -- test suite doesn't work in Nix
44 , ("Cabal", set doCheck False) -- test suite doesn't work in Nix
45 , ("cabal-helper", set doCheck False) -- https://github.com/DanielG/cabal-helper/issues/17
45 , ("cabal-helper", set doCheck False) -- https://github.com/DanielG/cabal-helper/issues/17
46− , ("cabal-install", set phaseOverrides cabalInstallPostInstall)
46+ , ("cabal-install", set doCheck False . set phaseOverrides cabalInstallPostInstall)
47 , ("darcs", set phaseOverrides darcsInstallPostInstall . set doCheck False)
47 , ("darcs", set phaseOverrides darcsInstallPostInstall . set doCheck False)
48 , ("dbus", set doCheck False) -- don't execute tests that try to access the network
48 , ("dbus", set doCheck False) -- don't execute tests that try to access the network
49 , ("dns", set testTarget "spec") -- don't execute tests that try to access the network
49 , ("dns", set testTarget "spec") -- don't execute tests that try to access the network