perf: depend on libiberty to get c++ demangling.

This commit is contained in:
Lluís Batlle i Rossell 2016-07-21 17:26:26 +02:00
parent 60d7f39ec0
commit dd02b6f118

View File

@ -1,5 +1,6 @@
{ lib, stdenv, kernel, elfutils, python, perl, newt, slang, asciidoc, xmlto { lib, stdenv, kernel, elfutils, python, perl, newt, slang, asciidoc, xmlto
, docbook_xsl, docbook_xml_dtd_45, libxslt, flex, bison, pkgconfig, libunwind, binutils , docbook_xsl, docbook_xml_dtd_45, libxslt, flex, bison, pkgconfig, libunwind, binutils
, libiberty
, zlib, withGtk ? false, gtk ? null }: , zlib, withGtk ? false, gtk ? null }:
with lib; with lib;
@ -22,7 +23,8 @@ stdenv.mkDerivation {
# perf refers both to newt and slang # perf refers both to newt and slang
# binutils is required for libbfd. # binutils is required for libbfd.
nativeBuildInputs = [ asciidoc xmlto docbook_xsl docbook_xml_dtd_45 libxslt flex bison ]; nativeBuildInputs = [ asciidoc xmlto docbook_xsl docbook_xml_dtd_45 libxslt
flex bison libiberty ];
buildInputs = [ python perl newt slang pkgconfig libunwind binutils zlib ] ++ buildInputs = [ python perl newt slang pkgconfig libunwind binutils zlib ] ++
stdenv.lib.optional withGtk gtk; stdenv.lib.optional withGtk gtk;