featuregood first issueidea approved
Repository-Metriken
- Stars
- (9.803 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 4T 12h) (86 gemergte PRs in 30 T)
Beschreibung
Is your feature request related to a problem?
Symlinks in nixpkgs lib.fileset are causing issues: https://github.com/NixOS/nixpkgs/issues/393845 and this function would help resolve it.
Proposed solution
Add a a builtins.canonicalPath with the same behavior as the realpath command, as suggested by @infinisil .
Alternative solutions
Additional context
Possibly somewhat related: https://github.com/NixOS/nix/issues/2109 (but this feature request would only expose a new nix function, not change anything else inside the nixcpp code itself.
Checklist
- checked latest Nix manual (source)
- checked open feature issues and pull requests for possible duplicates
Add :+1: to issues you find important.