From b9d7e09ee003b8da9adda4f955ad43fdcda539ad Mon Sep 17 00:00:00 2001 From: Jamie Bertram Date: Wed, 27 Sep 2023 09:10:08 -0400 Subject: [PATCH] Add allStatic output --- nix/per-system-outputs.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nix/per-system-outputs.nix b/nix/per-system-outputs.nix index de57dd4740..c5fab48e94 100644 --- a/nix/per-system-outputs.nix +++ b/nix/per-system-outputs.nix @@ -8,6 +8,7 @@ let staticPkgs = inputs'.self.packages.marlowe-apps-exe-marlowe-finder.project.projectCross.musl64.hsPkgs; in +rec { operables = nix.marlowe-cardano.deploy.operables; @@ -22,6 +23,11 @@ in staticPkgs.marlowe-runtime-cli.components.exes ); + allStatic = pkgs.runCommand "all-statics" { } '' + mkdir -p $out + ${l.concatMapStringsSep "\n" (drv: "cp ${drv}/bin/* $out") (l.attrValues static)} + ''; + nomadTasks = nix.marlowe-cardano.deploy.nomadTasks;