From 65c87e3f3e705b633f9650bc94582cc2c7961a0f Mon Sep 17 00:00:00 2001 From: kenny Date: Wed, 14 May 2025 22:45:19 +0300 Subject: [PATCH] Added Mozilla's Rust Nightly --- rust-nightly.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 rust-nightly.nix diff --git a/rust-nightly.nix b/rust-nightly.nix new file mode 100644 index 0000000..4bc17a9 --- /dev/null +++ b/rust-nightly.nix @@ -0,0 +1,17 @@ +let + moz_overlay = + import (builtins.fetchTarball + "https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz"); + nixpkgs = import {overlays = [moz_overlay];}; +in + with nixpkgs; + stdenv.mkDerivation { + name = "moz_overlay_shell"; + buildInputs = [ + # to use the latest nightly: + nixpkgs.latest.rustChannels.nightly.rust + ]; + shellHook = '' + exec zsh + ''; + }