Skip to content

Commit

Permalink
nixos/grafana: create plugins directory in provisioning
Browse files Browse the repository at this point in the history
The error message was:
msg="Failed to read plugin provisioning files from directory" path=/nix/store/gs2cy8n6ndsa1f7msf7ndl8f85xl1pzg-grafana-provisioning/plugins
 error="open /nix/store/gs2cy8n6ndsa1f7msf7ndl8f85xl1pzg-grafana-provisioning/plugins: no such file or directory"

(cherry picked from commit cff247a)
  • Loading branch information
SuperSandro2000 authored and github-actions[bot] committed Dec 9, 2023
1 parent 0585f92 commit 8097628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/monitoring/grafana.nix
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ let
fi
'';
provisionConfDir = pkgs.runCommand "grafana-provisioning" { nativeBuildInputs = [ pkgs.xorg.lndir ]; } ''
mkdir -p $out/{datasources,dashboards,notifiers,alerting}
mkdir -p $out/{alerting,datasources,dashboards,notifiers,plugins}
${ln { src = datasourceFileOrDir; dir = "datasources"; filename = "datasource"; }}
${ln { src = dashboardFileOrDir; dir = "dashboards"; filename = "dashboard"; }}
${ln { src = notifierFileOrDir; dir = "notifiers"; filename = "notifier"; }}
Expand Down

0 comments on commit 8097628

Please sign in to comment.