nixos/make-options-doc: fix related packages link label
the pkgs path literal surely shouldn't include the title, right?
This commit is contained in:
parent
bf4c0c1900
commit
8fe19590c3
|
@ -78,7 +78,7 @@ let
|
||||||
title = args.title or null;
|
title = args.title or null;
|
||||||
name = args.name or (lib.concatStringsSep "." args.path);
|
name = args.name or (lib.concatStringsSep "." args.path);
|
||||||
in ''
|
in ''
|
||||||
- [`${lib.optionalString (title != null) "${title} aka "}pkgs.${name}`](
|
- [${lib.optionalString (title != null) "${title} aka "}`pkgs.${name}`](
|
||||||
https://search.nixos.org/packages?show=${name}&sort=relevance&query=${name}
|
https://search.nixos.org/packages?show=${name}&sort=relevance&query=${name}
|
||||||
)${
|
)${
|
||||||
lib.optionalString (args ? comment) "\n\n ${args.comment}"
|
lib.optionalString (args ? comment) "\n\n ${args.comment}"
|
||||||
|
|
Loading…
Reference in a new issue