From 4ed65eb436b80df650989a8796990ea80d8cf8e4 Mon Sep 17 00:00:00 2001 From: Andreas Date: Tue, 14 Jan 2025 02:31:09 +0100 Subject: [PATCH] add shell.nix for setting up devenv --- shell.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..afb9316 --- /dev/null +++ b/shell.nix @@ -0,0 +1,18 @@ +# https://nix.dev/tutorials/declarative-and-reproducible-developer-environments +with import { }; + +mkShell { + + # Package names can be found via https://search.nixos.org/packages + nativeBuildInputs = [ + nodejs_22 + sqlite + python3 + ]; + + # NIX_ENFORCE_PURITY = true; + + shellHook = '' + export PATH="$PWD/node_modules/.bin/:$PATH" + ''; +} \ No newline at end of file