summary refs log tree commit diff
diff options
context:
space:
mode:
authorIndeedNotJames <git@indeednotjames.com>2023-04-12 03:50:48 +0200
committerIndeedNotJames <git@indeednotjames.com>2023-04-21 03:46:54 +0200
commit9c1f292155efcefc147186d76921874a16caee01 (patch)
tree9d52b37322b87ae5f40fc53ff6f07b60c97388c5
parentdb24d86dd8a4769c50d6b7295e81aa280cd93f35 (diff)
downloadnixpkgs-9c1f292155efcefc147186d76921874a16caee01.tar
nixpkgs-9c1f292155efcefc147186d76921874a16caee01.tar.gz
nixpkgs-9c1f292155efcefc147186d76921874a16caee01.tar.bz2
nixpkgs-9c1f292155efcefc147186d76921874a16caee01.tar.lz
nixpkgs-9c1f292155efcefc147186d76921874a16caee01.tar.xz
nixpkgs-9c1f292155efcefc147186d76921874a16caee01.tar.zst
nixpkgs-9c1f292155efcefc147186d76921874a16caee01.zip
nixos/consul: fix package reference in service `$PATH`
-rw-r--r--nixos/modules/services/networking/consul.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/consul.nix b/nixos/modules/services/networking/consul.nix
index f1c36138be3..4a9d0f4c3d1 100644
--- a/nixos/modules/services/networking/consul.nix
+++ b/nixos/modules/services/networking/consul.nix
@@ -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"