blob: 017dc11c52ab8f57aa2047cc13d83b7baddf1261 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
let
sources = import ./sources.nix;
rustChannelsOverlay = import "${sources.nixpkgs-mozilla}/rust-overlay.nix";
rustChannelsSrcOverlay = import "${sources.nixpkgs-mozilla}/rust-src-overlay.nix";
in import sources.nixpkgs {
overlays = [
rustChannelsOverlay
rustChannelsSrcOverlay
(self: super: {
rustc = super.latest.rustChannels.stable.rust;
inherit (super.latest.rustChannels.stable) cargo rust rust-fmt rust-std clippy;
})
];
}
|