vscode: fix argv.json path

This commit is contained in:
Ryan Horiguchi 2026-01-18 15:03:19 +01:00 committed by Austin Horstman
parent 83bcb17377
commit 5148e08046
3 changed files with 10 additions and 2 deletions

View file

@ -0,0 +1,8 @@
{
time = "2026-01-18T14:07:27+00:00";
condition = true;
message = ''
A new 'programs.vscode.argvSettings' option is available to configure VS
Code this creates the `argv.json` file.
'';
}

View file

@ -81,7 +81,7 @@ let
else
"${config.xdg.configHome}/${configDir}/User";
argvPath = "${configDir}/argv.json";
argvPath = "${extensionDir}/argv.json";
configFilePath =
name: "${userDir}/${optionalString (name != "default") "profiles/${name}/"}settings.json";
tasksFilePath =

View file

@ -11,7 +11,7 @@ let
cfg = config.programs.vscode;
willUseIfd = package.pname != "vscode";
argvPath = "${cfg.nameShort}/argv.json";
argvPath = "${cfg.dataFolderName}/argv.json";
content = ''
{