-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Describe a notion of root (or similar) for source tree abstraction paths #8718
Copy link
Copy link
Open
Labels
Description
Problem
Currently Nix only knows one root, /., but that changes with lazy trees.
Proposal
Document how paths work, and explain that multiple roots exists.
A root could be defined as any path that doesn't have a parent.
- Or has itself as parent if you want to define it that way (dirOf does...)
Also note that a file may be a root - Unless that possibility is removed. We might always create an unnecessary directory around such files.
TODO
- Have lazy trees
- Document path root, give it an anchor
- Refer here from nixpkgs path library docs.
Checklist
- checked latest Nix manual (source)
- checked open documentation issues and pull requests for possible duplicates
Priorities
Add 👍 to issues you find important.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Fields
Give feedbackNo fields configured for issues without a type.