git.iko.soy/typeable/cabal2nix
on master help sign in
libxml: libxml2's system header files live in a sub-directory
commit6f0a9c5b6111b410e2c29c99aafff4bf4d7e4d21 authorPeter Simons <simons@cryp.to> dateMon 29 Jan 2018, 13:46 (9 years ago) parentcb5ffa7
1 file changed+1
src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs+1
src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs+1
@@ -89,6 +89,7 @@ hooks =
8989 , ("include-file <= 0.1.0.2", set (libraryDepends . haskell . contains (bind "self.random")) True) -- https://github.com/Daniel-Diaz/include-file/issues/1
9090 , ("js-jquery", set doCheck False) -- attempts to access the network
9191 , ("libconfig", over (libraryDepends . system) (replace "config = null" (pkg "libconfig")))
92+ , ("libxml", set (configureFlags . contains "--extra-include-dir=${libxml2.dev}/include/libxml2") True)
9293 , ("liquid-fixpoint", set (executableDepends . system . contains (pkg "ocaml")) True . set (testDepends . system . contains (pkg "z3")) True . set (testDepends . system . contains (pkg "nettools")) True . set (testDepends . system . contains (pkg "git")) True . set doCheck False)
9394 , ("liquidhaskell", set (testDepends . system . contains (pkg "z3")) True)
9495 , ("lzma-clib", over (metaSection . platforms) (Set.filter (\(Platform _ os) -> os == Windows)) . set (libraryDepends . haskell . contains (bind "self.only-buildable-on-windows")) False)