From 8da416730380507a06efa21a033a454daea3b7dd Mon Sep 17 00:00:00 2001 From: Joe <55846624+rtldg@users.noreply.github.com> Date: Wed, 13 May 2020 01:33:42 +0000 Subject: [PATCH] vscode: remove unused option (#87703) The option "--skip-getting-started" no longer exists in vscode and causes files in "$@" to not be opened. Message from stdout: "Warning: 'skip-getting-started' is not in the list of known options, but still passed to Electron/Chromium." "--skip-getting-started" being removed: https://github.com/microsoft/vscode/commit/6a8b201c8aff79ae04d69038e815500a04f06401 --- pkgs/applications/editors/vscode/generic.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/applications/editors/vscode/generic.nix b/pkgs/applications/editors/vscode/generic.nix index abd4a55c92b8..30060086fb53 100644 --- a/pkgs/applications/editors/vscode/generic.nix +++ b/pkgs/applications/editors/vscode/generic.nix @@ -78,8 +78,6 @@ in mkdir -p $out/lib/vscode $out/bin cp -r ./* $out/lib/vscode - substituteInPlace $out/lib/vscode/bin/${executableName} --replace '"$CLI" "$@"' '"$CLI" "--skip-getting-started" "$@"' - ln -s $out/lib/vscode/bin/${executableName} $out/bin mkdir -p $out/share/applications