mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 09:48:42 +02:00
plugins/dap/extensions: use lib.mkPackageOption
This commit is contained in:
parent
bf1d22e65c
commit
84676128f8
5 changed files with 30 additions and 5 deletions
|
@ -14,7 +14,12 @@ in
|
|||
options.plugins.dap.extensions.dap-python = {
|
||||
enable = mkEnableOption "dap-python";
|
||||
|
||||
package = helpers.mkPluginPackageOption "dap-python" pkgs.vimPlugins.nvim-dap-python;
|
||||
package = lib.mkPackageOption pkgs "dap-python" {
|
||||
default = [
|
||||
"vimPlugins"
|
||||
"nvim-dap-python"
|
||||
];
|
||||
};
|
||||
|
||||
adapterPythonPath = mkOption {
|
||||
default = "${pkgs.python3.withPackages (ps: with ps; [ debugpy ])}/bin/python3";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue