~ehmry/sigil

2e04927455ea186f1cfe3ecc5ecf9b0bba13f0f4 — Emery Hemingway 4 months ago 37d905d
fixup remove subinits
1 files changed, 0 insertions(+), 11 deletions(-)

M nixos-modules/genode-init.nix
M nixos-modules/genode-init.nix => nixos-modules/genode-init.nix +0 -11
@@ 86,17 86,6 @@ in {

  config.genode.init = {

    # TODO: convert the subinits to children

    children = mapAttrs (name: value: {
      inherit (value) extraErisInputs extraInputs;
      configFile = pkgs.writeText "${name}.child.dhall" ''
        let Sigil = env:DHALL_SIGIL

        in  Sigil.Init.toChild ${value.configFile} Sigil.Init.Attributes.default
      '';
    }) cfg.subinits;

    configFile = let

      children = lib.mapAttrsToList