mirror of
https://github.com/mjallen18/snowfall-lib.git
synced 2026-04-18 17:15:57 -05:00
fix: pass snowfall-config through to modules
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user