From 467c7ca038593b2d9a573b83dc036db144e84e26 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Mon, 22 May 2023 16:16:46 +0000 Subject: [PATCH] cargo: mark broken for cross compilation to x86 --- pkgs/development/compilers/rust/cargo.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/compilers/rust/cargo.nix b/pkgs/development/compilers/rust/cargo.nix index beb1912658cc..46e238ff4797 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) {