summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2019-05-25 16:00:45 +0200
committerMatthias Beyer <mail@beyermatthias.de>2019-05-25 16:00:45 +0200
commitc41f1ed4e330e8aea3f09c30b361a8dbccb58ebd (patch)
tree473da970b5a08240cdcc443f27aedbafb33b2c8a
parent25ffc6db68e5d5ff53df69209f6e26d02249639f (diff)
Add rust overlay from nixpkgs-mozillarust-overlay
-rw-r--r--rust/shell.nix11
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
+ ];
+ }