Skip to content

Commit

Permalink
Remove unused variable/argument
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaste committed Aug 8, 2022
1 parent fe88037 commit 8b87b2c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion nix/workbench/default.nix
Expand Up @@ -98,7 +98,7 @@ let
profile-topology-genesis = import ./genesis.nix { inherit pkgs; };

with-profile =
{ backend, envArgs, profileName }:
{ backend, profileName }:
let
ps = all-profiles { inherit backend; };

Expand Down
6 changes: 2 additions & 4 deletions nix/workbench/docker-run.nix
Expand Up @@ -18,11 +18,9 @@ let
inherit (docker-workbench) workbench backend cacheDir stateDir basePort;

with-docker-profile =
{ envArgsOverride ? {} }:
{ envArgsOverride ? {} }: ## TODO: envArgsOverride is not used!
workbench.with-profile
{ inherit backend profileName;
envArgs = docker-workbench.env-args-base // envArgsOverride;
};
{ inherit backend profileName; };

inherit
(with-docker-profile {})
Expand Down
6 changes: 2 additions & 4 deletions nix/workbench/supervisor-run.nix
Expand Up @@ -18,11 +18,9 @@ let
inherit (supervisord-workbench) workbench backend cacheDir stateDir basePort;

with-supervisord-profile =
{ envArgsOverride ? {} }:
{ envArgsOverride ? {} }: ## TODO: envArgsOverride is not used!
workbench.with-profile
{ inherit backend profileName;
envArgs = supervisord-workbench.env-args-base // envArgsOverride;
};
{ inherit backend profileName; };

inherit
(with-supervisord-profile {})
Expand Down

0 comments on commit 8b87b2c

Please sign in to comment.