combine all scripts into a single environment

this makes it easier to generate a bunch of scripts from a single
configuration without having to deal with multiple result links.
This commit is contained in:
pennae 2023-09-26 01:06:15 +02:00
parent 6b1fb96a16
commit c074dab95f

View file

@ -14,6 +14,13 @@ let
};
in
pkgs.lib.mapAttrs
(_: dev: dev.build.deploy)
evaluated.config.openwrt
pkgs.buildEnv rec {
name = "dewclaw-env";
paths = builtins.attrValues passthru.targets;
passthru.targets =
pkgs.lib.mapAttrs
(_: dev: dev.build.deploy)
evaluated.config.openwrt;
}