git.iko.soy/typeable/cabal2nix
on master help sign in
yaml: work around incomplete dependency specification in upstream Cabal file

Fixes https://github.com/NixOS/cabal2nix/issues/372.

commitdb540bcfa0dc67db70e947fb81ae0580011534ef authorPeter Simons <simons@cryp.to> dateSun 26 Aug 2018, 21:26 (8 years ago) parentff2693c
1 file changed+1
src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs+1
src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs+1
@@ -171,6 +171,7 @@ hooks =
171171 , ("wxcore", set (libraryDepends . pkgconfig . contains (pkg "wxGTK")) True)
172172 , ("X11", over (libraryDepends . system) (Set.union (Set.fromList $ map bind ["pkgs.xorg.libXinerama","pkgs.xorg.libXext","pkgs.xorg.libXrender","pkgs.xorg.libXScrnSaver"])))
173173 , ("xmonad >= 0.14.2", set phaseOverrides xmonadPostInstall)
174+ , ("yaml", set (libraryDepends . system . contains (pkg "libyaml")) True)
174175 , ("zip-archive < 0.3.1", over (testDepends . tool) (replace (self "zip") (pkg "zip")))
175176 , ("zip-archive >= 0.3.1 && < 0.3.2.3", over (testDepends . tool) (Set.union (Set.fromList [pkg "zip", pkg "unzip"]))) -- https://github.com/jgm/zip-archive/issues/35
176177 ]