Skip to content

Commit 31ffc50

Browse files
committed
Merge branch 'staging-next'
Almost all *-linux binaries are ready https://hydra.nixos.org/eval/1707992?filter=linux so let's get better cpio and hopefully unblock nixos-unstable channel.
2 parents 61da869 + 7c86d10 commit 31ffc50

File tree

4 files changed

+29
-13
lines changed

4 files changed

+29
-13
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import ./common.nix {
2+
version = "6.8";
3+
sha256 = "1i7yb7mrp3inz25zbzv2pllr4y7d58v818f1as7iz8mw53nm7dwf";
4+
}

pkgs/development/tools/misc/texinfo/common.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ stdenv.mkDerivation {
5454
&& !stdenv.isDarwin
5555
&& !stdenv.isSunOS; # flaky
5656

57+
checkFlagsArray = if version == "6.8" then [
58+
# Test is known to fail on various locales on texinfo-6.8:
59+
# https://lists.gnu.org/r/bug-texinfo/2021-07/msg00012.html
60+
"XFAIL_TESTS=test_scripts/layout_formatting_fr_icons.sh"
61+
] else null;
62+
5763
meta = {
5864
homepage = "https://www.gnu.org/software/texinfo/";
5965
description = "The GNU documentation system";

pkgs/tools/archivers/cpio/default.nix

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,32 @@
11
{ lib, stdenv, fetchurl, fetchpatch }:
22

3-
let
3+
stdenv.mkDerivation rec {
4+
pname = "cpio";
45
version = "2.13";
5-
name = "cpio-${version}";
6-
in stdenv.mkDerivation {
7-
inherit name;
86

97
src = fetchurl {
10-
url = "mirror://gnu/cpio/${name}.tar.bz2";
8+
url = "mirror://gnu/cpio/cpio-${version}.tar.bz2";
119
sha256 = "0vbgnhkawdllgnkdn6zn1f56fczwk0518krakz2qbwhxmv2vvdga";
1210
};
1311

14-
patches = [
15-
(fetchpatch {
16-
name = "CVE-2021-38185.patch";
17-
url = "https://git.savannah.gnu.org/cgit/cpio.git/patch/?id=dd96882877721703e19272fe25034560b794061b";
18-
sha256 = "0vmr0qjwj2ldnzsvccl105ckwgx3ssvn9mp3f27ss0kiyigrzz32";
19-
})
12+
patches = let
13+
fp = suffix: rev: sha256: fetchpatch {
14+
name = "CVE-2021-38185-${suffix}.patch";
15+
url = "https://git.savannah.gnu.org/cgit/cpio.git/patch/?id=${rev}";
16+
inherit sha256;
17+
};
18+
in [
19+
(fp "1" "dd96882877721703e19272fe25034560b794061b"
20+
"0vmr0qjwj2ldnzsvccl105ckwgx3ssvn9mp3f27ss0kiyigrzz32")
21+
(fp "2" "dfc801c44a93bed7b3951905b188823d6a0432c8"
22+
"1qkrhi3lbxk6hflp6w3h4sgssc0wblv8r0qgxqzbjrm36pqwxiwh")
23+
(fp "3" "236684f6deb3178043fe72a8e2faca538fa2aae1"
24+
"0pidkbxalpj5yz4fr95x8h0rizgjij0xgvjgirfkjk460giawwg6")
2025
];
2126

22-
preConfigure = if stdenv.isCygwin then ''
27+
preConfigure = lib.optionalString stdenv.isCygwin ''
2328
sed -i gnu/fpending.h -e 's,include <stdio_ext.h>,,'
24-
'' else null;
29+
'';
2530

2631
enableParallelBuilding = true;
2732

pkgs/top-level/all-packages.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14878,6 +14878,7 @@ with pkgs;
1487814878
texinfo5 = callPackage ../development/tools/misc/texinfo/5.2.nix { };
1487914879
texinfo6_5 = callPackage ../development/tools/misc/texinfo/6.5.nix { }; # needed for allegro
1488014880
texinfo6 = callPackage ../development/tools/misc/texinfo/6.7.nix { };
14881+
texinfo6_8 = callPackage ../development/tools/misc/texinfo/6.8.nix { };
1488114882
texinfo = texinfo6;
1488214883
texinfoInteractive = appendToName "interactive" (
1488314884
texinfo.override { interactive = true; }

0 commit comments

Comments
 (0)