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:
pennae 2023-02-01 06:45:22 +01:00 committed by pennae
parent bf4c0c1900
commit 8fe19590c3

View file

@ -78,7 +78,7 @@ let
title = args.title or null;
name = args.name or (lib.concatStringsSep "." args.path);
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}
)${
lib.optionalString (args ? comment) "\n\n ${args.comment}"