android-studio: use buildFHSUserEnvBubblewrap

This commit is contained in:
Atemu 2020-07-31 15:28:57 +02:00
parent 46d8f1a8a2
commit 3f5157f122
2 changed files with 5 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ callPackage, makeFontsConf, gnome2 }:
{ callPackage, makeFontsConf, gnome2, buildFHSUserEnv }:
let
mkStudio = opts: callPackage (import ./common.nix opts) {
@ -6,6 +6,7 @@ let
fontDirectories = [];
};
inherit (gnome2) GConf gnome_vfs;
inherit buildFHSUserEnv;
};
stableVersion = {
version = "4.0.1.0"; # "Android Studio 4.0.1"

View file

@ -19086,7 +19086,9 @@ in
amsn = callPackage ../applications/networking/instant-messengers/amsn { };
androidStudioPackages = recurseIntoAttrs
(callPackage ../applications/editors/android-studio { });
(callPackage ../applications/editors/android-studio {
buildFHSUserEnv = buildFHSUserEnvBubblewrap;
});
android-studio = androidStudioPackages.stable;
animbar = callPackage ../applications/graphics/animbar { };