diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-05-22 16:16:46 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-05-23 01:23:44 +0000 |
commit | 467c7ca038593b2d9a573b83dc036db144e84e26 (patch) | |
tree | ff3c078e2a741644c7d0267a365c3f0ea420debd /pkgs/development/compilers/rust/cargo.nix | |
parent | ec873be72fc57f997dfd8e7a69f7ac59f9294c0e (diff) |
cargo: mark broken for cross compilation to x86
Diffstat (limited to 'pkgs/development/compilers/rust/cargo.nix')
-rw-r--r-- | pkgs/development/compilers/rust/cargo.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/compilers/rust/cargo.nix b/pkgs/development/compilers/rust/cargo.nix index beb1912658cc6..46e238ff47971 100644 --- a/pkgs/development/compilers/rust/cargo.nix +++ b/pkgs/development/compilers/rust/cargo.nix @@ -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) { |