You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
internal/searcher,lock: use /v2/resolve endpoint (#1790)
Add a `DEVBOX_FEATURE_RESOLVE_V2` feature flag that enables the new
`/v2/resolve` endpoint when resolving packages. The new endpoint unlocks
a couple of improvements:
- We no longer need to call `nix store path-from-hash-part` (which
incurs a network request) for every `fetchClosure` package. The full
store path is returned directly by the API.
- The resolved package response includes store paths for all known
outputs, allowing us to support `fetchClosure` for non-default outputs
as well.
- The new endpoint returns a flake installable rather than a nixpkgs
commit hash and attribute path. This gives more flexibility, allowing
the API to potentially return packages from sources other than nixpkgs.
0 commit comments