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
+2 -1
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 = ''