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
|
@ -1,12 +1,16 @@
|
|||
{
|
||||
lib ? pkgs.lib,
|
||||
pkgs,
|
||||
namespace,
|
||||
prefix ? "trivium",
|
||||
namespace ? null,
|
||||
}: let
|
||||
doctrine = {
|
||||
lib = import ./lib {inherit lib pkgs doctrine;};
|
||||
prefix = "trivium";
|
||||
inherit namespace;
|
||||
};
|
||||
inherit (pkgs) lib;
|
||||
doctrine =
|
||||
{
|
||||
lib = import ./lib {inherit lib pkgs doctrine;};
|
||||
inherit namespace prefix;
|
||||
}
|
||||
// lib.optionalAttrs (pkgs != null) {
|
||||
inherit pkgs;
|
||||
};
|
||||
in
|
||||
doctrine
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue