From c074dab95ffa2fc31a15b6ade1d14009e2087a29 Mon Sep 17 00:00:00 2001 From: pennae Date: Tue, 26 Sep 2023 01:06:15 +0200 Subject: 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. --- default.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'default.nix') 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; +} -- cgit v1.2.3