git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit9aa46aedfeb02b5aad7c91365a993c11776ef398 authorMichael Weiss <dev.primeos@gmail.com> dateThu 17 Jan 2019, 19:02 (8 years ago) parentf7a3a5a
2 files changed+10−3
pkgs/applications/editors/android-studio/default.nix+9−2 pkgs/top-level/all-packages.nix+1−1
pkgs/applications/editors/android-studio/default.nix+9−2
@@ -23,8 +23,15 @@ let
2323 sha256Hash = "1f7lllj85fia02hgy4ksbqh80sdcml16fv1g892jc6lwykjrdw5y";
2424 };
2525in rec {
26− # Old alias
27− preview = beta;
26+ # Old alias (TODO @primeos: Remove after 19.03 is branched off):
27+ preview = throw ''
28+ The attributes "android-studio-preview" and "androidStudioPackages.preview"
29+ are now deprecated and will be removed soon, please use
30+ "androidStudioPackages.beta" instead. This attribute corresponds to the
31+ beta channel, if you want the latest release you can use
32+ "androidStudioPackages.dev" or "androidStudioPackages.canary" instead
33+ (currently, there is no difference between both channels).
34+ '';
2835
2936 # Attributes are named by their corresponding release channels
3037
pkgs/top-level/all-packages.nix+1−1
@@ -16053,7 +16053,7 @@ in
1605316053 androidStudioPackages = recurseIntoAttrs
1605416054 (callPackage ../applications/editors/android-studio { });
1605516055 android-studio = androidStudioPackages.stable;
16056− android-studio-preview = androidStudioPackages.beta;
16056+ android-studio-preview = androidStudioPackages.preview;
1605716057
1605816058 animbar = callPackage ../applications/graphics/animbar { };
1605916059