fix: pass through snowfall configuration to mkLib
This commit is contained in:
parent
880d907905
commit
7d7546913d
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue