summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default.nix13
1 files changed, 10 insertions, 3 deletions
diff --git a/default.nix b/default.nix
index 52f4000..1c699c2 100644
--- a/default.nix
+++ b/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;
+}