mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
Merge pull request #172871 from waldheinz/prometheus-no-plugins
prometheus: fix build when all service discovery plugins are disabled
This commit is contained in:
commit
f34acbd2b1
@ -55,6 +55,7 @@ buildGoModule rec {
|
||||
|
||||
# Enable only select service discovery to shrink binaries.
|
||||
(
|
||||
true # prevent bash syntax error when all plugins are disabled
|
||||
${lib.optionalString (enableAWS)
|
||||
"echo - github.com/prometheus/prometheus/discovery/aws"}
|
||||
${lib.optionalString (enableAzure)
|
||||
|
Loading…
Reference in New Issue
Block a user