From 75d5ffe7ac4c7fa684e52bbfc73b71f2802a2a8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Fri, 6 Jan 2012 17:45:53 +0000 Subject: [PATCH] Adding perf manual pages. I copied the docbook inputs from awesome. I don't understand them. svn path=/nixpkgs/trunk/; revision=31355 --- pkgs/os-specific/linux/kernel/perf.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/perf.nix b/pkgs/os-specific/linux/kernel/perf.nix index 40b7638b911f..e13b7266b02f 100644 --- a/pkgs/os-specific/linux/kernel/perf.nix +++ b/pkgs/os-specific/linux/kernel/perf.nix @@ -1,4 +1,5 @@ -{ stdenv, kernel, elfutils, python, perl, newt, slang }: +{ stdenv, kernel, elfutils, python, perl, newt, slang, asciidoc, xmlto +, docbook_xsl, docbook_xml_dtd_45, libxslt }: stdenv.mkDerivation { name = "perf-linux-${kernel.version}"; @@ -12,7 +13,10 @@ stdenv.mkDerivation { ''; # perf refers both to newt and slang - buildInputs = [ elfutils python perl newt slang ]; + buildInputs = [ elfutils python perl newt slang asciidoc xmlto + docbook_xsl docbook_xml_dtd_45 libxslt ]; + + installFlags = "install install-man ASCIIDOC8=1"; inherit elfutils;