mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
vscode: use absolute predetermined path instead of heuristic
Fixes #59725
(cherry picked from commit f9d9c61018)
This commit is contained in:
committed by
worldofpeace
parent
00322ccb73
commit
da0e2045f7
@@ -108,6 +108,9 @@ in
|
||||
|
||||
mkdir -p $out/share/pixmaps
|
||||
cp $out/lib/vscode/resources/app/resources/linux/code.png $out/share/pixmaps/code.png
|
||||
|
||||
# Override the previously determined VSCODE_PATH with the one we know to be correct
|
||||
sed -i "/ELECTRON=/iVSCODE_PATH='$out/lib/vscode'" $out/bin/code
|
||||
'';
|
||||
|
||||
preFixup = lib.optionalString (system == "i686-linux" || system == "x86_64-linux") ''
|
||||
|
||||
Reference in New Issue
Block a user