From bf4ada00a845e08e552f0521d245c23f04c47b1f Mon Sep 17 00:00:00 2001 From: Irene Knapp Date: Wed, 23 Dec 2020 14:48:17 -0800 Subject: might want to run nightly rust --- shell.nix | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix index 0860ad5..7cc2faf 100644 --- a/shell.nix +++ b/shell.nix @@ -7,14 +7,31 @@ let sha256 = "17mmf5sqn0fmpqrf52icq92nf1sy5yacwx9vafk43piaq433ba56"; }; crate2nix = pkgs.callPackage (import crate2nix-src) { }; + #rustPackages = pkgs.callPackage ./rust-nightly.nix { }; in pkgs.mkShell { - buildInputs = with pkgs; [ + buildInputs = (with pkgs; [ cargo cmake crate2nix go pkgconfig rustc - ]; + ]); + /* + ++ (with rustPackages; [ + (cargo { + date = "2020-12-20"; + hash= "0rnbf2hb94yrs7xl567i35641z52by3jlijxwjn8m1slvnqvzshc"; + }) + (rustc { + date = "2020-12-20"; + hash= "1asahv0lv78r2v0117hc56a62hkssnnsl6qyzyh43wrwv70jv6i7"; + }) + (rust-std { + date = "2020-12-20"; + hash= "0x4qpwgqibljdsplrqap8r7n8kfc6lnys46c2czqva87w4fhzpwp"; + }) + ]); + */ } -- cgit 1.4.1