The npm dependencies hash in flake.nix
must be updated after adding or updating the node packages using the following commands:
$ nix shell nixpkgs#prefetch-npm-deps
nix-shell $ prefetch-npm-deps package-lock.json
The node-packages.nix
should be commited together with package-lock.json
.