Merge pull request #312294 from drupol/erratum-fix-pr-311999

nixos/loki: use `cfg.package`
This commit is contained in:
Pol Dellaiera 2024-05-16 23:08:21 +02:00 committed by GitHub
commit 7a338b0feb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"