feat(submodules): add support for submodule exports

This commit is contained in:
Jaka Hudoklin 2019-10-10 13:00:52 +02:00
parent accd2dec1b
commit 9ca9c44c92
No known key found for this signature in database
GPG key ID: D1F18234B07BD6E2
4 changed files with 52 additions and 2 deletions

View file

@ -29,10 +29,16 @@ with lib;
default = [];
};
exports = mkOption {
description = "Attribute set of functions to export";
type = types.attrs;
default = {};
};
passthru = mkOption {
description = "Attribute set to passthru";
default = {};
type = types.attrs;
default = {};
};
args._empty = mkOption {};