coq.withPackages: document use with language servers

Added guidance on installing Rocq language servers when using
`coq.withPackages`.

#484870
This commit is contained in:
Théo Zimmermann
2026-02-01 21:53:06 +01:00
parent 149597f163
commit 923099da30

View File

@@ -36,6 +36,8 @@ coq.withPackages (
)
```
If you install the `vsrocq-language-server` or `rocq-lsp` server, make sure to list them as part of the above `coq.withPackages` expression instead of installing them separately if you want them to find your Coq/Rocq packages.
## Rocq packages attribute sets: `rocqPackages` {#rocq-packages-attribute-sets-rocqpackages}
The recommended way of defining a derivation for a Rocq library, is to use the `rocqPackages.mkRocqDerivation` function, which is essentially a specialization of `mkDerivation` taking into account most of the specifics of Rocq libraries. The following attributes are supported: