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:
parent
889f72bad4
commit
55325978c0
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue