docs: add description to editables(ShellHook)

This commit is contained in:
phaer 2024-07-11 16:42:01 +02:00
parent ee8e6ef05f
commit 3c78e8aca3

View File

@ -7,10 +7,24 @@
in {
options = {
editables = lib.mkOption {
description = ''
An attribute set mapping package names to absolute paths of source directories
which should be installed in editable mode in [editablesShellHook](#pipeditablesshellhook).
i.e.
```
pip.editables.charset-normalizer = "/home/user/src/charset-normalizer".
```
The top-level package is added automatically.
'';
type = t.attrsOf t.str;
};
editablesShellHook = lib.mkOption {
description = ''
A shellHook to be included into your devShells to install [editables](#pipeditables)
'';
type = t.str;
readOnly = true;
};