diff options
author | midchildan <git@midchildan.org> | 2022-02-14 05:19:16 +0900 |
---|---|---|
committer | midchildan <git@midchildan.org> | 2022-03-12 15:10:39 +0900 |
commit | 697ea7c69cf260f2a6719b212d97ff7d07090a66 (patch) | |
tree | d8222f3641fbc42733ec034724841e5667b50ac8 | |
parent | 561c0c28519c7b378078d5ee510c6727fb310d28 (diff) | |
download | nixpkgs-697ea7c69cf260f2a6719b212d97ff7d07090a66.tar nixpkgs-697ea7c69cf260f2a6719b212d97ff7d07090a66.tar.gz nixpkgs-697ea7c69cf260f2a6719b212d97ff7d07090a66.tar.bz2 nixpkgs-697ea7c69cf260f2a6719b212d97ff7d07090a66.tar.lz nixpkgs-697ea7c69cf260f2a6719b212d97ff7d07090a66.tar.xz nixpkgs-697ea7c69cf260f2a6719b212d97ff7d07090a66.tar.zst nixpkgs-697ea7c69cf260f2a6719b212d97ff7d07090a66.zip |
epgstation: make updateScript create EditorConfig-compliant files
-rw-r--r-- | nixos/modules/services/video/epgstation/streaming.json | 2 | ||||
-rw-r--r-- | pkgs/applications/video/epgstation/update.nix | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/nixos/modules/services/video/epgstation/streaming.json b/nixos/modules/services/video/epgstation/streaming.json index 6c6f9b261b2..7f8df0817fc 100644 --- a/nixos/modules/services/video/epgstation/streaming.json +++ b/nixos/modules/services/video/epgstation/streaming.json @@ -137,4 +137,4 @@ } } } -} \ No newline at end of file +} diff --git a/pkgs/applications/video/epgstation/update.nix b/pkgs/applications/video/epgstation/update.nix index bbce54ce1dc..5eb23be6c52 100644 --- a/pkgs/applications/video/epgstation/update.nix +++ b/pkgs/applications/video/epgstation/update.nix @@ -58,5 +58,8 @@ in writers.writeBash "update-epgstation" '' ${yq}/bin/yq -j '{ urlscheme , stream }' \ "$SRC/config/config.yml.template" \ > streaming.json + + # Fix generated output for EditorConfig compliance + printf '\n' >> streaming.json # rule: insert_final_newline popd '' |