wip/nixpkgs-raku
oxalica 3 years ago
parent 55b946ef29
commit 3f5120e6be
No known key found for this signature in database
GPG Key ID: CED392DE0C483D00
  1. 4
      README.md
  2. 15
      rust-overlay.nix

@ -153,7 +153,6 @@ Running `nix develop` will create a shell with the default nightly Rust toolchai
stable = { stable = {
# The latest stable toolchain. # The latest stable toolchain.
latest = { latest = {
# [Experimental]
# Profiles, predefined component sets. # Profiles, predefined component sets.
# See: https://rust-lang.github.io/rustup/concepts/profiles.html # See: https://rust-lang.github.io/rustup/concepts/profiles.html
minimal = «derivation»; # Only `cargo`, `rustc` and `rust-std`. minimal = «derivation»; # Only `cargo`, `rustc` and `rust-std`.
@ -211,8 +210,7 @@ Some examples (assume `nixpkgs` had the overlay applied):
- Latest stable/beta/nightly rust with almost all components (provided the same as `mozilla-overlay`): - Latest stable/beta/nightly rust with almost all components (provided the same as `mozilla-overlay`):
`nixpkgs.rust-bin.{stable,beta,nightly}.latest.rust` `nixpkgs.rust-bin.{stable,beta,nightly}.latest.rust`
- *\[Experimental\]* - Latest stable/beta/nightly rust with `default` or `minimal` profile (provided the same as default behavior of `rustup install`).
Latest stable/beta/nightly rust with `default` or `minimal` profile (provided the same as default behavior of `rustup install`).
`nixpkgs.rust-bin.{stable,beta,nightly}.latest.{default,minimal}` `nixpkgs.rust-bin.{stable,beta,nightly}.latest.{default,minimal}`
Note: `default` profile on `nightly` may not always be available due to absense of required components. Note: `default` profile on `nightly` may not always be available due to absense of required components.

@ -559,22 +559,21 @@ let
in { in {
# For each channel: # For each channel:
# rust-bin.stable.latest.cargo # rust-bin.stable.latest.{minimal,default,complete} # Profiles.
# rust-bin.stable.latest.rust # Aggregate all others. (recommended) # rust-bin.stable.latest.rust # Pre-aggregate from upstream.
# rust-bin.stable.latest.cargo # Components...
# rust-bin.stable.latest.rustc # rust-bin.stable.latest.rustc
# rust-bin.stable.latest.rust-analysis
# rust-bin.stable.latest.rust-docs # rust-bin.stable.latest.rust-docs
# rust-bin.stable.latest.rust-src # ...
# rust-bin.stable.latest.rust-std
# #
# For a specific version of stable: # For a specific version of stable:
# rust-bin.stable."1.47.0".rust # rust-bin.stable."1.47.0".default
# #
# For a specific date of beta: # For a specific date of beta:
# rust-bin.beta."2021-01-01".rust # rust-bin.beta."2021-01-01".default
# #
# For a specific date of nightly: # For a specific date of nightly:
# rust-bin.nightly."2020-01-01".rust # rust-bin.nightly."2020-01-01".default
rust-bin = with builtins; rust-bin = with builtins;
(super.rust-bin or {}) // (super.rust-bin or {}) //
mapAttrs (channel: mapAttrs (version: toolchainFromManifest)) super.rust-bin.manifests // mapAttrs (channel: mapAttrs (version: toolchainFromManifest)) super.rust-bin.manifests //

Loading…
Cancel
Save