svanderburg / node2nix

Generate Nix expressions to build NPM packages
MIT License
527 stars 100 forks source link

Support offline execution #326

Open dacevedo12 opened 9 months ago

dacevedo12 commented 9 months ago

When using this tool inside a derivation it has no internet connection, but works OK as long as a lock file is provided.

However, git dependencies are always fetched since there's no integrity metadata in the lock file.

Would it be possible to support a fully offline alternative receiving integrity metadata for certain deps from arguments?