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

Feature request: option to include build inputs when pushing #206

Open
gmacon opened this issue Nov 21, 2024 · 0 comments
Open

Feature request: option to include build inputs when pushing #206

gmacon opened this issue Nov 21, 2024 · 0 comments

Comments

@gmacon
Copy link

gmacon commented Nov 21, 2024

I use attic to cache the build results of my CI system, and I have a script that, after pushing the result, it gets the closure of the deriver of result and then pushes the outputs of those derivations that exist locally. I recently noticed that this doesn't actually include everything, since I also need to recurse through those things, too.

I would like an option to push everything necessary to rebuild the output as if only my cache and a copy of cache.nixos.org were available, which I think is the same as "everything that would be kept by a garbage collection if the arguments to push were gcroots and the keep-outputs and keep-derivations options are enabled. (And, nice to have, then with store derivations (.drv files) filtered out, since they are rebuilt during the evaluation process.)

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

1 participant