From 5b9e531efc38f9d31db7f3d6e4ebbc1fbae296f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=A4dorf?= Date: Mon, 14 Mar 2022 17:02:58 +0100 Subject: [PATCH] Add nix shell --- .envrc | 2 ++ .gitignore | 1 + shell.nix | 8 ++++++++ 3 files changed, 11 insertions(+) create mode 100644 .envrc create mode 100644 shell.nix diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..acd2e1b --- /dev/null +++ b/.envrc @@ -0,0 +1,2 @@ +watch_file shell.nix +use nix diff --git a/.gitignore b/.gitignore index daa834e..c9582a7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.direnv node_modules .DS_Store dist diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..9ae65eb --- /dev/null +++ b/shell.nix @@ -0,0 +1,8 @@ +{ pkgs ? import {} }: + +pkgs.mkShell { + buildInputs = [ + pkgs.nodejs + pkgs.nodePackages.lerna + ]; +}