From b6949a2860bdc84f751fd0a2c8e46e225661c403 Mon Sep 17 00:00:00 2001 From: TudbuT Date: Sun, 12 Jan 2025 17:52:38 +0100 Subject: [PATCH] nix --- .envrc | 1 + shell.nix | 9 +++++++++ test.txt | 1 + 3 files changed, 11 insertions(+) create mode 100644 .envrc create mode 100644 shell.nix create mode 100644 test.txt diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..1d953f4 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..25a62b7 --- /dev/null +++ b/shell.nix @@ -0,0 +1,9 @@ +{ pkgs ? import {} }: +pkgs.mkShell { + nativeBuildInputs = with pkgs; [ + cargo + helix + rust-analyzer + cargo-watch + ]; +} diff --git a/test.txt b/test.txt new file mode 100644 index 0000000..45b983b --- /dev/null +++ b/test.txt @@ -0,0 +1 @@ +hi