EnsureNixpkgsPrefetched will prefetch flake for the nixpkgs registry for the package. This is an internal method, and should not be called directly.
(ctx context.Context, w io.Writer, pkgs []*Package)
| 526 | // EnsureNixpkgsPrefetched will prefetch flake for the nixpkgs registry for the package. |
| 527 | // This is an internal method, and should not be called directly. |
| 528 | func EnsureNixpkgsPrefetched(ctx context.Context, w io.Writer, pkgs []*Package) error { |
| 529 | for _, input := range pkgs { |
| 530 | if err := input.ensureNixpkgsPrefetched(w); err != nil { |
| 531 | return err |
| 532 | } |
| 533 | } |
| 534 | return nil |
| 535 | } |
| 536 | |
| 537 | // ensureNixpkgsPrefetched should be called via the public EnsureNixpkgsPrefetched. |
| 538 | // See function comment there. |
nothing calls this directly
no test coverage detected