mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
nixos/hound: add .json extension to the generated config file
It is a JSON file, why not show it?
(cherry picked from commit 4460c6bfe9
)
This commit is contained in:
parent
f54ca85ca8
commit
ea1349b6a7
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ let
|
|||
cfg = config.services.hound;
|
||||
settingsFormat = pkgs.formats.json { };
|
||||
houndConfigFile = pkgs.writeTextFile {
|
||||
name = "hound-config";
|
||||
name = "hound-config.json";
|
||||
text = builtins.toJSON cfg.settings;
|
||||
checkPhase = ''
|
||||
${cfg.package}/bin/houndd -check-conf -conf $out
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue