summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nixos/modules/services/video/epgstation/streaming.json2
-rw-r--r--pkgs/applications/video/epgstation/update.nix3
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
 ''