From 8d8c48a7b72e9150795d56def9fa48bf95bb1f9d Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Fri, 27 Feb 2026 14:41:29 +0100 Subject: [PATCH] lrzip: 0.651 -> 0.660 https://github.com/ckolivas/lrzip/compare/v0.651...v0.660 https://github.com/ckolivas/lrzip/blob/v0.660/WHATS-NEW Fixes https://github.com/NixOS/nixpkgs/issues/490691 / CVE-2025-15571 Fixes https://github.com/NixOS/nixpkgs/issues/489351 / CVE-2025-15570 --- pkgs/by-name/lr/lrzip/package.nix | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/pkgs/by-name/lr/lrzip/package.nix b/pkgs/by-name/lr/lrzip/package.nix index c1bf65572123..8a535bc5c4b9 100644 --- a/pkgs/by-name/lr/lrzip/package.nix +++ b/pkgs/by-name/lr/lrzip/package.nix @@ -16,24 +16,15 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "lrzip"; - version = "0.651"; + version = "0.660"; src = fetchFromGitHub { owner = "ckolivas"; repo = "lrzip"; rev = "v${finalAttrs.version}"; - sha256 = "sha256-Mb324ojtLV0S10KhL7Vjf3DhSOtCy1pFMTzvLkTnpXM="; + hash = "sha256-6nNGmruJBim34EqbgJ+hnLTfylEz6t6jLh3O9RcUY34="; }; - postPatch = lib.optionalString stdenv.hostPlatform.isDarwin '' - # Building the ASM/x86 directory creates an empty archive, - # which fails on darwin, so remove it - # https://github.com/ckolivas/lrzip/issues/193 - # https://github.com/Homebrew/homebrew-core/pull/85360 - substituteInPlace lzma/Makefile.am --replace "SUBDIRS = C ASM/x86" "SUBDIRS = C" - substituteInPlace configure.ac --replace "-f elf64" "-f macho64" - ''; - nativeBuildInputs = [ autoreconfHook perl