From 441535542644046bd4dfdd3864477f8a6d192b70 Mon Sep 17 00:00:00 2001 From: Dominik Honnef Date: Wed, 8 Jul 2020 05:58:27 +0200 Subject: [PATCH] turbostat: requires libcap to build --- pkgs/os-specific/linux/turbostat/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/turbostat/default.nix b/pkgs/os-specific/linux/turbostat/default.nix index 4207589aaff0..035dddcc4ec0 100644 --- a/pkgs/os-specific/linux/turbostat/default.nix +++ b/pkgs/os-specific/linux/turbostat/default.nix @@ -1,9 +1,10 @@ -{ stdenv, kernel }: +{ stdenv, kernel, libcap }: stdenv.mkDerivation { pname = "turbostat"; inherit (kernel) src version; + buildInputs = [ libcap ]; makeFlags = [ "PREFIX=${placeholder "out"}" ]; postPatch = ''