Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question about cachix's garbage collection #22

Closed
bbigras opened this issue Sep 22, 2020 · 4 comments
Closed

question about cachix's garbage collection #22

bbigras opened this issue Sep 22, 2020 · 4 comments

Comments

@bbigras
Copy link

bbigras commented Sep 22, 2020

I'm using nix-build-uncached with cachix.

Since nix-build-uncached will skip building stuff already in my cachix cache, will cachix's garbage collection remove stuff I need since I didn't build/push them in the last runs?

@Mic92
Copy link
Owner

Mic92 commented Sep 23, 2020

I would say so because I assume that cachix only account for GET requests and not HEAD requests. cc @domenkozar

@domenkozar
Copy link

That's a good question!

Cachix will set last accessed for nar GET request and not narinfo requests.

I might change that to narinfo to cover this use case, I don't see any downsides.

@bbigras
Copy link
Author

bbigras commented Sep 24, 2020

I might change that to narinfo to cover this use case, I don't see any downsides.

That would be great. Unless I'm wrong it would fix a pretty big downside of using nix-build-uncached.

@Mic92
Copy link
Owner

Mic92 commented Sep 24, 2020

Ok. There is nothing that nix-build-uncached can really fix here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants