linuxPackages.vm-tools: init

needed for mce-test

authored by Evils and committed by tomberek 27ba20dd 788920fc

+18
+16
pkgs/os-specific/linux/vm-tools/default.nix
··· 1 + { lib, stdenv, linux }: 2 + 3 + stdenv.mkDerivation { 4 + pname = "vm-tools"; 5 + inherit (linux) version src; 6 + 7 + makeFlags = [ "sbindir=${placeholder "out"}/bin" ]; 8 + 9 + preConfigure = "cd tools/vm"; 10 + 11 + meta = with lib; { 12 + inherit (linux.meta) license platforms; 13 + description = "Set of virtual memory tools"; 14 + maintainers = [ maintainers.evils ]; 15 + }; 16 + }
+2
pkgs/top-level/linux-kernels.nix
··· 432 432 virtualbox = pkgs.virtualboxHardened; 433 433 }; 434 434 435 + vm-tools = callPackage ../os-specific/linux/vm-tools { }; 436 + 435 437 wireguard = if lib.versionOlder kernel.version "5.6" then callPackage ../os-specific/linux/wireguard { } else null; 436 438 437 439 x86_energy_perf_policy = callPackage ../os-specific/linux/x86_energy_perf_policy { };