haskell-cabal-file-th: patch cabal file to fix build with GHC 7.4.1

svn path=/nixpkgs/trunk/; revision=32010
This commit is contained in:
Peter Simons 2012-02-03 19:10:14 +00:00
parent 0861eb5a3d
commit 875b61eeb9

View File

@ -4,6 +4,7 @@ cabal.mkDerivation (self: {
pname = "cabal-file-th";
version = "0.2.1";
sha256 = "0nczwicgf6kx3lk5m7wqf1wj6ghn8jfx112dzh7jh4f4xs66nsd1";
patchPhase = "sed -i cabal-file-th.cabal -e 's|Cabal >= 1.10 && < 1.13|Cabal|'";
meta = {
homepage = "http://github.com/nkpart/cabal-file-th";
description = "Template Haskell expressions for reading fields from a project's cabal file";