mirror of
https://github.com/NixOS/nix
synced 2025-06-25 19:01:16 +02:00
flakes.md: Fix indentation that broke the list
This commit is contained in:
parent
5d03ef9caf
commit
8b1fb92a0c
1 changed files with 5 additions and 5 deletions
|
@ -214,12 +214,12 @@ Currently the `type` attribute can be one of the following:
|
||||||
hand, a flake in the `/foo` directory of a tree can use
|
hand, a flake in the `/foo` directory of a tree can use
|
||||||
`path:../bar` to refer to the flake in `/bar`.
|
`path:../bar` to refer to the flake in `/bar`.
|
||||||
|
|
||||||
Path inputs can be specified with path values in `flake.nix`. Path values are a syntax for `path` inputs, and they are converted by
|
Path inputs can be specified with path values in `flake.nix`. Path values are a syntax for `path` inputs, and they are converted by
|
||||||
1. resolving them into relative paths, relative to the base directory of `flake.nix`
|
1. resolving them into relative paths, relative to the base directory of `flake.nix`
|
||||||
2. escaping URL characters (refer to IETF RFC?)
|
2. escaping URL characters (refer to IETF RFC?)
|
||||||
3. prepending `path:`
|
3. prepending `path:`
|
||||||
|
|
||||||
Note that the allowed syntax for path values in flake `inputs` may be more restrictive than general Nix, so you may need to use `path:` if your path contains certain special characters. See [Path literals](@docroot@/language/syntax.md#path-literal)
|
Note that the allowed syntax for path values in flake `inputs` may be more restrictive than general Nix, so you may need to use `path:` if your path contains certain special characters. See [Path literals](@docroot@/language/syntax.md#path-literal)
|
||||||
|
|
||||||
Note that if you omit `path:`, relative paths must start with `.` to
|
Note that if you omit `path:`, relative paths must start with `.` to
|
||||||
avoid ambiguity with registry lookups (e.g. `nixpkgs` is a registry
|
avoid ambiguity with registry lookups (e.g. `nixpkgs` is a registry
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue