Unverified Commit a48232a4 authored by Maximilian Bosch's avatar Maximilian Bosch
Browse files

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%).
parent cff853ca
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
{ 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" ];