adisbladis / buildNodeModules

An experiment in improving node packaging for nix. Dead simple.
43 stars 2 forks source link

buildNodeModules

The dumbest node to Nix packaging solution yet!

How it works

How node_modules is built

How node_modules is linked

Our configure/shell hook links individual directories inside the Nix built node_modules directory. This is to work around issues like https://github.com/nix-community/npmlock2nix/issues/86 and that tools like vite expects a writable node_modules.

Usage