From 9c1f292155efcefc147186d76921874a16caee01 Mon Sep 17 00:00:00 2001 From: IndeedNotJames Date: Wed, 12 Apr 2023 03:50:48 +0200 Subject: [PATCH] nixos/consul: fix package reference in service `$PATH` --- nixos/modules/services/networking/consul.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"