Merge pull request #157695 from PaulGrandperrin/master

(vscode|vscodium)-fhs: fix missing desktop icon
This commit is contained in:
Manuel Bärenz 2022-02-01 16:08:42 +01:00 committed by GitHub
commit 0553ffc9dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -161,12 +161,9 @@ let
krb5
]) ++ additionalPkgs pkgs;
# restore desktop item icons
# symlink shared assets, including icons and desktop entries
extraInstallCommands = ''
mkdir -p "$out/share/applications"
for item in ${unwrapped}/share/applications/*.desktop; do
ln -s "$item" "$out/share/applications/"
done
ln -s "${unwrapped}/share" "$out/"
'';
runScript = "${unwrapped}/bin/${executableName}";