-
Notifications
You must be signed in to change notification settings - Fork 131
Open
Description
Sometimes extensions are not available for a nightly release, such as regularly happens with rls. When this occurs, a package specification like this:
(nixpkgs.rustChannels.nightly.rust.override {
extensions = [
"rust-src"
"rls-preview"
];
})... will outright fail to build, and break the entire rebuild of a system, with an error like this:
error: attribute 'xz_url' missing, at /nix/store/kcdh3m23dy3vxzlrwj3kwjg02616kgbd-source/rust-overlay.nix:100:31
Ideally it would then just fall back to the most recent nightly release that does have the specified extensions, so as to not break rebuilds nor make extensions magically vanish.
Perhaps the nightly Rust attribute implementation could be changed to do that, so that one doesn't have to manually track down a nightly version that has what they need?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels