diff options
author | Silvan Mosberger <contact@infinisil.com> | 2022-03-24 02:44:43 +0100 |
---|---|---|
committer | Silvan Mosberger <contact@infinisil.com> | 2022-04-05 18:26:40 +0200 |
commit | 25de2935efce46fe51ac0e169fe13709166c788f (patch) | |
tree | eb600f53ed421041a5b3af60e9f76f898ef14694 /lib/tests | |
parent | ec87404e71af342c65f9b3516e07b0eeb9a44610 (diff) |
lib/modules: Document _module.args
Documents the _module.args option, motivated by many usages in Flakes, especially with the deprecation of extraArgs (https://github.com/NixOS/nixpkgs/commit/78ada833615d241ed76463aa5a024b614150eb4d) The documentation rendering for this option had to be handled a bit specially, since it's not declared in nixos/modules like all the other NixOS options. Co-Authored-By: pennae <github@quasiparticle.net> Co-Authored-By: Robert Hensing <robert@roberthensing.nl>
Diffstat (limited to 'lib/tests')
-rw-r--r-- | lib/tests/misc.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tests/misc.nix b/lib/tests/misc.nix index 2711190313956..d283c253f45f8 100644 --- a/lib/tests/misc.nix +++ b/lib/tests/misc.nix @@ -691,7 +691,7 @@ runTests { locs = filter (o: ! o.internal) (optionAttrSetToDocList options); in map (o: o.loc) locs; - expected = [ [ "foo" ] [ "foo" "<name>" "bar" ] [ "foo" "bar" ] ]; + expected = [ [ "_module" "args" ] [ "foo" ] [ "foo" "<name>" "bar" ] [ "foo" "bar" ] ]; }; testCartesianProductOfEmptySet = { |