inputRelativeAttrPath joins the package's corresponding flake input with its attribute path.
(pkg *devpkg.Package)
| 232 | // inputRelativeAttrPath joins the package's corresponding flake input with its |
| 233 | // attribute path. |
| 234 | func (g *glibcPatchFlake) inputRelativeAttrPath(pkg *devpkg.Package) (string, error) { |
| 235 | relAttrPath, err := g.systemRelativeAttrPath(pkg) |
| 236 | if err != nil { |
| 237 | return "", err |
| 238 | } |
| 239 | atrrPath := strings.Join([]string{"pkgs", pkg.FlakeInputName(), nix.System(), relAttrPath}, ".") |
| 240 | return atrrPath, nil |
| 241 | } |
| 242 | |
| 243 | // TODO: this only handles the first store path, but we should handle all of them |
| 244 | func (g *glibcPatchFlake) fetchClosureExpr(pkg *devpkg.Package) (string, error) { |
no test coverage detected