From 1e6097f00aeb7095301e8825fa0ef466d2e3ab4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Wed, 11 Nov 2015 14:58:52 +0100 Subject: [PATCH] stace: add libunwind support (fixes #10515) I think it's not worth making such a small library optional as in the PR. --- pkgs/development/tools/misc/strace/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/misc/strace/default.nix b/pkgs/development/tools/misc/strace/default.nix index 07e67b558d2f..461e3c25a36a 100644 --- a/pkgs/development/tools/misc/strace/default.nix +++ b/pkgs/development/tools/misc/strace/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, perl }: +{ stdenv, fetchurl, perl, libunwind }: stdenv.mkDerivation rec { name = "strace-4.10"; @@ -10,6 +10,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ perl ]; + buildInputs = [ libunwind ]; # support -k + meta = with stdenv.lib; { homepage = http://strace.sourceforge.net/; description = "A system call tracer for Linux";