Skip to content

Commit

Permalink
Pull up attrset
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaste committed Aug 8, 2022
1 parent 20a5312 commit 0b8ec02
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion nix/workbench/default.nix
Expand Up @@ -80,8 +80,8 @@ let
{ inherit
pkgs
runWorkbenchJqOnly runJq workbench
backend
profileName;
inherit (backend) services-config;
};

value = genAttrs profile-names mkProfile;
Expand Down
11 changes: 5 additions & 6 deletions nix/workbench/profiles/default.nix
@@ -1,8 +1,8 @@
{ pkgs, cardanoLib
, runCommand, runWorkbenchJqOnly, runJq, workbench, writeText

## The backend is an attrset of AWS/supervisord-specific methods and parameters.
, backend
## An attrset of specific methods and parameters.
, services-config

, profileName
}:
Expand Down Expand Up @@ -33,20 +33,19 @@ let

inherit (pkgs.callPackage
./node-services.nix
{ inherit runJq profile;
inherit (backend) services-config;
{ inherit runJq services-config profile;
baseNodeConfig = cardanoLib.environments.testnet.nodeConfig;
})
node-services;

inherit (pkgs.callPackage
./generator-service.nix
{ inherit runJq profile; inherit (backend) services-config;})
{ inherit runJq services-config profile;})
generator-service;

inherit (pkgs.callPackage
./tracer-service.nix
{ inherit runJq profile; inherit (backend) services-config;})
{ inherit runJq services-config profile;})
tracer-service;
};

Expand Down

0 comments on commit 0b8ec02

Please sign in to comment.