about summary refs log tree commit diff
path: root/pkgs/applications/editors/android-studio
diff options
context:
space:
mode:
authorMichael Weiss <dev.primeos@gmail.com>2019-01-17 19:02:51 +0100
committerMichael Weiss <dev.primeos@gmail.com>2019-01-17 19:13:07 +0100
commit9aa46aedfeb02b5aad7c91365a993c11776ef398 (patch)
treef35cd402f95e104743023832b8a1f1e63d4349a1 /pkgs/applications/editors/android-studio
parentf7a3a5ad941602e918c9ed2e94c37968c647b0d9 (diff)
downloadnixlib-9aa46aedfeb02b5aad7c91365a993c11776ef398.tar
nixlib-9aa46aedfeb02b5aad7c91365a993c11776ef398.tar.gz
nixlib-9aa46aedfeb02b5aad7c91365a993c11776ef398.tar.bz2
nixlib-9aa46aedfeb02b5aad7c91365a993c11776ef398.tar.lz
nixlib-9aa46aedfeb02b5aad7c91365a993c11776ef398.tar.xz
nixlib-9aa46aedfeb02b5aad7c91365a993c11776ef398.tar.zst
nixlib-9aa46aedfeb02b5aad7c91365a993c11776ef398.zip
android-studio-preview: Deprecate the attribute
This also covers "androidStudioPackages.preview".

I believe that the name is confusing (is it from the beta or dev/canary
channel?) and with this error message it should be obvious how to update
ones configuration.
Diffstat (limited to 'pkgs/applications/editors/android-studio')
-rw-r--r--pkgs/applications/editors/android-studio/default.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/pkgs/applications/editors/android-studio/default.nix b/pkgs/applications/editors/android-studio/default.nix
index c7dc08821624..125538e54cfc 100644
--- a/pkgs/applications/editors/android-studio/default.nix
+++ b/pkgs/applications/editors/android-studio/default.nix
@@ -23,8 +23,15 @@ let
     sha256Hash = "1f7lllj85fia02hgy4ksbqh80sdcml16fv1g892jc6lwykjrdw5y";
   };
 in rec {
-  # Old alias
-  preview = beta;
+  # Old alias (TODO @primeos: Remove after 19.03 is branched off):
+  preview = throw ''
+    The attributes "android-studio-preview" and "androidStudioPackages.preview"
+    are now deprecated and will be removed soon, please use
+    "androidStudioPackages.beta" instead. This attribute corresponds to the
+    beta channel, if you want the latest release you can use
+    "androidStudioPackages.dev" or "androidStudioPackages.canary" instead
+    (currently, there is no difference between both channels).
+  '';
 
   # Attributes are named by their corresponding release channels