add shell.nix with npm serve

This commit is contained in:
41666 2024-01-23 00:18:31 -05:00
parent cada844c21
commit 25c41820bd
2 changed files with 6 additions and 0 deletions

1
.envrc Normal file
View file

@ -0,0 +1 @@
use nix;

5
shell.nix Normal file
View file

@ -0,0 +1,5 @@
{ pkgs ? import <nixpkgs> {} }: pkgs.mkShell {
buildInputs = with pkgs; [
nodePackages.serve
];
}