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>
This commit is contained in:
Felix Singer
2024-09-07 22:56:04 +02:00
parent 8600a6306e
commit e8c405cdd2
2 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -26,6 +26,9 @@ stdenv.mkDerivation {
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
View File
@@ -29,7 +29,10 @@ stdenv.mkDerivation rec {
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 ];
};
}