Open wxyangf opened 1 month ago
@wxyangf Thanks for reporting this. It seems PNPM has a new Lockfile-Version 9, which stores the prisma version a bit differently from the previous version 6 that was used until PNPM 8.x. I'll have to add support for the new version first, which should be pretty simple.
https://github.com/pnpm/spec/issues/6 It's unfortunate that they haven't gotten around to writing the official spec page for it yet. I'll do some more research to try to discover if there's some well documented example files to test against at least.
@wxyangf I don't think an official spec is necessary, it should be pretty simple to make a fix for PNPM 9. I'm not in a hurry with it, though, since PNPM9 seems not to be in nixpkgs yet. There's already an issue for this, though: https://github.com/NixOS/nixpkgs/issues/312134
made a patch here, but only tested against lockfile v9 so far, will make a proper PR once i fully test
@wxyangf I've made an update to support PNPM 9 Lockfiles. Can you check if it works for you? Thanks :)
I'm trying to get a local dev enviroment for rx-resume which uses pnpm and when i run the flake with
I get this error message
here's the pnpm-lock.yml https://github.com/AmruthPillai/Reactive-Resume/blob/main/pnpm-lock.yaml
It seems when parsing out the prisma version it's getting an extra ' character appended to the commit hash.
I'm new to nixos so sorry if I'm missing anything obvious :P
Thanks in advance for looking at this.