forked from fabian/nix_config
trivionomicon/doctrine: add support for overriding the prefix
This commit is contained in:
parent
c651b8c470
commit
7daa3d91b3
3 changed files with 28 additions and 18 deletions
|
@ -11,14 +11,17 @@
|
|||
requires ? [],
|
||||
prefix ? doctrine.prefix,
|
||||
namespace ? doctrine.namespace,
|
||||
passthru ? {},
|
||||
}: let
|
||||
optionsSet = import options {
|
||||
inherit config lib pkgs cfg name doctrine;
|
||||
};
|
||||
optionsSet = import options (passthru
|
||||
// {
|
||||
inherit config lib pkgs cfg name doctrine;
|
||||
});
|
||||
|
||||
configSet = import configFiles.${namespace} {
|
||||
inherit config lib pkgs doctrine cfg;
|
||||
};
|
||||
configSet = import configFiles.${namespace} (passthru
|
||||
// {
|
||||
inherit config lib pkgs doctrine cfg;
|
||||
});
|
||||
|
||||
configFiles = lib.filterAttrs (k: v: v != null) {
|
||||
inherit sys hm;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue