1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00

haskell-poppler: fix build of haskellPackages.poppler too

This commit is contained in:
Thomas Tuegel 2015-04-03 16:32:09 -05:00
parent 889f72bad4
commit 55325978c0

View file

@ -12,6 +12,10 @@ cabal.mkDerivation (self: {
buildTools = [ gtk2hsBuildtools ];
extraLibraries = [ libc ];
pkgconfigDepends = [ cairo gdk_pixbuf glib gtk pango popplerGlib ];
patchPhase = ''
sed -i -e 's,glib/poppler.h,poppler.h,' poppler.cabal
sed -i -e 's,glib/poppler.h,poppler.h,' Graphics/UI/Gtk/Poppler/Structs.hsc
'';
meta = {
homepage = "http://www.haskell.org/gtk2hs/";
description = "Binding to the Poppler";