From 852d868fe65d8cdda0d004e4cc48fda7a69658c8 Mon Sep 17 00:00:00 2001 From: Philipp Bartsch Date: Sun, 19 Apr 2026 14:43:00 +0200 Subject: [PATCH] coreboot-utils: mark nvramtool x86 only accessors/cmos-hw-unix.c is only implemented for x86, else there is a stub, but that fails to compile. Fixes: https://github.com/NixOS/nixpkgs/issues/488459 --- pkgs/tools/misc/coreboot-utils/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/misc/coreboot-utils/default.nix b/pkgs/tools/misc/coreboot-utils/default.nix index e1fa3c2b1b1d..0c0969c71f1e 100644 --- a/pkgs/tools/misc/coreboot-utils/default.nix +++ b/pkgs/tools/misc/coreboot-utils/default.nix @@ -110,6 +110,10 @@ let pname = "nvramtool"; meta.description = "Read and write coreboot parameters and display information from the coreboot table in CMOS/NVRAM"; meta.mainProgram = "nvramtool"; + meta.platforms = [ + "x86_64-linux" + "i686-linux" + ]; }; superiotool = generic { pname = "superiotool";