dots-of-war/nixpkgs/.config/nixpkgs/packages/codelldb.nix
2021-10-08 13:04:57 +02:00

9 lines
629 B
Nix

{ stdenv, symlinkJoin, makeWrapper, writeScriptBin, vscode-extensions }:
writeScriptBin "codelldb" ''
${vscode-extensions.vadimcn.vscode-lldb}/share/vscode/extensions/vadimcn.vscode-lldb/adapter/.codelldb-wrapped_ \
--liblldb ${vscode-extensions.vadimcn.vscode-lldb}/share/vscode/extensions/vadimcn.vscode-lldb/lldb/lib/liblldb.so $@
''
#writeScriptBin "codelldb" ''
#${vscode-extensions.vadimcn.vscode-lldb}/share/vscode/extensions/vadimcn.vscode-lldb/adapter/.codelldb-wrapped_ \
#--liblldb ${vscode-extensions.vadimcn.vscode-lldb}/share/vscode/extensions/vadimcn.vscode-lldb/lldb/lib/liblldb.so $@
#''