From 8c81099cdaf14e48943c5707fc6b3b9d6159a8e0 Mon Sep 17 00:00:00 2001 From: Timo Kaufmann Date: Tue, 8 Jan 2019 21:55:44 +0100 Subject: [PATCH] radare2: add propagated build inputs (#53667) Fixes the cutter build which was broken when radare2 was moved away from vendored dependencies in #51837. --- pkgs/development/tools/analysis/radare2/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/analysis/radare2/default.nix b/pkgs/development/tools/analysis/radare2/default.nix index 5b4bde0ff0a..eac1bc7b51e 100644 --- a/pkgs/development/tools/analysis/radare2/default.nix +++ b/pkgs/development/tools/analysis/radare2/default.nix @@ -75,12 +75,19 @@ let depsBuildBuild = [ buildPackages.stdenv.cc ]; nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ file libzip xxHash readline libusb libewf perl zlib openssl libuv ] + buildInputs = [ file readline libusb libewf perl zlib openssl libuv ] ++ optional useX11 [ gtkdialog vte gtk2 ] ++ optional rubyBindings [ ruby ] ++ optional pythonBindings [ python3 ] ++ optional luaBindings [ lua ]; + propagatedBuildInputs = [ + # radare2 exposes r_lib which depends on these libraries + file # for its list of magic numbers (`libmagic`) + libzip + xxHash + ]; + meta = { description = "unix-like reverse engineering framework and commandline tools"; homepage = http://radare.org/;