diff options
author | sefidel <contact@sefidel.net> | 2022-04-02 13:32:45 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2022-04-02 13:32:45 +0900 |
commit | 066efabbfc0b9c261349e08dfbd076cdedb74a40 (patch) | |
tree | 1a60616d9467007c39455e3a9bd77509eada0210 /packages | |
parent | 33c3ad0e537c1c678a532d5aa8b234c082701de4 (diff) | |
download | nixrc-066efabbfc0b9c261349e08dfbd076cdedb74a40.tar.gz nixrc-066efabbfc0b9c261349e08dfbd076cdedb74a40.zip |
feat(home/development): add codelldb
Diffstat (limited to 'packages')
-rw-r--r-- | packages/default.nix | 9 |
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 $@ + ''; } |