We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea158ab commit f81a2c1Copy full SHA for f81a2c1
nixos/modules/services/logging/vector.nix
@@ -27,7 +27,7 @@ in
27
28
config = lib.mkIf cfg.enable {
29
# for cli usage
30
- environment.systemPackages = [ pkgs.vector ];
+ environment.systemPackages = [ cfg.package ];
31
32
systemd.services.vector = {
33
description = "Vector event and log aggregator";
@@ -40,7 +40,7 @@ in
40
conf = format.generate "vector.toml" cfg.settings;
41
validateConfig = file:
42
pkgs.runCommand "validate-vector-conf" {
43
- nativeBuildInputs = [ pkgs.vector ];
+ nativeBuildInputs = [ cfg.package ];
44
} ''
45
vector validate --no-environment "${file}"
46
ln -s "${file}" "$out"
0 commit comments