-
Notifications
You must be signed in to change notification settings - Fork 69
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
Native Nix store implementation / standardized REST API #7
Comments
For pushing, Attic has two main endpoints:
I agree about the native Edit: Regarding improvements to the existing HTTP binary cache protocol, it would be nice to have two things:
|
It would also be nice to have a way to query the narinfos for the whole closure of a path, which -- while less efficient than the missing-store-paths approach -- still allows massively reducing the number of requests necessary for fetching a closure and can still be served by a static HTTP server. Something along the lines of having an optional |
Both cachix and attic implement their own push-related endpoints, that are, for good reason, incompatible with Nix's own HTTP binary cache store. This is not so great for interoperability.
What does the attic API look like? Is it compatible with the cachix API?
Would you be interested in working towards a native
HttpBinaryCacheStore
subclass in Nix?Some benefits of a store implementation:
nix copy
nix path-info --store
The text was updated successfully, but these errors were encountered: