news: forward args to file news entries

Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
This commit is contained in:
phanirithvij
2025-04-26 19:09:26 +05:30
committed by Austin Horstman
parent 9c3b33c2a7
commit 0fbd8207e9

View File

@@ -62,7 +62,7 @@ let
let
imported = import (./news + "/${newsFile}");
in
if builtins.isFunction imported then imported { inherit pkgs; } else imported
if builtins.isFunction imported then imported { inherit config lib pkgs; } else imported
) newsFiles;
in
{