mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 01:03:25 +00:00
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:
parent
cff853ca15
commit
a48232a475
@ -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" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user