diff --git a/shells/accentor-android.nix b/shells/accentor-android.nix index ecd8dac6..38e7f91b 100644 --- a/shells/accentor-android.nix +++ b/shells/accentor-android.nix @@ -35,16 +35,13 @@ let }; gradle-fhs-nix = pkgs.writeText "gradle-fhs.nix" '' - { run ? "bash" }: + { run }: let pkgs = import {}; in (pkgs.buildFHSUserEnv { name = "android-sdk-env"; - targetPkgs = pkgs: (with pkgs; - [ - glibc - ]); + targetPkgs = pkgs: (with pkgs; [ glibc ]); profile = ''' export ANDROID_SDK_ROOT="${composed.androidsdk}/libexec/android-sdk/" '''; @@ -105,7 +102,4 @@ pkgs.mkShell { } ) ]; - shellHook = '' - export ANDROID_SDK_ROOT="${composed.androidsdk}/libexec/android-sdk/" - ''; }