microcode{Amd,Intel}: Limit platforms to x86 Linux

These firmware blobs are only applicable on x86 hardware. It doesn't
make sense to package them for other architectures, e.g. aarch64. Thus,
limit them to x86 Linux.

Signed-off-by: Felix Singer <felixsinger@posteo.net>

Changed files
+8 -2
pkgs
os-specific
linux
microcode
+4 -1
pkgs/os-specific/linux/microcode/amd.nix
···
description = "AMD Processor microcode patch";
homepage = "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git";
license = licenses.unfreeRedistributableFirmware;
-
platforms = platforms.linux;
+
platforms = [
+
"i686-linux"
+
"x86_64-linux"
+
];
};
}
+4 -1
pkgs/os-specific/linux/microcode/intel.nix
···
changelog = "https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/releases/tag/${src.rev}";
description = "Microcode for Intel processors";
license = licenses.unfreeRedistributableFirmware;
-
platforms = platforms.linux;
+
platforms = [
+
"i686-linux"
+
"x86_64-linux"
+
];
maintainers = with maintainers; [ felixsinger ];
};
}