Steal patch idea from Debian to build with fresher backend
svn path=/nixpkgs/trunk/; revision=19456
This commit is contained in:
parent
2ce16710bc
commit
241b80a1d3
@ -8,6 +8,10 @@ stdenv.mkDerivation {
|
||||
sha256 = "0zddar0y76iv4c55qzfmnm819z5hzisr2jwjb60x36v6bdrhcjx5";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
sed -e '/SANE_CAP_ALWAYS_SETTABLE/d' -i src/xsane-back-gtk.c
|
||||
'';
|
||||
|
||||
buildInputs = [saneBackends saneFrontends libX11 gtk pkgconfig ] ++
|
||||
(if (libusb != null) then [libusb] else []);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user