You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/nix/flake.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -214,12 +214,12 @@ Currently the `type` attribute can be one of the following:
214
214
hand, a flake in the `/foo` directory of a tree can use
215
215
`path:../bar` to refer to the flake in `/bar`.
216
216
217
-
Path inputs can be specified with path values in `flake.nix`. Path values are a syntax for `path` inputs, and they are converted by
218
-
1. resolving them into relative paths, relative to the base directory of `flake.nix`
219
-
2. escaping URL characters (refer to IETF RFC?)
220
-
3. prepending `path:`
217
+
Path inputs can be specified with path values in `flake.nix`. Path values are a syntax for `path` inputs, and they are converted by
218
+
1. resolving them into relative paths, relative to the base directory of `flake.nix`
219
+
2. escaping URL characters (refer to IETF RFC?)
220
+
3. prepending `path:`
221
221
222
-
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)
222
+
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)
223
223
224
224
Note that if you omit `path:`, relative paths must start with `.` to
225
225
avoid ambiguity with registry lookups (e.g. `nixpkgs` is a registry
0 commit comments