mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +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…
Reference in a new issue