3
0
Fork 0
forked from mirrors/nixpkgs

perf: add dependency on libaudit

the `trace` subcommand of perf is only enabled when libaudit is
available at compile time
This commit is contained in:
Anders Papitto 2016-10-05 17:59:44 -07:00
parent adfcc2d953
commit aa44330963

View file

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