nix: migrate fetchPnpmDeps#166
Conversation
|
Could you do it for all platforms anyway? If it breaks something can revert |
I am still new to |
|
Ah, @ojsef39, @frostplexx, @xaiyadev |
|
You can get the hash on linux too. Also: you could just change the fetcherversion, then push it and the pipeline will update the hash itself |
|
The same treatment is needed for Darwin too. Although I think you need macOS to generate its pnpm hash? I can open a separate PR that applies the same change to Darwin if @Desoroxxx is unable to do it :) |
How? I tried looking but haven't found anything like that or at least it wasn't really clear, I am fine with you pointing to a doc page.
Oh well, that simplifies things lol |
|
If the pipeline does update the hash it should just work for both now |
|
Happy to merge this once it's been resolved. I don't use nix so can't help much here 💜 |
|
LGTM then |
|
Good to merge? |
|
Is there a way to a run a test pipeline kn this branch? Oterwise LGTM |
|
Someone should do a seperate pr to add a workflow to run the build and tests on pr changes. Otherwise it won't run atm. I think technically @Desoroxxx could try manually run on their branch but I wouldn't reccomend it over the solution above. |
#142 would be ready to merge now, if you are still interested in having that :) |
|
Idk how to trigger the checks to run without the pr changing... |
|
ig @Desoroxxx has to rebase/update branch so it will trigger the action? i could also just add a workflow input real quick so you can trigger it manually |
|
Workflow input would be appreciated. Also see my comment on #142, would be great to have a manual trigger available for the build workflow too. Though I'm not familiar with how manual triggers are invoked on PR's. Does it just add a UI button? |
|
Yea I don't think itl work then. Annoying, I wish GitHub just gave a way to run in or manually. Ah well |
|
I can always try this |
|
Nop |
|
Itl need a force push or change to trigger then |
|
If it's gonna be too much of a PITA idm just merging this if everyone feels it won't have issues. |
|
Only issue could be that the nix-darwin hash wont be fixed anymore But then also, its a problem of the pipeline itself cuz it should update the hash, and then the pipeline has to be fixed So we have to try out eitherway |
|
Eh, whatever, can always pr a fix if it doesn't capture everything. Lets send it |

This fixes a warning see: NixOS/nixpkgs#494184
Did not do it for Darwin as I do not have access to that platform.