mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
Merge pull request #157695 from PaulGrandperrin/master
(vscode|vscodium)-fhs: fix missing desktop icon
This commit is contained in:
commit
0553ffc9dc
@ -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}";
|
||||
|
Loading…
Reference in New Issue
Block a user