Skip to content

Commit

Permalink
Revert "add detached CLI option (#87)"
Browse files Browse the repository at this point in the history
This reverts commit b590e39.
  • Loading branch information
srid authored Nov 8, 2024
1 parent b590e39 commit d04a586
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions nix/process-compose/cli.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ in
default = { };
type = types.submodule {
options = {
detached = mkOption {
type = types.bool;
default = false;
description = "Pass --detached to process-compose";
};
log-file = mkOption {
type = types.nullOr types.str;
default = null;
Expand Down Expand Up @@ -85,8 +80,7 @@ in
readOnly = true;
description = "The final CLI arguments we will pass to process-compose binary.";
default = let o = config.cli.options; in lib.escapeShellArgs (
(lib.optionals o.detached [ "--detached" ])
++ (lib.optionals (o.log-file != null) [ "--log-file" o.log-file ])
(lib.optionals (o.log-file != null) [ "--log-file" o.log-file ])
++ (lib.optionals o.no-server [ "--no-server" ])
++ (lib.optionals o.ordered-shutdown [ "--ordered-shutdown" ])
++ (lib.optionals (o.port != null) [ "--port" "${builtins.toString o.port}" ])
Expand Down

0 comments on commit d04a586

Please sign in to comment.