Fix ZBar build by passing it gtk2

This commit is contained in:
Michael Raskin 2013-03-21 11:59:07 +04:00
parent a9ec58c8b3
commit 3c1ce85692
2 changed files with 6 additions and 2 deletions

View file

@ -1,6 +1,6 @@
x@{builderDefsPackage
, imagemagickBig, pkgconfig, python, pygtk, perl, libX11, libv4l
, qt4, lzma
, qt4, lzma, gtk2
, ...}:
builderDefsPackage
(a :

View file

@ -1872,7 +1872,11 @@ let
youtubeDL = callPackage ../tools/misc/youtube-dl { inherit (haskellPackages) pandoc; };
zbar = callPackage ../tools/graphics/zbar {};
zbar = callPackage ../tools/graphics/zbar {
pygtk = lib.overrideDerivation pygtk (x: {
gtk = gtk2;
});
};
zdelta = callPackage ../tools/compression/zdelta { };