mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
doc/values: Refer to base directory definition
This commit is contained in:
parent
020edac1ca
commit
038573279c
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@
|
||||||
Paths are the preferred type for referring to local files.
|
Paths are the preferred type for referring to local files.
|
||||||
This is thanks to the following properties:
|
This is thanks to the following properties:
|
||||||
- Path values are always in a canonical form, so that you are relieved from trailing slashes, `.` and `..`.
|
- Path values are always in a canonical form, so that you are relieved from trailing slashes, `.` and `..`.
|
||||||
- Path literals are automatically resolved relative to the location of the Nix expression file that contains them.
|
- Path literals are automatically resolved [relative to the file](@docroot@/glossary.md#gloss-base-directory).
|
||||||
- Path values are automatically copied into the Nix store when used in a string interpolation or concatenation.
|
- Path values are automatically copied into the Nix store when used in a string interpolation or concatenation.
|
||||||
- Tooling can recognize path literals and provide additional features, such as autocompletion, refactoring automation and jump-to-file.
|
- Tooling can recognize path literals and provide additional features, such as autocompletion, refactoring automation and jump-to-file.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue