Skip to content

Commit

Permalink
rustc: mark broken for dynamic Musl target
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssais committed Jul 2, 2022
1 parent afc3ccc commit 6f9359a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/compilers/rust/rustc.nix
Original file line number Diff line number Diff line change
Expand Up @@ -188,5 +188,8 @@ in stdenv.mkDerivation rec {
maintainers = with maintainers; [ madjar cstrahan globin havvy ];
license = [ licenses.mit licenses.asl20 ];
platforms = platforms.linux ++ platforms.darwin;
# rustc can't generate binaries for dynamically linked Musl.
# https://github.com/NixOS/nixpkgs/issues/179242
broken = stdenv.targetPlatform.isMusl && !stdenv.targetPlatform.isStatic;
};
}

0 comments on commit 6f9359a

Please sign in to comment.