Skip to content

Commit

Permalink
Pass arguments to devenv up through to implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
jmackie committed May 12, 2023
1 parent c908963 commit eae0025
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/modules/processes.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,21 @@ let

procfileScripts = {
honcho = ''
${pkgs.honcho}/bin/honcho start -f ${config.procfile} --env ${config.procfileEnv} &
${pkgs.honcho}/bin/honcho start -f ${config.procfile} --env ${config.procfileEnv} "$@" &
'';

overmind = ''
OVERMIND_ENV=${config.procfileEnv} ${pkgs.overmind}/bin/overmind start --root ${config.env.DEVENV_ROOT} --procfile ${config.procfile} &
OVERMIND_ENV=${config.procfileEnv} ${pkgs.overmind}/bin/overmind start --root ${config.env.DEVENV_ROOT} --procfile ${config.procfile} "$@" &
'';

process-compose = ''
${pkgs.process-compose}/bin/process-compose --config ${config.procfile} \
--port ''${PC_HTTP_PORT:-${toString config.process.process-compose.port}} \
--tui=''${PC_TUI_ENABLED:-${toString config.process.process-compose.tui}} &
--tui=''${PC_TUI_ENABLED:-${toString config.process.process-compose.tui}} up "$@" &
'';

hivemind = ''
${pkgs.hivemind}/bin/hivemind --print-timestamps ${config.procfile} &
${pkgs.hivemind}/bin/hivemind --print-timestamps "$@" ${config.procfile} &
'';
};
in
Expand Down

0 comments on commit eae0025

Please sign in to comment.