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/devpkg: move flake code into new nix/flake package (#1789)
Move `devpkg.FlakeRef` and `devpkg.FlakeInstallable` into a standalone
`go.jetpack.io/devbox/nix/flake` package. This allows two things:
- The backend can import and use these types because they're no longer
internal.
- The search client can use them without creating an import cycle.
Note that the types were renamed, which messed up git's ability to
detect this is a file move. The summary of changes is:
- `FlakeRef` → `flake.Ref`
- `ParseFlakeRef` → `flake.ParseRef`
- `FlakeInstallable` → `flake.Installable`
- `ParseFlakeInstallable` → `flake.ParseInstallable`
- `FlakeTypeIndirect`, `FlakeTypePath`, ... → `flake.TypeIndirect`,
`flake.TypePath`, ...
0 commit comments