madjam002 / yarnpnp2nix

A performance focused and space efficient way of packaging NodeJS applications with Nix
MIT License
43 stars 5 forks source link

add flake-compat and a default overlay for consumption in non-flake projects #11

Open adrian-gierakowski opened 1 year ago

adrian-gierakowski commented 1 year ago

also:

  1. package runTests.sh with nix so that it works event if user does't have jq installed locally
  2. gitignore: add test/workspace/.yarn/cache/

EDIT: also see this commit, which fixes shell.nix, as currently it doesn't work with classic nix-shell

note that the actual devShell is defined in previous commit on that branch, and uses yarnBerry instead of yarn, as suggested in my other PR. Please let me know if you'd be willing to accept all of these changes in a single PR. Thanks!