nixos/doc: fix package extension links

The package extension links point to a blank page, because the package
query is set as a path instead of a query parameter.
This commit is contained in:
BOHverkill 2024-02-07 20:21:44 +01:00 committed by aleksana
parent 09e2e58692
commit 7134b58421

View File

@ -33,8 +33,8 @@ Unfortunately, Nixpkgs currently lacks a way to query available package configur
::: {.note} ::: {.note}
For example, many packages come with extensions one might add. For example, many packages come with extensions one might add.
Examples include: Examples include:
- [`passExtensions.pass-otp`](https://search.nixos.org/packages/query=passExtensions.pass-otp) - [`passExtensions.pass-otp`](https://search.nixos.org/packages?query=passExtensions.pass-otp)
- [`python310Packages.requests`](https://search.nixos.org/packages/query=python310Packages.requests) - [`python312Packages.requests`](https://search.nixos.org/packages?query=python312Packages.requests)
You can use them like this: You can use them like this:
```nix ```nix