vscode: fix argv.json path
This commit is contained in:
parent
83bcb17377
commit
5148e08046
3 changed files with 10 additions and 2 deletions
8
modules/misc/news/2026/01/2026-01-18_15-07-27.nix
Normal file
8
modules/misc/news/2026/01/2026-01-18_15-07-27.nix
Normal 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.
|
||||
'';
|
||||
}
|
||||
|
|
@ -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 =
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ let
|
|||
cfg = config.programs.vscode;
|
||||
willUseIfd = package.pname != "vscode";
|
||||
|
||||
argvPath = "${cfg.nameShort}/argv.json";
|
||||
argvPath = "${cfg.dataFolderName}/argv.json";
|
||||
|
||||
content = ''
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue