Closed flokli closed 3 years ago
This should be merged before https://github.com/google/nixery/pull/127.
I updated the PR to include your proposed changes - and also added some code removing var-cache-nixery
if it already exists (leaving it around after the run for inspection). It doesn't matter much in CI, but for interactive tinkering.
With https://github.com/google/nixery/pull/127, nixery will use extended attributes to store metadata (when using local storage).
Right now, our integration test mounts a tmpfs to /var/cache/nixery. However, user xattrs aren't supported with tmpfs 1, so setting xattrs would fail.
To workaround this, use a folder in the current working directory and hope it's backed by something supporting user xattrs (which is the case for GitHub Actions).