Nix NodeJS | 193 Members | |
| 57 Servers |
| Sender | Message | Time |
|---|---|---|
| 29 Apr 2025 | ||
| Yes it is yarn pnp, I should have mentioned that I'm packaging v6.1.2 which only uses yarn | 15:30:47 | |
| Have you tried the yarn deps fetcher then? https://nixos.org/manual/nixpkgs/stable/#javascript-yarn If this project requires more elaborate packaging than `npm install` it is usually easier to put into it's own package instead of the `nodePackages` set. Following the nixpkgs manual for JavaScript projects should help you there. | 15:44:52 | |
| The package does contain a yarn.lock for the requested tag so that might work out as a bypass for yarn PNP. | 15:48:13 | |
| Yes I followed the docs, and it doesn't work because Funny enough, going the nodePackages at least allows me to build and run the package correctly, but it breaks the pipeline because generate script pulls in python for some reason | 15:52:41 | |
| * Yes I followed the docs, and it doesn't work because Funny enough, going the nodePackages at least allows me to build and run the package correctly, but it breaks the pipeline because generate script pulls in | 15:53:04 | |
| The yarn.lock in the Verdaccio 6.x branch is from a yarn berry install, i.e. yarn v3/v4. Support for yarn berry just got merged last week, only hit unstable today actually: https://github.com/NixOS/nixpkgs/pull/399404 See these docs: https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/javascript.section.md#yarn-berry-v3v4-javascript-yarn-v3-v4 | 15:57:13 | |
| My current attempt is already using fetchYarnBerryDeps, but it seems that with pnp it just doesn't work, I think I should report it in the PR | 16:30:06 | |
| * My current attempt is already using fetchYarnBerryDeps, but it seems that with pnp it just doesn't work, do you think I should report it in the PR? | 16:30:14 | |
| * My current attempt is already using fetchYarnBerryDeps (on my machine, not on the PR), but it seems that with pnp it just doesn't work, do you think I should report it in the PR? | 16:30:40 | |