mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
misc: fix python environment options
This commit is contained in:
parent
a1f8b437b3
commit
d52f656a8b
3 changed files with 18 additions and 31 deletions
|
@ -39,22 +39,14 @@ in {
|
|||
description = "Extra packages to be made available to neovim";
|
||||
};
|
||||
|
||||
python = {
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.python3;
|
||||
description = "";
|
||||
};
|
||||
|
||||
extraPythonPackages = mkOption {
|
||||
type = with types; functionTo (listOf package);
|
||||
default = p: [];
|
||||
defaultText = literalExpression "p: with p; [ ]";
|
||||
description = "Python packages to add to the `PYTHONPATH` of neovim.";
|
||||
example = lib.literalExpression ''
|
||||
p: [ p.numpy ]
|
||||
'';
|
||||
};
|
||||
extraPythonPackages = mkOption {
|
||||
type = with types; functionTo (listOf package);
|
||||
default = p: [];
|
||||
defaultText = literalExpression "p: with p; [ ]";
|
||||
description = "Python packages to add to the `PYTHONPATH` of neovim.";
|
||||
example = lib.literalExpression ''
|
||||
p: [ p.numpy ]
|
||||
'';
|
||||
};
|
||||
|
||||
extraConfigLua = mkOption {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue