Skip to content

Commit 0515891

Browse files
authored
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`, ...
1 parent f48959d commit 0515891

File tree

4 files changed

+524
-522
lines changed

4 files changed

+524
-522
lines changed

0 commit comments

Comments
 (0)