Add nix shell

master
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
.DS_Store
dist

8
shell.nix Normal file
View File

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