From 9d5cc98363d0cb4376f49e9c9275d58584e5c3c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benno=20F=C3=BCnfst=C3=BCck?= Date: Sun, 23 Feb 2020 19:16:02 +0100 Subject: [PATCH 1/3] gnulib: 20190811 -> 20200223 This update makes gnulib work even if it is installed into a readonly location, so some hacks in nixpkgs can be removed. --- pkgs/development/tools/gnulib/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/gnulib/default.nix b/pkgs/development/tools/gnulib/default.nix index 316c38706d3d..368a1520ca00 100644 --- a/pkgs/development/tools/gnulib/default.nix +++ b/pkgs/development/tools/gnulib/default.nix @@ -2,12 +2,12 @@ stdenv.mkDerivation { pname = "gnulib"; - version = "20190811"; + version = "20200223"; src = fetchgit { url = https://git.savannah.gnu.org/r/gnulib.git; - rev = "6430babe47ece6953cf18ef07c1d8642c8588e89"; - sha256 = "14kgykbjly03dlb25sllcfcrpk7zkypa449gr3zbqv4rhpmnzizg"; + rev = "292fd5d6ff5ecce81ec3c648f353732a9ece83c0"; + sha256 = "0hkg3nql8nsll0vrqk4ifda0v4kpi67xz42r8daqsql6c4rciqnw"; }; dontFixup = true; 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 2/3] 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 = { From 98bb71f41b194f00607308fab704397a9aaf971d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benno=20F=C3=BCnfst=C3=BCck?= Date: Sun, 23 Feb 2020 19:17:48 +0100 Subject: [PATCH 3/3] grub2: simplify gnulib usage --- pkgs/tools/misc/grub/2.0x.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkgs/tools/misc/grub/2.0x.nix b/pkgs/tools/misc/grub/2.0x.nix index 3f5485718dc5..3eec453824d7 100644 --- a/pkgs/tools/misc/grub/2.0x.nix +++ b/pkgs/tools/misc/grub/2.0x.nix @@ -83,12 +83,9 @@ stdenv.mkDerivation rec { unset CPP # setting CPP intereferes with dependency calculation - cp -r ${gnulib} $PWD/gnulib - chmod u+w -R $PWD/gnulib - patchShebangs . - ./bootstrap --no-git --gnulib-srcdir=$PWD/gnulib + ./bootstrap --no-git --gnulib-srcdir=${gnulib} substituteInPlace ./configure --replace '/usr/share/fonts/unifont' '${unifont}/share/fonts' '';