Skip to content

Commit

Permalink
Inline
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaste committed Aug 8, 2022
1 parent e9f630e commit 90abe48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 1 addition & 4 deletions nix/workbench/default.nix
Expand Up @@ -104,10 +104,7 @@ let
profileNix = ps.value."${profileName}"
or (throw "No such profile: ${profileName}; Known profiles: ${toString (__attrNames ps.value)}");

profile = materialise-profile
{ inherit profileNix;
backendProfile = backend.materialise-profile { inherit profileNix; };
};
profile = materialise-profile { inherit profileNix backend; };

topology = profile-topology { inherit profileNix profile; };

Expand Down
5 changes: 3 additions & 2 deletions nix/workbench/profile.nix
Expand Up @@ -2,10 +2,11 @@
with lib;

{ profileNix
, backendProfile ## Backend-specific results for forwarding
, backend ## Backend-specifics for forwarding
}:
pkgs.runCommand "workbench-profile-output-${profileNix.name}"
{ buildInputs = [];
backendConfigPath = backend.materialise-profile { inherit profileNix; };
nodeServices =
__toJSON
(flip mapAttrs profileNix.node-services
Expand Down Expand Up @@ -40,7 +41,7 @@ pkgs.runCommand "workbench-profile-output-${profileNix.name}"
mkdir $out
cp ${profileNix.JSON} $out/profile.json
cp ${profileNix.node-specs.JSON} $out/node-specs.json
cp ${backendProfile}/* $out
cp $backendConfigPath/* $out
cp $nodeServicesPath $out/node-services.json
cp $generatorServicePath $out/generator-service.json
cp $tracerServicePath $out/tracer-service.json
Expand Down

0 comments on commit 90abe48

Please sign in to comment.