mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
Just like we do in the Cargo setup hook, to have musl/static builds
work properly we need to explicitly set whether we want static builds
or not. Rust's built-in target definitions are inconsistent — some
musl architectures default to static, and others don't.
Unfortunately it doesn't seem to be valid to break this list onto
multiple lines.
(cherry picked from commit e5da99075b)