libdwarf: add zlib to buildInputs

Without this, `dwarfdump` gives errors when trying to show debug information
with compressed dwarf sections.
This commit is contained in:
timor 2019-03-03 23:10:50 +01:00
parent 2e5c30c3b6
commit a07438d24b

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, libelf }:
{ stdenv, fetchurl, libelf, zlib }:
let
version = "20181024";
@ -24,7 +24,7 @@ in rec {
preConfigure = ''
cd libdwarf
'';
buildInputs = [ libelf ];
buildInputs = [ libelf zlib ];
installPhase = ''
mkdir -p $out/lib $out/include