mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 04:57:56 +03:00
nixos/consul: fix package reference in service $PATH
This commit is contained in:
parent
db24d86dd8
commit
9c1f292155
@ -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 New Issue
Block a user