mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 16:11:22 +00:00
cargo: mark broken for cross compilation to x86
(cherry picked from commit 467c7ca038)
This commit is contained in:
committed by
github-actions[bot]
parent
23b868ac75
commit
f2a02c5e98
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user