polkadot: tighten platforms

This commit is contained in:
Alyssa Ross 2024-06-09 16:46:12 +01:00
parent 051f920625
commit f9fffaf96e
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -93,6 +93,7 @@ rustPlatform.buildRustPackage rec {
homepage = "https://polkadot.network";
license = licenses.gpl3Only;
maintainers = with maintainers; [ akru andresilva FlorianFranzen RaghavSood ];
platforms = platforms.unix;
# See Iso::from_arch in src/isa/mod.rs in cranelift-codegen-meta.
platforms = intersectLists platforms.unix (platforms.aarch64 ++ platforms.s390x ++ platforms.riscv64 ++ platforms.x86);
};
}