Permalink
Browse files

perf: No need for kernel.dev

Signed-off-by: Shea Levy <shea@shealevy.com>
  • Loading branch information...
1 parent a924b4e commit 5e1e4d08ebd0e46f64eeffd630d77c131efd0ad6 @shlevy committed Mar 25, 2013
Showing with 5 additions and 3 deletions.
  1. +5 −3 pkgs/os-specific/linux/kernel/perf.nix
@@ -1,13 +1,15 @@
-{ stdenv, kernelDev, elfutils, python, perl, newt, slang, asciidoc, xmlto
+{ stdenv, kernel, elfutils, python, perl, newt, slang, asciidoc, xmlto
, docbook_xsl, docbook_xml_dtd_45, libxslt, flex, bison, pkgconfig
, withGtk ? false, gtk ? null }:
assert withGtk -> gtk != null;
stdenv.mkDerivation {
- name = "perf-linux-${kernelDev.version}";
+ name = "perf-linux-${kernel.version}";
- inherit (kernelDev) src patches;
+ inherit (kernel) src;
+
+ patches = map (builtins.getAttr "patch") kernel.kernelPatches;
preConfigure = ''
cd tools/perf

0 comments on commit 5e1e4d0

Please sign in to comment.