mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-22 22:11:50 +03:00
docs: add description to editables(ShellHook)
This commit is contained in:
parent
ee8e6ef05f
commit
3c78e8aca3
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user