dream2nix/notes/node2nix.md
2021-09-22 00:30:56 +01:00

411 B

problems with original node2nix implementation

Bad caching

  • packages are all unpacked at once inside a build instead of in individual derivations

Bad build performance

  • unpacking is done sequentially
  • pinpointing deps is done sequentially

build time dependencies unavailable

  • packages are not available during build (could be fixed by setting NODE_PATH and installing in correct order)