cargo: mark broken for cross compilation to x86

This commit is contained in:
Alyssa Ross 2023-05-22 16:16:46 +00:00
parent ec873be72f
commit 467c7ca038
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -112,6 +112,8 @@ rustPlatform.buildRustPackage.override {
maintainers = teams.rust.members;
license = [ licenses.mit licenses.asl20 ];
platforms = platforms.unix;
# https://github.com/alexcrichton/nghttp2-rs/issues/2
broken = stdenv.hostPlatform.isx86 && stdenv.buildPlatform != stdenv.hostPlatform;
};
}
// lib.optionalAttrs (rust.toRustTarget stdenv.buildPlatform != rust.toRustTarget stdenv.hostPlatform) {