GetOutputNames returns the names of the nix package outputs. Outputs can be specified in devbox.json package fields or as part of the flake reference.
()
| 701 | // GetOutputNames returns the names of the nix package outputs. Outputs can be |
| 702 | // specified in devbox.json package fields or as part of the flake reference. |
| 703 | func (p *Package) GetOutputNames() ([]string, error) { |
| 704 | if p.IsRunX() { |
| 705 | return []string{}, nil |
| 706 | } |
| 707 | |
| 708 | return p.outputs.GetNames(p) |
| 709 | } |
| 710 | |
| 711 | // GetOutputsWithCache return outputs and their cache URIs if the package is in the binary cache. |
| 712 | // n+1 WARNING: This will make an http request if FillNarInfoCache is not called before. |
no test coverage detected