chore: add direnv

This commit is contained in:
Jalil Arfaoui 2023-09-12 23:56:37 +02:00
parent 4160039833
commit ccccf11d96
2 changed files with 7 additions and 0 deletions

3
.envrc Normal file
View file

@ -0,0 +1,3 @@
export NODE_ENV=development
use_nix

4
default.nix Normal file
View file

@ -0,0 +1,4 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
nativeBuildInputs = with pkgs; [ nodejs-18_x (yarn.override { nodejs = nodejs-18_x; }) ];
}