fix: pass snowfall-config through to modules
This commit is contained in:
parent
7d7546913d
commit
66e1335803
14 changed files with 24 additions and 3 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{ core-inputs
|
||||
, user-inputs
|
||||
, snowfall-lib
|
||||
, snowfall-config
|
||||
}:
|
||||
|
||||
let
|
||||
|
|
@ -31,7 +32,7 @@ in
|
|||
# Type: Path -> Path
|
||||
# Usage: get-snowfall-file "systems"
|
||||
# result: "/user-source/snowfall-dir/systems"
|
||||
get-snowfall-file = path: "${user-inputs.snowfall.root or user-inputs.src}/${path}";
|
||||
get-snowfall-file = path: "${snowfall-config.root}/${path}";
|
||||
|
||||
# Get a file path relative to the this flake.
|
||||
# Type: Path -> Path
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue