linuxPackages.vm-tools: init

needed for mce-test
main
Evils 3 years ago committed by tomberek
parent 788920fcdf
commit 27ba20dd72
  1. 16
      pkgs/os-specific/linux/vm-tools/default.nix
  2. 2
      pkgs/top-level/linux-kernels.nix

@ -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…
Cancel
Save