about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/perf.nix
diff options
context:
space:
mode:
authorBen Wolsieffer <benwolsieffer@gmail.com>2018-01-15 22:28:45 -0500
committerBen Wolsieffer <benwolsieffer@gmail.com>2018-01-15 22:28:45 -0500
commit7bb3a044be38810e525cde73d591e006b2118095 (patch)
tree95baa9b37539883e50bbe7c9c2a588e41de160da /pkgs/os-specific/linux/kernel/perf.nix
parent80f6b8e2ba354f85b48622acf56dde86db0c4e29 (diff)
downloadnixlib-7bb3a044be38810e525cde73d591e006b2118095.tar
nixlib-7bb3a044be38810e525cde73d591e006b2118095.tar.gz
nixlib-7bb3a044be38810e525cde73d591e006b2118095.tar.bz2
nixlib-7bb3a044be38810e525cde73d591e006b2118095.tar.lz
nixlib-7bb3a044be38810e525cde73d591e006b2118095.tar.xz
nixlib-7bb3a044be38810e525cde73d591e006b2118095.tar.zst
nixlib-7bb3a044be38810e525cde73d591e006b2118095.zip
kernel: fix dependencies
Diffstat (limited to 'pkgs/os-specific/linux/kernel/perf.nix')
-rw-r--r--pkgs/os-specific/linux/kernel/perf.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/os-specific/linux/kernel/perf.nix b/pkgs/os-specific/linux/kernel/perf.nix
index 5f79e1b2cac6..1936f6578b6f 100644
--- a/pkgs/os-specific/linux/kernel/perf.nix
+++ b/pkgs/os-specific/linux/kernel/perf.nix
@@ -1,6 +1,6 @@
 { lib, stdenv, kernel, elfutils, python, perl, newt, slang, asciidoc, xmlto, makeWrapper
 , docbook_xsl, docbook_xml_dtd_45, libxslt, flex, bison, pkgconfig, libunwind, binutils
-, libiberty, libaudit
+, libiberty, libaudit, libbfd
 , zlib, withGtk ? false, gtk2 ? null }:
 
 with lib;
@@ -21,10 +21,9 @@ 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 libaudit makeWrapper pkgconfig python perl ];
-  buildInputs = [ elfutils newt slang libunwind binutils zlib ] ++
+  buildInputs = [ elfutils newt slang libunwind libbfd zlib ] ++
     stdenv.lib.optional withGtk gtk2;
 
   # Note: we don't add elfutils to buildInputs, since it provides a