From ea1775eeee16627ddaa8c9f04776303ea9144421 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 15 Sep 2021 17:53:51 +0000 Subject: [PATCH] strace: remove strace-graph stuff strace-graph is no longer installed as of strace v5.11[1]. The perl build input was only needed for the patchShebangs line, but was causing pkgsStatic.strace to fail to build since pkgsStatic.perl is currently broken[2]. [1]: https://github.com/strace/strace/commit/5685c0d0335246b37c57e65303c82206bdd45e65 [2]: https://github.com/NixOS/nixpkgs/pull/133851#issuecomment-920220593 --- pkgs/development/tools/misc/strace/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/tools/misc/strace/default.nix b/pkgs/development/tools/misc/strace/default.nix index 785331fb50be..7e5490fcc3d4 100644 --- a/pkgs/development/tools/misc/strace/default.nix +++ b/pkgs/development/tools/misc/strace/default.nix @@ -14,9 +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 = [ perl.out libunwind ]; # support -k - - postPatch = "patchShebangs --host strace-graph"; + buildInputs = [ libunwind ]; # support -k configureFlags = [ "--enable-mpers=check" ];