From 245cdf2668b8f0f85bd305275b23ab9af5c2aa15 Mon Sep 17 00:00:00 2001 From: Antoine Vaure Date: Thu, 5 Jun 2025 09:07:04 +0200 Subject: [PATCH] add comment to for vscode cpptools on nix --- lua/configs/dap.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/configs/dap.lua b/lua/configs/dap.lua index 88a1de0..fe2a15a 100644 --- a/lua/configs/dap.lua +++ b/lua/configs/dap.lua @@ -28,6 +28,7 @@ dap.adapters.cppdbg = { id = 'cppdbg', type = 'executable', command = '/nix/store/gwags66qlqr6qmblwp0v6crkb6ca2qr1-vscode-extension-ms-vscode-cpptools-1.22.2/share/vscode/extensions/ms-vscode.cpptools/debugAdapters/bin/OpenDebugAD7', + -- NIXPKGS_ALLOW_UNFREE=1 nix build --impure --no-link --print-out-paths nixpkgs#vscode-extensions.ms-vscode.cpptools cwd = "${workspaceFolder}", }