Skip to content

Commit

Permalink
Pull up all-profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaste committed Aug 8, 2022
1 parent b89038c commit 5d5c665
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion nix/pkgs.nix
Expand Up @@ -84,7 +84,7 @@ final: prev: with final; {
supervisord-workbench-nix =
{ workbench ? pkgs.workbench, ... }@args: pkgs.callPackage ./workbench/supervisor.nix args;

all-profiles-json = (pkgs.callPackage ./workbench/supervisor.nix {}).all-profiles.JSON;
all-profiles-json = (workbench.all-profiles{ inherit (supervisord-workbench-nix) services-config; }).JSON;

# An instance of the workbench, specialised to the supervisord backend and a profile,
# that can be used with nix-shell or lorri.
Expand Down
5 changes: 1 addition & 4 deletions nix/workbench/supervisor.nix
Expand Up @@ -49,13 +49,10 @@ let
};
};

all-profiles =
workbench.all-profiles
{ inherit (backend) services-config; };
in
{
inherit cacheDir stateDir basePort;
inherit workbench;
inherit backend;
inherit all-profiles;
inherit services-config;
}

0 comments on commit 5d5c665

Please sign in to comment.