mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-30 15:44:41 +02:00
modules: add python options to specify the python environment
This commit is contained in:
parent
96cdbc8177
commit
1ab5159acf
3 changed files with 36 additions and 0 deletions
|
@ -103,6 +103,13 @@ in {
|
|||
inherit (config) viAlias vimAlias;
|
||||
# inherit customRC;
|
||||
plugins = normalizedPlugins;
|
||||
|
||||
# Python 3 environment
|
||||
python3Env = let
|
||||
python = config.python.package;
|
||||
inherit (config.python) extraPythonPackages;
|
||||
in
|
||||
python.withPackages extraPythonPackages;
|
||||
}
|
||||
# Necessary to make sure the runtime path is set properly in NixOS 22.05,
|
||||
# or more generally before the commit:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue