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:
parent
6b1fb96a16
commit
c074dab95f
1 changed files with 10 additions and 3 deletions
13
default.nix
13
default.nix
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue