Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,20 @@ Running `nix develop` will create a shell with the default beta Rust toolchain i

```

#### Change Default `DistRoot`:

- e.g. `RUSTUP_DIST_SERVER`=`"https://example.com"`

Just replace `rust-overlay.overlays.default` or `(import rust-overlay)` into:

```nix
(final: prev: {
rust-bin = rust-overlay.lib.mkRustBin { distRoot = "https://example.com/dist"; } prev;
})
```

For more information, see [reference.md](./docs/reference.md).

### Migration from [nixpkgs-mozilla]

1. Change the channel URL to `https://github.com/oxalica/rust-overlay/archive/master.tar.gz`,
Expand Down
Loading