Skip to content

Commit

Permalink
chore: Add comment explaining this approach
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Oct 21, 2024
1 parent 629a5c5 commit e9cbfb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nix/process-compose/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ in
text = ''
${config.cli.preHook}
# IMPORTANT: We **must** use environment variables for everything but non-global options, otherwise the use of sub-command specific CLI options will prevent the user from passing their own subcommands reliably.
set -x
${config.cli.outputs.environment} PC_CONFIG_FILES=${configFile} process-compose ${config.cli.outputs.options} "$@"
set +x
Expand Down

0 comments on commit e9cbfb7

Please sign in to comment.