From 397e5bb5a79f85c86a4f5dcd3382d205aff3bec3 Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Mon, 20 Jan 2025 02:32:47 -0500 Subject: [PATCH] rustc: mark broken for LLVM stdenv --- pkgs/development/compilers/rust/rustc.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/compilers/rust/rustc.nix b/pkgs/development/compilers/rust/rustc.nix index af287fcc9079d..d7a1ee625f9ce 100644 --- a/pkgs/development/compilers/rust/rustc.nix +++ b/pkgs/development/compilers/rust/rustc.nix @@ -421,5 +421,10 @@ stdenv.mkDerivation (finalAttrs: { # If rustc can't target a platform, we also can't build rustc for # that platform. badPlatforms = rustc.badTargetPlatforms; + # Builds, but can't actually compile anything + # https://github.com/NixOS/nixpkgs/issues/311930 + # https://github.com/rust-lang/rust/issues/55120 + # https://github.com/rust-lang/rust/issues/82521 + broken = stdenv.hostPlatform.useLLVM; }; })