misc: refactor helpers propagation

Co-authored-by: Robert Hensing <robert@roberthensing.nl>
This commit is contained in:
Gaetan Lepage 2024-02-07 16:50:08 +01:00 committed by Gaétan Lepage
parent 3bbb3d5453
commit 5d3ed3a09e
12 changed files with 100 additions and 40 deletions

View file

@ -2,13 +2,14 @@
pkgs,
lib,
modules,
helpers,
nixosOptionsDoc,
transformOptions,
}:
with lib; let
options = lib.evalModules {
inherit modules;
specialArgs = {inherit pkgs lib;};
specialArgs = {inherit pkgs lib helpers;};
};
mkMDDoc = options: