git.iko.soy/typeable/cabal2nix
on master help sign in
Add post-process hook to fix generation of libconfig.
commitdd107cc04a35b0ceb35c0a979d3c9b1517ffeeaf authorPeter Simons <simons@cryp.to> dateWed 16 Sep 2015, 10:18 (11 years ago) parentd36a5a8
1 file changed+1
distribution-nixpkgs/src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs+1
distribution-nixpkgs/src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs+1
@@ -48,6 +48,7 @@ hooks =
4848 , ("github-backup", set (executableDepends . tool . contains (pkg "git")) True)
4949 , ("GlomeVec", set (libraryDepends . pkgconfig . contains (bind "self.llvmPackages.llvm")) True)
5050 , ("gtk3", gtk3Hook)
51+ , ("libconfig", over (libraryDepends . system) (Set.insert (pkg "libconfig") . Set.delete (binding # ("config", path # ["null"]))))
5152 , ("imagemagick", set (libraryDepends . pkgconfig . contains (pkg "imagemagick")) True) -- https://github.com/NixOS/cabal2nix/issues/136
5253 , ("jsaddle", set (dependencies . haskell . contains (bind "self.ghcjs-base")) False)
5354 , ("liquid-fixpoint", over configureFlags (Set.union (Set.fromList ["-fbuild-external"]))