diff options
author | Bobby Rong <rjl931189261@126.com> | 2022-02-26 21:10:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-26 21:10:40 +0800 |
commit | 8187f20f971bdb5e6a1ad4a0a5e1ab05af100551 (patch) | |
tree | fcefd62803ec5bd37e3786a8b0a8156208ec43c5 /pkgs/applications/editors/android-studio | |
parent | f024f55bdbaa939162c74b7364fc6b33af925dbd (diff) | |
parent | 86cd00d92def448d10aaade3387de525fdfb7928 (diff) | |
download | nixlib-8187f20f971bdb5e6a1ad4a0a5e1ab05af100551.tar nixlib-8187f20f971bdb5e6a1ad4a0a5e1ab05af100551.tar.gz nixlib-8187f20f971bdb5e6a1ad4a0a5e1ab05af100551.tar.bz2 nixlib-8187f20f971bdb5e6a1ad4a0a5e1ab05af100551.tar.lz nixlib-8187f20f971bdb5e6a1ad4a0a5e1ab05af100551.tar.xz nixlib-8187f20f971bdb5e6a1ad4a0a5e1ab05af100551.tar.zst nixlib-8187f20f971bdb5e6a1ad4a0a5e1ab05af100551.zip |
Merge pull request #161767 from VergeDX/android-studio
android-studio: Remove version string from desktop and icon file.
Diffstat (limited to 'pkgs/applications/editors/android-studio')
-rw-r--r-- | pkgs/applications/editors/android-studio/common.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/editors/android-studio/common.nix b/pkgs/applications/editors/android-studio/common.nix index 97eb5cad8d02..9e0907147b88 100644 --- a/pkgs/applications/editors/android-studio/common.nix +++ b/pkgs/applications/editors/android-studio/common.nix @@ -159,9 +159,9 @@ let }; desktopItem = makeDesktopItem { - name = drvName; + name = pname; exec = pname; - icon = drvName; + icon = pname; desktopName = "Android Studio (${channel} channel)"; comment = "The official Android IDE"; categories = [ "Development" "IDE" ]; @@ -229,6 +229,6 @@ in runCommand echo -n "$startScript" > $out/bin/${pname} chmod +x $out/bin/${pname} - ln -s ${androidStudio}/bin/studio.png $out/share/pixmaps/${drvName}.png + ln -s ${androidStudio}/bin/studio.png $out/share/pixmaps/${pname}.png ln -s ${desktopItem}/share/applications $out/share/applications '' |