From 0dc5987f31114c78c5f65544d1fe812234f91b76 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Tue, 12 Aug 2025 17:27:22 -0400 Subject: [PATCH] patchelf: 0.15.0 -> 0.15.2 See the 0.15.1 and 0.15.2 changelogs: https://github.com/NixOS/patchelf/releases I've carefully backported *just* some quality of life improvements (C++ warning fixes, shellcheck fixes, build system and CI infra). No behavior should be changed, except for the simplest bugfixes (e.g. close file before throwing exception). Therefore, this should be safe to bump in in Nixpkgs right away. --- pkgs/development/tools/misc/patchelf/default.nix | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/pkgs/development/tools/misc/patchelf/default.nix b/pkgs/development/tools/misc/patchelf/default.nix index 7b65465a2b10..1164a4f7aee2 100644 --- a/pkgs/development/tools/misc/patchelf/default.nix +++ b/pkgs/development/tools/misc/patchelf/default.nix @@ -11,11 +11,11 @@ stdenv.mkDerivation rec { pname = "patchelf"; - version = "0.15.0"; + version = "0.15.2"; src = fetchurl { url = "https://github.com/NixOS/${pname}/releases/download/${version}/${pname}-${version}.tar.bz2"; - sha256 = "sha256-9ANtPuTY4ijewb7/8PbkbYpA6eVw4AaOOdd+YuLIvcI="; + sha256 = "sha256-F3RfVkFZyOIo/EEtplogSLhGxLa0Igt3y/IkFuAvLXw="; }; strictDeps = true; @@ -25,11 +25,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; # fails 8 out of 24 tests, problems when loading libc.so.6 - doCheck = - stdenv.name == "stdenv-linux" - # test scripts require unprefixed bintools binaries - # https://github.com/NixOS/patchelf/issues/417 - && stdenv.cc.targetPrefix == ""; + doCheck = stdenv.name == "stdenv-linux"; meta = with lib; { homepage = "https://github.com/NixOS/patchelf";