1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

Merge pull request #80905 from bennofs/update-gnulib

gnulib:  20190811 -> 20200223  and simplify usage
This commit is contained in:
Michael Raskin 2020-02-27 06:35:48 +00:00 committed by GitHub
commit 93f5b02c4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 12 deletions

View file

@ -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;

View file

@ -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 = {

View file

@ -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'
'';