git.iko.soy/typeable/cabal2nix
on master help sign in
Disable test suites for nanospec and hspec-expectations to avoid infinite recursions
ab292f2Peter Simons
distribution-nixpkgs/src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs+2
@@ -42,6 +42,7 @@ hooks =
42 , ("eventstore", over (metaSection . platforms) (Set.filter (\(Platform arch _) -> arch == X86_64)))
42 , ("eventstore", over (metaSection . platforms) (Set.filter (\(Platform arch _) -> arch == X86_64)))
43 , ("git-annex", gitAnnexHook)
43 , ("git-annex", gitAnnexHook)
44 , ("haddock", set phaseOverrides "preCheck = \"unset GHC_PACKAGE_PATH\";")
44 , ("haddock", set phaseOverrides "preCheck = \"unset GHC_PACKAGE_PATH\";")
45+ , ("hspec-expectations", set doCheck False)
45 , ("HFuse", set phaseOverrides hfusePreConfigure)
46 , ("HFuse", set phaseOverrides hfusePreConfigure)
46 , ("gf", set phaseOverrides gfPhaseOverrides . set doCheck False)
47 , ("gf", set phaseOverrides gfPhaseOverrides . set doCheck False)
47 , ("github-backup", set (executableDepends . tool . contains (pkg "git")) True)
48 , ("github-backup", set (executableDepends . tool . contains (pkg "git")) True)
@@ -54,6 +55,7 @@ hooks =
54 . set (testDepends . system . contains (pkg "z3")) True)
55 . set (testDepends . system . contains (pkg "z3")) True)
55 , ("liquidhaskell", set (testDepends . system . contains (pkg "z3")) True)
56 , ("liquidhaskell", set (testDepends . system . contains (pkg "z3")) True)
56 , ("mysql", set (libraryDepends . system . contains (pkg "mysql")) True)
57 , ("mysql", set (libraryDepends . system . contains (pkg "mysql")) True)
58+ , ("nanospec", set doCheck False)
57 , ("readline", over (libraryDepends . system) (Set.union (pkgs ["readline", "ncurses"])))
59 , ("readline", over (libraryDepends . system) (Set.union (pkgs ["readline", "ncurses"])))
58 , ("rocksdb-haskell", set (metaSection . platforms) (Set.singleton (Platform X86_64 Linux)))
60 , ("rocksdb-haskell", set (metaSection . platforms) (Set.singleton (Platform X86_64 Linux)))
59 , ("stack", set phaseOverrides stackPostInstall)
61 , ("stack", set phaseOverrides stackPostInstall)