linuxPackages.rust-out-of-tree-module: tighten platforms
Linux only supports Rust on x86_64 and (as of 6.9) aarch64.
This commit is contained in:
parent
1ff302d40d
commit
5c96956e4b
@ -22,7 +22,8 @@ kernel.stdenv.mkDerivation {
|
||||
homepage = "https://github.com/Rust-for-Linux/rust-out-of-tree-module";
|
||||
license = lib.licenses.gpl2Only;
|
||||
maintainers = [ lib.maintainers.blitz ];
|
||||
platforms = lib.platforms.linux;
|
||||
platforms = [ "x86_64-linux" ]
|
||||
++ lib.optional (kernel.kernelAtLeast "6.9") "aarch64-linux";
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user