From 4ca87c08a2bd9c332bf45c8655aaada844181a07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benno=20F=C3=BCnfst=C3=BCck?= Date: Sun, 23 Feb 2020 19:17:03 +0100 Subject: [PATCH] xprintidle-ng: simplify gnulib usage --- pkgs/tools/X11/xprintidle-ng/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/X11/xprintidle-ng/default.nix b/pkgs/tools/X11/xprintidle-ng/default.nix index 117a612381f6..4ae457dab4a8 100644 --- a/pkgs/tools/X11/xprintidle-ng/default.nix +++ b/pkgs/tools/X11/xprintidle-ng/default.nix @@ -19,20 +19,18 @@ stdenv.mkDerivation rec { --replace "AC_PREREQ([2.62])" "AC_PREREQ([2.63])" ''; - nativeBuildInputs = [ + nativeBuildInputs = [ autoconf automake gettext git gnulib help2man libtool perl pkgconfig texinfo ]; configurePhase = '' - cp -r "${gnulib}" gnulib - chmod a+rX,u+w -R gnulib - ./bootstrap --gnulib-srcdir=gnulib + ./bootstrap --gnulib-srcdir=${gnulib} ./configure --prefix="$out" ''; buildInputs = [ - libX11 libXScrnSaver libXext + libX11 libXScrnSaver libXext ]; meta = {