-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
no-absolute-path-literals experimental feature #8738
Copy link
Copy link
Closed
Labels
featureFeature request or proposalFeature request or proposalidea approvedThe given proposal has been discussed and approved by the Nix team. An implementation is welcome.The given proposal has been discussed and approved by the Nix team. An implementation is welcome.languageThe Nix expression language; parser, interpreter, primops, evaluation, etcThe Nix expression language; parser, interpreter, primops, evaluation, etc
Metadata
Metadata
Assignees
Labels
featureFeature request or proposalFeature request or proposalidea approvedThe given proposal has been discussed and approved by the Nix team. An implementation is welcome.The given proposal has been discussed and approved by the Nix team. An implementation is welcome.languageThe Nix expression language; parser, interpreter, primops, evaluation, etcThe Nix expression language; parser, interpreter, primops, evaluation, etc
Fields
Give feedbackNo fields configured for issues without a type.
Is your feature request related to a problem? Please describe.
Path values are unfit for use as a "path string" replacement because for example
tries to add
/hometo the store.In my experience, the only appropriate use is for referencing source files and locations within a repository. These path values are all created with relative path literals.
Describe the solution you'd like
Add an experimental feature flag or setting that disables absolute path literals such as
/.and/homeor/var/lib/foo.Describe alternatives you've considered
/..Additional context
Priorities
Add 👍 to issues you find important.