mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 03:39:59 +00:00
cpio: pin GNU info page 'updated' time to SDE (#566569)
This commit is contained in:
@@ -41,6 +41,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# This file determines the date shown in the infopage.
|
||||
# It is unreproducible because CVE-2026-66486.patch touches it.
|
||||
# We could reset it to SOURCE_DATE_EPOCH or the date of that patch.
|
||||
touch -d $(date --utc --date="@''${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y-%m-%d) doc/cpio.texi
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
texinfo # for makeinfo
|
||||
@@ -70,6 +77,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
homepage = "https://www.gnu.org/software/cpio/";
|
||||
description = "Program to create or extract from cpio archives";
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = with lib.maintainers; [ raboof ];
|
||||
platforms = lib.platforms.all;
|
||||
priority = 6; # resolves collision with gnutar's "libexec/rmt"
|
||||
mainProgram = "cpio";
|
||||
|
||||
Reference in New Issue
Block a user