Skip to content

Commit 2328a23

Browse files
committed
linuxManualConfig: set badPlatforms
Older kernels shouldn't be marked as supporting architectures that were only added to the kernel later.
1 parent 8594a8e commit 2328a23

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pkgs/os-specific/linux/kernel/manual-config.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,9 @@ stdenv.mkDerivation ({
407407
maintainers.thoughtpolice
408408
];
409409
platforms = platforms.linux;
410+
badPlatforms =
411+
lib.optionals (lib.versionOlder version "4.15") [ "riscv32-linux" "riscv64-linux" ] ++
412+
lib.optional (lib.versionOlder version "5.19") "loongarch64-linux";
410413
timeout = 14400; # 4 hours
411414
} // extraMeta;
412415
} // optionalAttrs (pos != null) {

0 commit comments

Comments
 (0)