mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
vscode: fix symlink to executable (#123811)
Co-authored-by: Patrick Hilhorst <git@hilhorst.be> Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
a28153eeb5
commit
3a3543edd4
1 changed files with 1 additions and 2 deletions
|
@ -77,7 +77,7 @@ let
|
|||
'' + (if system == "x86_64-darwin" then ''
|
||||
mkdir -p "$out/Applications/${longName}.app" $out/bin
|
||||
cp -r ./* "$out/Applications/${longName}.app"
|
||||
ln -s "$out/Applications/${longName}.app/Contents/Resources/app/bin/code" $out/bin/${executableName}
|
||||
ln -s "$out/Applications/${longName}.app/Contents/Resources/app/bin/${executableName}" $out/bin/${executableName}
|
||||
'' else ''
|
||||
mkdir -p $out/lib/vscode $out/bin
|
||||
cp -r ./* $out/lib/vscode
|
||||
|
@ -159,4 +159,3 @@ let
|
|||
};
|
||||
in
|
||||
unwrapped
|
||||
|
||||
|
|
Loading…
Reference in a new issue