From b73dff89f78854ebbeb95abd5e27d752994bc204 Mon Sep 17 00:00:00 2001 From: Aristid Breitkreuz Date: Wed, 6 Feb 2013 14:08:27 +0100 Subject: [PATCH] enable networking support for hplip, net_snmp is available now --- pkgs/misc/drivers/hplip/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/misc/drivers/hplip/default.nix b/pkgs/misc/drivers/hplip/default.nix index e848c4df5b96..8abdb232905e 100644 --- a/pkgs/misc/drivers/hplip/default.nix +++ b/pkgs/misc/drivers/hplip/default.nix @@ -1,5 +1,5 @@ {stdenv, fetchurl, cups, zlib, libjpeg, libusb, pythonPackages, saneBackends, dbus -, pkgconfig, polkit, qtSupport ? true, qt4, pythonDBus, pyqt4 +, pkgconfig, polkit, qtSupport ? true, qt4, pythonDBus, pyqt4, net_snmp }: stdenv.mkDerivation rec { @@ -29,7 +29,7 @@ stdenv.mkDerivation rec { --with-systraydir=$out/xdg/autostart --with-mimedir=$out/etc/cups --enable-policykit - --disable-network-build" + " export makeFlags=" halpredir=$out/share/hal/fdi/preprobe/10osvendor @@ -54,8 +54,9 @@ stdenv.mkDerivation rec { pythonPackages.wrapPython saneBackends dbus - pkgconfig] ++ - stdenv.lib.optional qtSupport qt4; + pkgconfig + net_snmp + ] ++ stdenv.lib.optional qtSupport qt4; pythonPath = with pythonPackages; [ pythonDBus