From 066efabbfc0b9c261349e08dfbd076cdedb74a40 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 2 Apr 2022 13:32:45 +0900 Subject: feat(home/development): add codelldb --- packages/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'packages') diff --git a/packages/default.nix b/packages/default.nix index 0f6e9ec..99ad632 100644 --- a/packages/default.nix +++ b/packages/default.nix @@ -1,5 +1,14 @@ { self, neovim, ... } @ inputs: +let + pkgs = inputs.unstable.legacyPackages.x86_64-linux; + vscode-lldb = pkgs.vscode-extensions.vadimcn.vscode-lldb; +in + { "neovim" = neovim.packages.x86_64-linux.neovim; + "codelldb" = pkgs.writeScriptBin "codelldb" '' + ${vscode-lldb}/share/vscode/extensions/vadimcn.vscode-lldb/adapter/.codelldb-wrapped_ \ + --liblldb ${vscode-lldb}/share/vscode/extensions/vadimcn.vscode-lldb/lldb/lib/liblldb.so $@ + ''; } -- cgit 1.4.1