cachix / install-nix-action

Installs Nix on GitHub Actions for the supported platforms: Linux and macOS.
Apache License 2.0
498 stars 78 forks source link

CCache support #189

Closed arximboldi closed 11 months ago

arximboldi commented 11 months ago

I've been reading that one can indeed use CCache to speed up incremental builds on NixOS: https://nixos.wiki/wiki/CCache

We already use CCache for some of our Github Actions work and it is fundamental to achieving speedy builds.

However, I haven't found a way to use CCache for building Nix derivations inside the Github Actions. Does someone has experience with this? Does it require any special support from install-nix-action?

arximboldi commented 11 months ago

Ok I just realized there is a Non-NixOS section specirfically in the linked Wiki page :sweat_smile: Dumb me.