From 697ea7c69cf260f2a6719b212d97ff7d07090a66 Mon Sep 17 00:00:00 2001 From: midchildan Date: Mon, 14 Feb 2022 05:19:16 +0900 Subject: epgstation: make updateScript create EditorConfig-compliant files --- nixos/modules/services/video/epgstation/streaming.json | 2 +- pkgs/applications/video/epgstation/update.nix | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 '' -- cgit 1.4.1