mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
news: forward args to file news entries
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
This commit is contained in:
committed by
Austin Horstman
parent
9c3b33c2a7
commit
0fbd8207e9
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user