Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: b20fdff5214e760205f7fccbce6848c545f12b0b
https://github.com/NixOS/nixpkgs/commit/b20fdff5214e760205f7fccbce6848c545f12b0b
Author: Bjørn Forsman <[email protected]>
Date: 2016-12-25 (Sun, 25 Dec 2016)
Changed paths:
M nixos/modules/services/monitoring/prometheus/default.nix
Log Message:
-----------
nixos/prometheus: make scrapeConfigs.*.static_configs.*.labels optional
...by providing a default value of "no labels" (an empty attrset).
Without this change we get
$ nixos-rebuild test -I nixpkgs=.
building Nix...
building the system configuration...
error: The option `services.prometheus.scrapeConfigs.[definition 1-entry
1].static_configs.[definition 1-entry 1].labels' is used but not defined.
which is unneeded, because labels _are_ optional.
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits