Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename "input path" #12098

Open
2 tasks
edolstra opened this issue Dec 23, 2024 · 1 comment
Open
2 tasks

Rename "input path" #12098

edolstra opened this issue Dec 23, 2024 · 1 comment

Comments

@edolstra
Copy link
Member

edolstra commented Dec 23, 2024

Describe the bug

The "input path" terminology is confusing because they're not paths (i.e. SourcePaths or file system paths), they're sequences of attribute names (like dwarffs.nixpkgs) denoting a traversal through the flake input graph.

Suggestions:

  • Input chain
  • Input attribute path
  • ...

Steps To Reproduce

Expected behavior

Metadata

Additional context

Checklist


Add 👍 to issues you find important.

@abathur
Copy link
Member

abathur commented Dec 23, 2024

It isn't a top-level definition of its own, but the doc entry for the attribute selection operator does already define an attribute path or attrpath as a dot-separated list of attribute names.

https://nix.dev/manual/nix/2.23/language/operators#attribute-selection

If attrpath were promoted to a readily linkable term somewhere, it might suffice to change from "input path" to "input attrpath"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To triage
Development

No branches or pull requests

2 participants