Skip to content

Commit 3667881

Browse files
authored
Add a default value to .exec.working_dir (#108)
Based on the default value of `.settings.processes.<name>.working_dir`
1 parent 3b0318d commit 3667881

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nix/process-compose/settings/probe.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ in
7979
'';
8080
};
8181
options.working_dir = mkOption {
82-
type = types.str;
82+
type = types.nullOr types.str;
83+
default = null;
8384
example = "./directory";
8485
description = ''
8586
Directory in which to execute the exec probe command.

0 commit comments

Comments
 (0)