3
0
Fork 0
forked from mirrors/nixpkgs

linuxPackages.vm-tools: init

needed for mce-test
This commit is contained in:
Evils 2021-09-20 14:20:17 +02:00 committed by tomberek
parent 788920fcdf
commit 27ba20dd72
2 changed files with 18 additions and 0 deletions

View file

@ -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 ];
};
}

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 { };