mirror of
https://git.sr.ht/~goorzhel/turboprop
synced 2024-12-14 11:37:37 +00:00
Give into recursion
This commit is contained in:
parent
e4f1c791cf
commit
a5ab6192cb
1 changed files with 2 additions and 8 deletions
|
@ -1,19 +1,13 @@
|
|||
{
|
||||
kubelib,
|
||||
pkgs,
|
||||
}: let
|
||||
parseYAMLsFile = p: kubelib.fromYAML (builtins.readFile p);
|
||||
|
||||
# This avoids making the output attrset recursive, which
|
||||
# I avoid in large files.
|
||||
}: rec {
|
||||
builders = import ./builders.nix {inherit kubelib pkgs;};
|
||||
fetchers = import ./fetchers.nix {inherit kubelib pkgs;};
|
||||
in {
|
||||
app-template = import ./app-template {inherit builders fetchers pkgs;};
|
||||
inherit builders fetchers;
|
||||
|
||||
parseYAMLsFile = p: kubelib.fromYAML (builtins.readFile p);
|
||||
parseYAMLFile = p: builtins.head (parseYAMLsFile p);
|
||||
inherit parseYAMLsFile;
|
||||
|
||||
liftDefault = _: mod:
|
||||
# haumea.lib.transformers.liftDefault uses pkgs.lib.attrsets.unionOfDisjoint,
|
||||
|
|
Loading…
Reference in a new issue