From f56d412f84e2cee53365ade1093f9cc449d58fa3 Mon Sep 17 00:00:00 2001 From: Dane Lipscombe Date: Wed, 29 Nov 2023 20:31:20 +1100 Subject: [PATCH] plugins/dap-python: Add debugpy to dap-python (#761) --- plugins/dap/dap-python.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dap/dap-python.nix b/plugins/dap/dap-python.nix index e44c9687..b52ef80e 100644 --- a/plugins/dap/dap-python.nix +++ b/plugins/dap/dap-python.nix @@ -15,7 +15,7 @@ in { package = helpers.mkPackageOption "dap-python" pkgs.vimPlugins.nvim-dap-python; adapterPythonPath = mkOption { - default = "${pkgs.python3}/bin/python3"; + default = "${pkgs.python3.withPackages (ps: with ps; [debugpy])}/bin/python3"; description = "Path to the python interpreter. Path must be absolute or in $PATH and needs to have the debugpy package installed."; type = types.str; };