linuxManualConfig: set badPlatforms

Older kernels shouldn't be marked as supporting architectures that
were only added to the kernel later.

(cherry picked from commit 2328a23b54)
This commit is contained in:
Alyssa Ross
2023-06-14 14:38:09 +00:00
committed by github-actions[bot]
parent d8ec9719b9
commit e06facb0ca

View File

@@ -405,6 +405,9 @@ stdenv.mkDerivation ({
maintainers.thoughtpolice
];
platforms = platforms.linux;
badPlatforms =
lib.optionals (lib.versionOlder version "4.15") [ "riscv32-linux" "riscv64-linux" ] ++
lib.optional (lib.versionOlder version "5.19") "loongarch64-linux";
timeout = 14400; # 4 hours
} // extraMeta;
} // optionalAttrs (pos != null) {