From c177c9adae65b009281246a29e8189c0914c3214 Mon Sep 17 00:00:00 2001 From: "Berk D. Demir" Date: Sat, 29 Oct 2022 00:13:05 -0700 Subject: [PATCH] msrtool: Make the tool available only on x86 Linux On Linux this tool reads Model Specific Registers (MSRs) from /dev/cpu//msr, a device implemented exclusively for x86 instruction set CPUs. It doesn't make sense to offer it on other platforms. --- pkgs/tools/misc/coreboot-utils/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/misc/coreboot-utils/default.nix b/pkgs/tools/misc/coreboot-utils/default.nix index 9132c9502a78..5bca03075bf8 100644 --- a/pkgs/tools/misc/coreboot-utils/default.nix +++ b/pkgs/tools/misc/coreboot-utils/default.nix @@ -38,6 +38,7 @@ let msrtool = generic { pname = "msrtool"; meta.description = "Dump chipset-specific MSR registers"; + meta.platforms = [ "x86_64-linux" "i686-linux" ]; buildInputs = [ pciutils zlib ]; preConfigure = "export INSTALL=install"; };