From c41f1ed4e330e8aea3f09c30b361a8dbccb58ebd Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 25 May 2019 16:00:45 +0200 Subject: Add rust overlay from nixpkgs-mozilla --- rust/shell.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 rust/shell.nix diff --git a/rust/shell.nix b/rust/shell.nix new file mode 100644 index 0000000..5de4ca4 --- /dev/null +++ b/rust/shell.nix @@ -0,0 +1,11 @@ +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 = [ + nixpkgs.latest.rustChannels.nightly.rust + ]; + } -- cgit v1.2.3