mirror of
https://github.com/oxalica/rust-overlay.git
synced 2025-10-06 00:02:40 +02:00
Fix sync script for mismatched target string in URL
In nightly 2022-02-02, aarch64-apple-darwin's rust-docs actually points to x86_64-apple-darwin's artifact URL. Most tier 2 targets' rust-docs also forward to -unknown-linux-gnu with the same arch. Not sure why they do so, but URL forwarding is implemented now.
This commit is contained in:
@@ -147,6 +147,10 @@
|
||||
extensions = [ "rustfmt" "rustc-dev" ];
|
||||
targets = [ "aarch64-unknown-linux-gnu" ];
|
||||
});
|
||||
} // optionalAttrs (system == "aarch64-darwin") {
|
||||
url-forward = assertUrl
|
||||
nightly."2022-02-02".rust-docs
|
||||
"https://static.rust-lang.org/dist/2022-02-02/rust-docs-nightly-x86_64-apple-darwin.tar.xz";
|
||||
};
|
||||
|
||||
checkDrvs = optionalAttrs (elem system [ "aarch64-linux" "x86_64-linux" ]) {
|
||||
|
Reference in New Issue
Block a user