From f92fb9bd401198dbab27edf3bbd2435a104a1c72 Mon Sep 17 00:00:00 2001 From: Eli Flanagan Date: Sat, 14 Sep 2019 12:45:22 -0400 Subject: fix typo --- shell.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 shell.nix (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..8da2c58 --- /dev/null +++ b/shell.nix @@ -0,0 +1,17 @@ +# copied expressions from https://nixos.wiki/wiki/Rust +# and Mozilla's nix overlay README +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 = "rust_nightly_shell"; + buildInputs = [ + nixpkgs.latest.rustChannels.nightly.rust + openssl + # needed to correctly populate the + # nix specific paths to openssl libraries + pkgconfig + ]; + } -- cgit v1.2.3