strace: 6.6 -> 6.7

ChangeLog: https://github.com/strace/strace/releases/tag/v6.7

Adds `elfutils` for `-kk` (show source lines of execution stack trace).
Increases the closure size from 44.0M to 59.4M (+35%).
This commit is contained in:
Maximilian Bosch 2024-01-30 18:16:21 +01:00
parent cff853ca15
commit a48232a475
No known key found for this signature in database

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" ];