Add 'trivionomicon/' from commit 'bf39923f9c'

git-subtree-dir: trivionomicon
git-subtree-mainline: 98a32736d6
git-subtree-split: bf39923f9c
This commit is contained in:
Fabian Montero 2025-08-25 09:07:16 -06:00
commit f585491296
49 changed files with 2083 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{
lib,
doctrine,
pkgs,
}: let
close = vars: f: args:
(
if builtins.isPath f
then import f
else f
)
(args // vars);
closeLib = close {inherit lib;};
closeFull = close {inherit lib pkgs doctrine;};
in
{
inherit close;
importAll = closeLib ./import-all.nix;
}
// lib.optionalAttrs (doctrine.namespace != null) {
mkModule = closeFull ./mk-module.nix;
}