Skip to content

Commit

Permalink
Pull attr set up
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaste committed Aug 8, 2022
1 parent 282bcb4 commit 65c0ad1
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions nix/workbench/supervisor.nix
Expand Up @@ -27,22 +27,19 @@ let
pkgs.runCommand "workbench-profile-outputs-${profileNix.name}-supervisord" {}
''
mkdir $out
cp ${supervisord.mkSupervisorConf profileNix} $out/supervisor.conf
cp ${mkSupervisorConf profileNix} $out/supervisor.conf
'';

## Backend-specific Nix bits:
supervisord =
{
## mkSupervisorConf :: Profile -> SupervisorConf
mkSupervisorConf =
profile:
pkgs.callPackage ./supervisor-conf.nix
{ inherit (profile) node-services generator-service;
inherit
pkgs lib stateDir
basePort
extraSupervisorConfig;
};
## mkSupervisorConf :: Profile -> SupervisorConf
mkSupervisorConf =
profile:
pkgs.callPackage ./supervisor-conf.nix
{ inherit (profile) node-services generator-service;
inherit
pkgs lib stateDir
basePort
extraSupervisorConfig;
};
};

Expand Down

0 comments on commit 65c0ad1

Please sign in to comment.