Skip to content

Commit

Permalink
Clean
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaste committed Aug 8, 2022
1 parent 90abe48 commit 624c526
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nix/workbench/profile.nix
Expand Up @@ -6,6 +6,8 @@ with lib;
}:
pkgs.runCommand "workbench-profile-output-${profileNix.name}"
{ buildInputs = [];
profileConfigJsonPath = profileNix.JSON;
nodeSpecsJsonPath = profileNix.node-specs.JSON;
backendConfigPath = backend.materialise-profile { inherit profileNix; };
nodeServices =
__toJSON
Expand Down Expand Up @@ -39,8 +41,8 @@ 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 $profileConfigJsonPath $out/profile.json
cp $nodeSpecsJsonPath $out/node-specs.json
cp $backendConfigPath/* $out
cp $nodeServicesPath $out/node-services.json
cp $generatorServicePath $out/generator-service.json
Expand Down

0 comments on commit 624c526

Please sign in to comment.