rustc: mark broken for dynamic Musl target

This commit is contained in:
Alyssa Ross 2022-06-29 09:46:47 +00:00
parent afc3ccc802
commit 6f9359a504

View File

@ -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;
};
}