mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 02:40:50 +00:00
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:
committed by
github-actions[bot]
parent
d8ec9719b9
commit
e06facb0ca
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user