nixos/consul: fix package reference in service $PATH
This commit is contained in:
parent
db24d86dd8
commit
9c1f292155
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ in
|
|||
ExecStop = "${cfg.package}/bin/consul leave";
|
||||
});
|
||||
|
||||
path = with pkgs; [ iproute2 gnugrep gawk consul ];
|
||||
path = with pkgs; [ iproute2 gawk cfg.package ];
|
||||
preStart = let
|
||||
family = if cfg.forceAddrFamily == "ipv6" then
|
||||
"-6"
|
||||
|
|
Loading…
Reference in a new issue