yarn-plugin-nixify icon indicating copy to clipboard operation
yarn-plugin-nixify copied to clipboard

put application source and dependencies in separate nix packages

Open adrian-gierakowski opened this issue 3 years ago • 9 comments

Currently, it seems, all node deps are bundled together with application source in a single package. This leads to wasted disk space and network bandwidth when only application code changes. Would it be possible to separate those, for example by symlinking the packages into .yarn/cache during nix-build instead of copying them?

adrian-gierakowski avatar Jan 19 '22 14:01 adrian-gierakowski