Skip to content

nix: migrate fetchPnpmDeps#166

Merged
Inrixia merged 2 commits into
Inrixia:masterfrom
Desoroxxx:master
May 14, 2026
Merged

nix: migrate fetchPnpmDeps#166
Inrixia merged 2 commits into
Inrixia:masterfrom
Desoroxxx:master

Conversation

@Desoroxxx
Copy link
Copy Markdown
Contributor

@Desoroxxx Desoroxxx commented May 11, 2026

This fixes a warning see: NixOS/nixpkgs#494184

Did not do it for Darwin as I do not have access to that platform.

@Inrixia
Copy link
Copy Markdown
Owner

Inrixia commented May 11, 2026

Could you do it for all platforms anyway? If it breaks something can revert

@Desoroxxx
Copy link
Copy Markdown
Contributor Author

Could you do it for all platforms anyway? If it breaks something can revert

I am still new to nix so I might be completely wrong here, but as far as I know there is no real way for me to actually do it, I won't be able to get the real hash and it will simply fail.

@Inrixia
Copy link
Copy Markdown
Owner

Inrixia commented May 13, 2026

Ah, @ojsef39, @frostplexx, @xaiyadev

@xaiyadev
Copy link
Copy Markdown
Contributor

xaiyadev commented May 13, 2026

You can get the hash on linux too.
If nobody touches this until this evening I will fix it up ^^

Also: you could just change the fetcherversion, then push it and the pipeline will update the hash itself

@frostplexx
Copy link
Copy Markdown
Contributor

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 :)

@Desoroxxx
Copy link
Copy Markdown
Contributor Author

You can get the hash on linux too. If nobody touches this until this evening I will fix it up ^^

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.

Also: you could just change the fetcherversion, then push it and the pipeline will update the hash itself

Oh well, that simplifies things lol

@Desoroxxx
Copy link
Copy Markdown
Contributor Author

If the pipeline does update the hash it should just work for both now

@Desoroxxx Desoroxxx changed the title nix: migrate fetchPnpmDeps (Linux) nix: migrate fetchPnpmDeps May 13, 2026
@Inrixia
Copy link
Copy Markdown
Owner

Inrixia commented May 14, 2026

Happy to merge this once it's been resolved. I don't use nix so can't help much here 💜

@frostplexx
Copy link
Copy Markdown
Contributor

LGTM then

@Inrixia
Copy link
Copy Markdown
Owner

Inrixia commented May 14, 2026

Good to merge?

@xaiyadev
Copy link
Copy Markdown
Contributor

Is there a way to a run a test pipeline kn this branch?
Not really familiar with github actions but I know this is possible on bitbucket, could we maybe try that first?

Oterwise LGTM

@Inrixia
Copy link
Copy Markdown
Owner

Inrixia commented May 14, 2026

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.

@ojsef39
Copy link
Copy Markdown
Contributor

ojsef39 commented May 14, 2026

Someone should do a seperate pr to add a workflow to run the build and tests on pr changes.

#142 would be ready to merge now, if you are still interested in having that :)

@Inrixia
Copy link
Copy Markdown
Owner

Inrixia commented May 14, 2026

Idk how to trigger the checks to run without the pr changing...

@ojsef39
Copy link
Copy Markdown
Contributor

ojsef39 commented May 14, 2026

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

@Inrixia
Copy link
Copy Markdown
Owner

Inrixia commented May 14, 2026

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?

@ojsef39
Copy link
Copy Markdown
Contributor

ojsef39 commented May 14, 2026

Though I'm not familiar with how manual triggers are invoked on PR's. Does it just add a UI button?

Im not sure actually if that will work since the branch doesnt belong to this repo technically, but i would be shown like this:
CleanShot 2026-05-14 at 10 03 34

@Inrixia
Copy link
Copy Markdown
Owner

Inrixia commented May 14, 2026

Yea I don't think itl work then. Annoying, I wish GitHub just gave a way to run in or manually. Ah well

@Inrixia
Copy link
Copy Markdown
Owner

Inrixia commented May 14, 2026

I can always try this

@Inrixia Inrixia marked this pull request as draft May 14, 2026 08:05
@Inrixia Inrixia marked this pull request as ready for review May 14, 2026 08:05
@Inrixia
Copy link
Copy Markdown
Owner

Inrixia commented May 14, 2026

Nop

@Inrixia
Copy link
Copy Markdown
Owner

Inrixia commented May 14, 2026

Itl need a force push or change to trigger then

@Inrixia
Copy link
Copy Markdown
Owner

Inrixia commented May 14, 2026

If it's gonna be too much of a PITA idm just merging this if everyone feels it won't have issues.

@xaiyadev
Copy link
Copy Markdown
Contributor

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
Because of that I dont mind merging it already

@Inrixia
Copy link
Copy Markdown
Owner

Inrixia commented May 14, 2026

Eh, whatever, can always pr a fix if it doesn't capture everything.

Lets send it

@Inrixia Inrixia merged commit fbb5d0a into Inrixia:master May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants