From 0c8e06d588038ae6e24d1898bd33b3ee5a938640 Mon Sep 17 00:00:00 2001 From: Irene Knapp Date: Tue, 1 Sep 2020 20:25:26 -0700 Subject: Initial. --- 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..d675097 --- /dev/null +++ b/shell.nix @@ -0,0 +1,17 @@ +let + pkgs = import {}; + crate2nix-src = pkgs.fetchFromGitHub { + owner = "kolloch"; + repo = "crate2nix"; + rev = "0.8.0"; + sha256 = "17mmf5sqn0fmpqrf52icq92nf1sy5yacwx9vafk43piaq433ba56"; + }; + crate2nix = pkgs.callPackage (import crate2nix-src) { }; +in +pkgs.mkShell { + buildInputs = with pkgs; [ + cargo + crate2nix + rustc + ]; +} -- cgit 1.4.1