Skip to content

Commit

Permalink
perf: No need for kernel.dev
Browse files Browse the repository at this point in the history
Signed-off-by: Shea Levy <shea@shealevy.com>
  • Loading branch information
shlevy committed Mar 25, 2013
1 parent a924b4e commit 5e1e4d0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkgs/os-specific/linux/kernel/perf.nix
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 5e1e4d0

Please sign in to comment.