HPLiP: Fix compilation. Had to move the comment out of configure flags. Very sneaky!

Make hydra compile it.

svn path=/nixpkgs/trunk/; revision=23878
This commit is contained in:
Evgeny Egorochkin 2010-09-21 01:24:00 +00:00
parent 020cba6b98
commit 3a6c172b77

View file

@ -15,9 +15,11 @@ stdenv.mkDerivation {
#'';
prePatch = ''
sed -i s,/etc/sane.d,$out/etc/sane.d/, Makefile.in
sed -i s,/etc/sane.d,$out/etc/sane.d/, Makefile.in
'';
# --disable-network-build Until we have snmp
preConfigure = ''
export configureFlags="$configureFlags
--with-cupsfilterdir=$out/lib/cups/filter
@ -25,7 +27,6 @@ stdenv.mkDerivation {
--with-icondir=$out/share/applications
--with-systraydir=$out/xdg/autostart
--with-mimedir=$out/etc/cups
# Until we have snmp
--disable-network-build"
export makeFlags="
@ -39,9 +40,10 @@ stdenv.mkDerivation {
buildInputs = [libjpeg cups libusb python saneBackends dbus pkgconfig] ++
stdenv.lib.optional qtSupport qt4;
meta = {
meta = with stdenv.lib; {
description = "Print, scan and fax HP drivers for Linux";
homepage = http://hplipopensource.com/;
license = "free"; # MIT/BSD/GPL
platforms = platforms.linux;
};
}