Skip to content

Commit

Permalink
Add allStatic output
Browse files Browse the repository at this point in the history
  • Loading branch information
jhbertra committed Sep 27, 2023
1 parent cf30c3a commit b9d7e09
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nix/per-system-outputs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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;


Expand Down

0 comments on commit b9d7e09

Please sign in to comment.