@@ -1,6 +1,6 @@
11{ lib, stdenv, kernel, elfutils, python, perl, newt, slang, asciidoc, xmlto
22, docbook_xsl, docbook_xml_dtd_45, libxslt, flex, bison, pkgconfig, libunwind, binutils
3−, withGtk ? false, gtk ? null }:
3+, zlib, withGtk ? false, gtk ? null }:
44
55with lib;
66
@@ -23,7 +23,7 @@ stdenv.mkDerivation {
2323 # perf refers both to newt and slang
2424 # binutils is required for libbfd.
2525 nativeBuildInputs = [ asciidoc xmlto docbook_xsl docbook_xml_dtd_45 libxslt flex bison ];
26− buildInputs = [ python perl newt slang pkgconfig libunwind binutils ] ++
26+ buildInputs = [ python perl newt slang pkgconfig libunwind binutils zlib ] ++
2727 stdenv.lib.optional withGtk gtk;
2828
2929 # Note: we don't add elfutils to buildInputs, since it provides a