Merge pull request #285038 from Ma27/bump-strace

strace: 6.6 -> 6.7
This commit is contained in:
Fabián Heredia Montiel 2024-02-01 18:57:31 -06:00 committed by GitHub
commit eef63ea047
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,12 +1,12 @@
{ lib, stdenv, fetchurl, perl, libunwind, buildPackages, gitUpdater }:
{ lib, stdenv, fetchurl, perl, libunwind, buildPackages, gitUpdater, elfutils }:
stdenv.mkDerivation rec {
pname = "strace";
version = "6.6";
version = "6.7";
src = fetchurl {
url = "https://strace.io/files/${version}/${pname}-${version}.tar.xz";
sha256 = "sha256-QhtBhsBrcFFj5k3IXycevc9nZgr4ZnKDFH1ehZ/IqWw=";
sha256 = "sha256-IJAgHho/8yhG9P5CHBFjsV9EC7OOMTVdCfgtOUmSKvc=";
};
depsBuildBuild = [ buildPackages.stdenv.cc ];
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
# On RISC-V platforms, LLVM's libunwind implementation is unsupported by strace.
# The build will silently fall back and -k will not work on RISC-V.
buildInputs = [ libunwind ]; # support -k
buildInputs = [ libunwind elfutils ]; # support -k and -kk
configureFlags = [ "--enable-mpers=check" ];