about summary refs log tree commit diff
path: root/pkgs/development/tools/misc/texinfo/common.nix
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2023-02-10 09:42:54 +0100
committerAlexis Hildebrandt <afh@surryhill.net>2023-02-12 11:31:41 +0100
commit0e50c09cf4e572985022bf17a0305a197001fdaf (patch)
tree1f897bd6294421405eef23ad42f666012d42eb34 /pkgs/development/tools/misc/texinfo/common.nix
parent23496088d99d2e1579f3b8cdab38a18a5e489a4f (diff)
texinfo: Add version 7.0.2
Diffstat (limited to 'pkgs/development/tools/misc/texinfo/common.nix')
-rw-r--r--pkgs/development/tools/misc/texinfo/common.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/development/tools/misc/texinfo/common.nix b/pkgs/development/tools/misc/texinfo/common.nix
index 38a44e8c9cbdc..af0d26fe1f3ee 100644
--- a/pkgs/development/tools/misc/texinfo/common.nix
+++ b/pkgs/development/tools/misc/texinfo/common.nix
@@ -28,6 +28,10 @@ stdenv.mkDerivation {
 
   patches = patches ++ optional crossBuildTools ./cross-tools-flags.patch;
 
+  postPatch = ''
+    patchShebangs tp/maintain
+  '';
+
   # ncurses is required to build `makedoc'
   # this feature is introduced by the ./cross-tools-flags.patch
   NATIVE_TOOLS_CFLAGS = if crossBuildTools then "-I${getDev buildPackages.ncurses}/include" else null;
@@ -58,7 +62,7 @@ stdenv.mkDerivation {
     && !stdenv.isDarwin
     && !stdenv.isSunOS; # flaky
 
-  checkFlags = lib.optionals (!stdenv.hostPlatform.isMusl) [
+  checkFlags = lib.optionals (!stdenv.hostPlatform.isMusl && lib.versionOlder version "7") [
     # Test is known to fail on various locales on texinfo-6.8:
     #   https://lists.gnu.org/r/bug-texinfo/2021-07/msg00012.html
     "XFAIL_TESTS=test_scripts/layout_formatting_fr_icons.sh"
@@ -72,8 +76,9 @@ stdenv.mkDerivation {
   '';
 
   meta = {
-    homepage = "https://www.gnu.org/software/texinfo/";
     description = "The GNU documentation system";
+    homepage = "https://www.gnu.org/software/texinfo/";
+    changelog = "https://git.savannah.gnu.org/cgit/texinfo.git/plain/NEWS";
     license = licenses.gpl3Plus;
     platforms = platforms.all;
     maintainers = with maintainers; [ vrthra oxij ];