linuxPackages.vm-tools: init

needed for mce-test
This commit is contained in:
Evils
2021-10-30 22:22:12 -04:00
committed by tomberek
parent 788920fcdf
commit 27ba20dd72
2 changed files with 18 additions and 0 deletions
@@ -0,0 +1,16 @@
{ lib, stdenv, linux }:
stdenv.mkDerivation {
pname = "vm-tools";
inherit (linux) version src;
makeFlags = [ "sbindir=${placeholder "out"}/bin" ];
preConfigure = "cd tools/vm";
meta = with lib; {
inherit (linux.meta) license platforms;
description = "Set of virtual memory tools";
maintainers = [ maintainers.evils ];
};
}
+2
View File
@@ -432,6 +432,8 @@ in {
virtualbox = pkgs.virtualboxHardened;
};
vm-tools = callPackage ../os-specific/linux/vm-tools { };
wireguard = if lib.versionOlder kernel.version "5.6" then callPackage ../os-specific/linux/wireguard { } else null;
x86_energy_perf_policy = callPackage ../os-specific/linux/x86_energy_perf_policy { };