rikhuijzer / cache-install

Use the GitHub Actions cache for Nix packages
MIT License
42 stars 19 forks source link

why would not gh cache of /nix/store would not work? #11

Closed dzmitry-lahoda closed 2 years ago

dzmitry-lahoda commented 2 years ago

https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows

so I can just cache this?

i mean what is catch - may be add to readme

rikhuijzer commented 2 years ago

I'm sorry what is the question exactly?

rikhuijzer commented 2 years ago

Ah I now also re-read the title.

Using the default cache from GitHub won't work because /nix/store is read-only. One of the things that this cache-install project does is to handle those file permissions correctly.