From 28194780aa62b8f02432eb29d857adbd26d88569 Mon Sep 17 00:00:00 2001 From: Akshay Date: Mon, 24 Aug 2020 10:10:34 +0530 Subject: add readme --- nix/nixpkgs.nix | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'nix') diff --git a/nix/nixpkgs.nix b/nix/nixpkgs.nix index b5675fb..017dc11 100644 --- a/nix/nixpkgs.nix +++ b/nix/nixpkgs.nix @@ -1,13 +1,8 @@ let - # Manage this with https://github.com/nmattia/niv - # or define { nixpkgs = ...; nixpkgs-mozilla = ...; } - # yourself. sources = import ./sources.nix; rustChannelsOverlay = import "${sources.nixpkgs-mozilla}/rust-overlay.nix"; - # Useful if you also want to provide that in a nix-shell since some rust tools depend - # on that. rustChannelsSrcOverlay = import "${sources.nixpkgs-mozilla}/rust-src-overlay.nix"; in import sources.nixpkgs { @@ -15,11 +10,6 @@ in import sources.nixpkgs { rustChannelsOverlay rustChannelsSrcOverlay (self: super: { - # Replace "latest.rustChannels.stable" with the version of the rust tools that - # you would like. Look at the documentation of nixpkgs-mozilla for examples. - # - # NOTE: "rust" instead of "rustc" is not a typo: It will include more than needed - # but also the much needed "rust-std". rustc = super.latest.rustChannels.stable.rust; inherit (super.latest.rustChannels.stable) cargo rust rust-fmt rust-std clippy; }) -- cgit v1.2.3