git.iko.soy/typeable/cabal2nix
on master help sign in
Disable test suites for nanospec and hspec-expectations to avoid infinite recursions
commitab292f267f3829c0b7c471cab87cc78742a4a2c7 authorPeter Simons <simons@cryp.to> dateTue 15 Sep 2015, 14:07 (11 years ago) parent603aec7
1 file changed+2
distribution-nixpkgs/src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs+2
distribution-nixpkgs/src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs+2
@@ -42,6 +42,7 @@ hooks =
4242 , ("eventstore", over (metaSection . platforms) (Set.filter (\(Platform arch _) -> arch == X86_64)))
4343 , ("git-annex", gitAnnexHook)
4444 , ("haddock", set phaseOverrides "preCheck = \"unset GHC_PACKAGE_PATH\";")
45+ , ("hspec-expectations", set doCheck False)
4546 , ("HFuse", set phaseOverrides hfusePreConfigure)
4647 , ("gf", set phaseOverrides gfPhaseOverrides . set doCheck False)
4748 , ("github-backup", set (executableDepends . tool . contains (pkg "git")) True)
@@ -54,6 +55,7 @@ hooks =
5455 . set (testDepends . system . contains (pkg "z3")) True)
5556 , ("liquidhaskell", set (testDepends . system . contains (pkg "z3")) True)
5657 , ("mysql", set (libraryDepends . system . contains (pkg "mysql")) True)
58+ , ("nanospec", set doCheck False)
5759 , ("readline", over (libraryDepends . system) (Set.union (pkgs ["readline", "ncurses"])))
5860 , ("rocksdb-haskell", set (metaSection . platforms) (Set.singleton (Platform X86_64 Linux)))
5961 , ("stack", set phaseOverrides stackPostInstall)