diff options
-rw-r--r-- | rust/shell.nix | 11 |
1 files changed, 11 insertions, 0 deletions
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 <nixpkgs> { overlays = [ moz_overlay ]; }; +in + with nixpkgs; + stdenv.mkDerivation { + name = "moz_overlay_shell"; + buildInputs = [ + nixpkgs.latest.rustChannels.nightly.rust + ]; + } |