-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
"Nix Pointer" #13140
Copy link
Copy link
Open
Labels
UXThe way in which users interact with Nix. Higher level than UI.The way in which users interact with Nix. Higher level than UI.featureFeature request or proposalFeature request or proposalnew-cliRelating to the "nix" commandRelating to the "nix" command
Metadata
Metadata
Assignees
Labels
UXThe way in which users interact with Nix. Higher level than UI.The way in which users interact with Nix. Higher level than UI.featureFeature request or proposalFeature request or proposalnew-cliRelating to the "nix" commandRelating to the "nix" command
Fields
Give feedbackNo fields configured for issues without a type.
Is your feature request related to a problem?
We tend to use attribute paths to refer to attributes, like
packages.x86_64-linux.default, and we do so in the expression language, but also outside of it with an ad hoc syntax. Problems:%?). I assume all symbols are valid and escaping attribute paths in URLs etc should always be done.Proposed solution
Formalize "Nix Pointer", analogous to JSON pointer, but with a syntax that aligns with our conventions.
/but.for selection (breaking from JSON pointer and XPointer)v.Alternative solutions
Additional context
We may want to bring a syntax for list selection into the Nix expression language so that all Nix pointers are valid expressions when prefixed with
v.or some similar rule.Checklist
Add 👍 to issues you find important.