Merge pull request #312294 from drupol/erratum-fix-pr-311999
nixos/loki: use `cfg.package`
This commit is contained in:
commit
7a338b0feb
@ -101,7 +101,7 @@ in {
|
||||
else cfg.configFile;
|
||||
validateConfig = file:
|
||||
pkgs.runCommand "validate-loki-conf" {
|
||||
nativeBuildInputs = [ pkgs.grafana-loki ];
|
||||
nativeBuildInputs = [ cfg.package ];
|
||||
} ''
|
||||
loki -verify-config -config.file "${file}"
|
||||
ln -s "${file}" "$out"
|
||||
|
Loading…
Reference in New Issue
Block a user