fix: use strings for calculated paths
This commit is contained in:
parent
34c1697a53
commit
a1064c4b69
1 changed files with 6 additions and 6 deletions
|
|
@ -35,8 +35,8 @@ in {
|
||||||
## ```nix
|
## ```nix
|
||||||
## "/user-source/systems"
|
## "/user-source/systems"
|
||||||
## ```
|
## ```
|
||||||
#@ Path -> Path
|
#@ String -> String
|
||||||
get-file = path: user-inputs.src + "/${path}";
|
get-file = path: "${user-inputs.src}/${path}";
|
||||||
|
|
||||||
## Get a file path relative to the user's snowfall directory.
|
## Get a file path relative to the user's snowfall directory.
|
||||||
## Example Usage:
|
## Example Usage:
|
||||||
|
|
@ -47,8 +47,8 @@ in {
|
||||||
## ```nix
|
## ```nix
|
||||||
## "/user-source/snowfall-dir/systems"
|
## "/user-source/snowfall-dir/systems"
|
||||||
## ```
|
## ```
|
||||||
#@ Path -> Path
|
#@ String -> String
|
||||||
get-snowfall-file = path: snowfall-config.root + "/${path}";
|
get-snowfall-file = path: "${snowfall-config.root}/${path}";
|
||||||
|
|
||||||
## Get a file path relative to the this flake.
|
## Get a file path relative to the this flake.
|
||||||
## Example Usage:
|
## Example Usage:
|
||||||
|
|
@ -59,8 +59,8 @@ in {
|
||||||
## ```nix
|
## ```nix
|
||||||
## "/user-source/systems"
|
## "/user-source/systems"
|
||||||
## ```
|
## ```
|
||||||
#@ Path -> Path
|
#@ String -> String
|
||||||
internal-get-file = path: core-inputs.src + "/${path}";
|
internal-get-file = path: "${core-inputs.src}/${path}";
|
||||||
|
|
||||||
## Safely read from a directory if it exists.
|
## Safely read from a directory if it exists.
|
||||||
## Example Usage:
|
## Example Usage:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue