Created
April 11, 2020 23:02
-
-
Save lovesegfault/fc4b93718772e4ddbb93ab2b0b62769b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ }: let | |
sources = import ./sources.nix; | |
overlays = [ | |
(import sources.nixpkgs-mozilla) | |
( | |
self: super: { | |
rustChannel = self.rustChannelOf { channel = "stable"; }; | |
rustFull = self.rustChannel.rust.override { | |
extensions = [ | |
"clippy-preview" | |
"rls-preview" | |
"rustfmt-preview" | |
"rust-analysis" | |
"rust-std" | |
"rust-src" | |
]; | |
}; | |
cargo = self.rustChannel.rust; | |
rustc = self.rustChannel.rust; | |
} | |
) | |
(self: super: { crate2nix = self.callPackage sources.crate2nix {}; }) | |
]; | |
pkgs = import <nixpkgs> { inherit overlays; }; | |
in pkgs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment