From 9d61ad5fbda56f9293f5cb7b82d228fcfa026a14 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Sat, 6 May 2023 10:50:07 -0700 Subject: [PATCH] added shell.nix to test --- shell.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..841d29a --- /dev/null +++ b/shell.nix @@ -0,0 +1,19 @@ +# +{ pkgs ? import {}}: + + let + rust_overlay = import (builtins.fetchTarball "https://github.com/oxalica/rust-overlay/archive/master.tar.gz"); + pkgs = import { overlays = [ rust_overlay ]; }; + ruststable = (pkgs.rust-bin.stable.latest.default.override { + extensions = [ + "rust-src" + ]; + }); + in + pkgs.mkShell { + buildInputs = with pkgs; [ + ruststable + rust-analyzer + bacon + ]; + }