forked from mirrors/nixpkgs
linuxPackages.vm-tools: init
needed for mce-test
This commit is contained in:
parent
788920fcdf
commit
27ba20dd72
16
pkgs/os-specific/linux/vm-tools/default.nix
Normal file
16
pkgs/os-specific/linux/vm-tools/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue