mirror of
https://github.com/mjallen18/snowfall-lib.git
synced 2026-04-18 09:05:58 -05:00
fix: pass through snowfall configuration to mkLib
This commit is contained in:
@@ -27,10 +27,10 @@
|
|||||||
# A convenience wrapper to create the library and then call `lib.mkFlake`.
|
# A convenience wrapper to create the library and then call `lib.mkFlake`.
|
||||||
# Usage: mkFlake { inherit inputs; src = ./.; ... }
|
# Usage: mkFlake { inherit inputs; src = ./.; ... }
|
||||||
# result: <flake-outputs>
|
# result: <flake-outputs>
|
||||||
mkFlake = flake-and-lib-options@{ inputs, src, ... }:
|
mkFlake = flake-and-lib-options@{ inputs, src, snowfall ? { }, ... }:
|
||||||
let
|
let
|
||||||
lib = mkLib {
|
lib = mkLib {
|
||||||
inherit inputs src;
|
inherit inputs src snowfall;
|
||||||
};
|
};
|
||||||
flake-options = builtins.removeAttrs flake-and-lib-options [ "inputs" "src" ];
|
flake-options = builtins.removeAttrs flake-and-lib-options [ "inputs" "src" ];
|
||||||
in
|
in
|
||||||
|
|||||||
Reference in New Issue
Block a user