diff --git a/pkgs/tools/misc/system-config-printer/default.nix b/pkgs/tools/misc/system-config-printer/default.nix index 05531482c795..54f9bc57f0c5 100644 --- a/pkgs/tools/misc/system-config-printer/default.nix +++ b/pkgs/tools/misc/system-config-printer/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, perl, perlXMLParser, autoconf, automake, intltool, gettext, desktop_file_utils}: +{stdenv, fetchurl, perl, perlXMLParser, desktop_file_utils}: stdenv.mkDerivation { name = "system-config-printer-0.9.93"; @@ -6,11 +6,10 @@ stdenv.mkDerivation { url = http://cyberelk.net/tim/data/system-config-printer/system-config-printer-0.9.93.tar.bz2; md5 = "b97deae648bc1c5825874d250a9c140c"; }; - patchPhase = '' - sed -i -e "s/xmlto/echo xmlto/" Makefile.am # Disable building manual pages + preConfigure = '' + sed -i -e "s/xmlto/echo xmlto/" Makefile.in # Disable building manual pages echo > man/system-config-printer.1 echo > man/system-config-printer-applet.1 - ./bootstrap ''; - buildInputs = [ perl perlXMLParser autoconf automake intltool gettext desktop_file_utils ]; + buildInputs = [ perl perlXMLParser desktop_file_utils ]; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2f5633020091..82aeca97f3da 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1310,7 +1310,7 @@ let }; system_config_printer = import ../tools/misc/system-config-printer { - inherit stdenv fetchurl perl perlXMLParser autoconf automake intltool gettext desktop_file_utils; + inherit stdenv fetchurl perl perlXMLParser desktop_file_utils; }; tcpdump = import ../tools/networking/tcpdump {