nix-community / kde2nix

Provisional, experimental Plasma 6 (and friends) pre-release packaging [maintainer=@K900]
MIT License
67 stars 6 forks source link

Cachix cache #15

Closed baduhai closed 6 months ago

baduhai commented 7 months ago

It'd be great to have some cached packages, there's a lot to compile after all. Maybe a github runner to populate the cache automatically.

K900 commented 7 months ago

I have most of it in my personal cache: 0uptime.cachix.org. I will probably set things up to push to the nix-community cachix once there's a little less churn.

tsandrini commented 6 months ago

+1 from me as well! :clap:

K900 commented 6 months ago

https://github.com/nix-community/kde2nix/actions/runs/7445595376/job/20266991858 has a rough draft of a cache action. Any help with people more familiar with GHA would be appreciated.

tsandrini commented 6 months ago

https://github.com/nix-community/kde2nix/actions/runs/7445595376/job/20266991858 has a rough draft of a cache action. Any help with people more familiar with GHA would be appreciated.

Thanks a lot! I haven't (yet) set up a personal cachix instance so I can confirm it from just what I've seen elsewhere. The action and the setup looks completely fine! I'd personally maybe try adding the DS magic cache

    - uses: DeterminateSystems/magic-nix-cache-action@v2

which could potentially help speed some things up (after the cachix action and before the build action). Apart from that looks fine to me.

K900 commented 6 months ago

Merged, works.