@@ -55,6 +55,7 @@ hooks =
5555 , ("libconfig", over (libraryDepends . system) (replace (binding # ("config", path # ["null"])) (pkg "libconfig")))
5656 , ("liquid-fixpoint", set (executableDepends . system . contains (pkg "ocaml")) True . set (testDepends . system . contains (pkg "z3")) True)
5757 , ("liquidhaskell", set (testDepends . system . contains (pkg "z3")) True)
58+ , ("MFlow < 0.4.5.11", set (libraryDepends . tool . contains (bind "self.cpphs")) True)
5859 , ("mysql", set (libraryDepends . system . contains (pkg "mysql")) True)
5960 , ("readline", over (libraryDepends . system) (Set.union (pkgs ["readline", "ncurses"])))
6061 , ("rocksdb-haskell", set (metaSection . platforms) (Set.singleton (Platform X86_64 Linux)))
@@ -217,7 +218,6 @@ postProcess' deriv@(MkDerivation {..})
217218 | pname == "libffi" = deriv { extraLibs = Set.delete "ffi" extraLibs }
218219 | pname == "liquid-fixpoint" = deriv { buildTools = Set.insert "z3" (Set.insert "ocaml" buildTools), configureFlags = Set.insert "-fbuild-external" configureFlags }
219220 | pname == "liquidhaskell" = deriv { buildTools = Set.insert "z3" buildTools }
220− | pname == "MFlow" = deriv { buildTools = Set.insert "cpphs" buildTools }
221221 | pname == "multiarg" = deriv { buildDepends = Set.insert "utf8-string" buildDepends }
222222 | pname == "ncurses" = deriv { phaseOverrides = ncursesPatchPhase }
223223 | pname == "Omega" = deriv { testDepends = Set.delete "stdc++" testDepends }