diff options
author | Vladimír Čunát <v@cunat.cz> | 2024-06-09 08:36:41 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2024-06-09 08:36:41 +0200 |
commit | b45d7259e501e43e6234dc5985a61b379ef46ad9 (patch) | |
tree | 6212a05c138f7502b998f6b75c8fbd9090b62efa /pkgs/by-name/re | |
parent | 0a232ee172e874fe91d313298f9e0a8cbd5d945b (diff) | |
parent | bf13eca852acddd5e44b5ad9b4ebc0629d612737 (diff) |
Merge #318447: rustc: disable wasm32 if some gcc options are set
...into staging-next
Diffstat (limited to 'pkgs/by-name/re')
-rw-r--r-- | pkgs/by-name/re/rerun/package.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/by-name/re/rerun/package.nix b/pkgs/by-name/re/rerun/package.nix index 4d9c8da8041c0..6fedb10cfed12 100644 --- a/pkgs/by-name/re/rerun/package.nix +++ b/pkgs/by-name/re/rerun/package.nix @@ -126,5 +126,8 @@ rustPlatform.buildRustPackage rec { ]; maintainers = with maintainers; [ SomeoneSerge ]; mainProgram = "rerun"; + # See comment about wasm32-unknown-unknown in rustc.nix. + broken = lib.any (a: lib.hasAttr a stdenv.hostPlatform.gcc) [ "cpu" "float-abi" "fpu" ] || + !stdenv.hostPlatform.gcc.thumb or true; }; } |