about summary refs log tree commit diff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/default.nix9
1 files changed, 9 insertions, 0 deletions
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 $@
+  '';
 }