Merge pull request #92678 from dominikh/turbostat-libcap

turbostat: requires libcap to build
This commit is contained in:
Daniël de Kok 2020-07-08 08:25:36 +02:00 committed by GitHub
commit 611171829a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,10 @@
{ stdenv, kernel }: { stdenv, kernel, libcap }:
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "turbostat"; pname = "turbostat";
inherit (kernel) src version; inherit (kernel) src version;
buildInputs = [ libcap ];
makeFlags = [ "PREFIX=${placeholder "out"}" ]; makeFlags = [ "PREFIX=${placeholder "out"}" ];
postPatch = '' postPatch = ''