Add nix shell

This commit is contained in:
Benjamin Bädorf 2022-03-14 17:02:58 +01:00
parent 2976e1fa95
commit 5b9e531efc
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C
3 changed files with 11 additions and 0 deletions

2
.envrc Normal file
View file

@ -0,0 +1,2 @@
watch_file shell.nix
use nix

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
.direnv
node_modules node_modules
.DS_Store .DS_Store
dist dist

8
shell.nix Normal file
View file

@ -0,0 +1,8 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = [
pkgs.nodejs
pkgs.nodePackages.lerna
];
}