fix: pass through snowfall configuration to mkLib

This commit is contained in:
Jake Hamilton 2023-07-01 17:00:35 -07:00
parent 880d907905
commit 7d7546913d
No known key found for this signature in database
GPG key ID: 9762169A1B35EA68

View file

@ -27,10 +27,10 @@
# A convenience wrapper to create the library and then call `lib.mkFlake`.
# Usage: mkFlake { inherit inputs; src = ./.; ... }
# result: <flake-outputs>
mkFlake = flake-and-lib-options@{ inputs, src, ... }:
mkFlake = flake-and-lib-options@{ inputs, src, snowfall ? { }, ... }:
let
lib = mkLib {
inherit inputs src;
inherit inputs src snowfall;
};
flake-options = builtins.removeAttrs flake-and-lib-options [ "inputs" "src" ];
in