mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
plugins/dap-python: set defaultText
for adapterPythonPath
This commit is contained in:
parent
30c2292b29
commit
0d23003878
1 changed files with 4 additions and 1 deletions
|
@ -22,7 +22,10 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
adapterPythonPath = mkOption {
|
adapterPythonPath = mkOption {
|
||||||
default = "${pkgs.python3.withPackages (ps: with ps; [ debugpy ])}/bin/python3";
|
default = lib.getExe (pkgs.python3.withPackages (ps: with ps; [ debugpy ]));
|
||||||
|
defaultText = lib.literalExpression ''
|
||||||
|
lib.getExe (pkgs.python3.withPackages (ps: with ps; [ debugpy ]))
|
||||||
|
'';
|
||||||
description = "Path to the python interpreter. Path must be absolute or in $PATH and needs to have the debugpy package installed.";
|
description = "Path to the python interpreter. Path must be absolute or in $PATH and needs to have the debugpy package installed.";
|
||||||
type = types.str;
|
type = types.str;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue