nix-community / cache-nix-action

Cache Nix store in GitHub Actions to speed up workflows [maintainer=@deemp]
MIT License
29 stars 6 forks source link

Get paths faster #3

Closed deemp closed 11 months ago

deemp commented 11 months ago

Currently, I use nix copy to copy paths from a cached chroot store from and into root store.

Copying takes a lot of time at the start of a job.

Possible solution

Advantages

Disadvantages

Alternatives

deemp commented 11 months ago

Solved by https://github.com/deemp/cache-nix-too/tree/use-nix-quick-install-action as it becomes possible to restore and save store paths directly without copying from an intermediate store.