androidStudioPackages.beta: Rename the binary according to the channel
The old name "android-studio-preview" was a bit misleading while "android-studio-beta" should clearly reflect that this is from the beta channel. I hope that this does not break any workflows but since "android-studio-preview" was most likely not called from any scripts the risk should be low (also: most people probably use the stable version anyway).
This commit is contained in:
parent
2dbaab7afe
commit
f7a3a5ad94
|
@ -158,9 +158,9 @@ in runCommand
|
||||||
''
|
''
|
||||||
mkdir -p $out/{bin,share/pixmaps}
|
mkdir -p $out/{bin,share/pixmaps}
|
||||||
|
|
||||||
# TODO: Rename preview -> beta (and add -stable suffix?):
|
|
||||||
echo -n "$startScript" > $out/bin/${pname}
|
echo -n "$startScript" > $out/bin/${pname}
|
||||||
chmod +x $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/${drvName}.png
|
||||||
ln -s ${desktopItem}/share/applications $out/share/applications
|
ln -s ${desktopItem}/share/applications $out/share/applications
|
||||||
''
|
''
|
||||||
|
|
|
@ -35,7 +35,7 @@ in rec {
|
||||||
|
|
||||||
beta = mkStudio (betaVersion // {
|
beta = mkStudio (betaVersion // {
|
||||||
channel = "beta";
|
channel = "beta";
|
||||||
pname = "android-studio-preview";
|
pname = "android-studio-beta";
|
||||||
});
|
});
|
||||||
|
|
||||||
dev = mkStudio (latestVersion // {
|
dev = mkStudio (latestVersion // {
|
||||||
|
|
Loading…
Reference in New Issue