nixos/adb: switch to android-tools built from source

This commit is contained in:
Dominik Xaver Hörl 2021-08-28 17:22:46 +02:00
parent 2250e82c70
commit 146961e814

View File

@ -23,8 +23,7 @@ with lib;
###### implementation
config = mkIf config.programs.adb.enable {
services.udev.packages = [ pkgs.android-udev-rules ];
# Give platform-tools lower priority so mke2fs+friends are taken from other packages first
environment.systemPackages = [ (lowPrio pkgs.androidenv.androidPkgs_9_0.platform-tools) ];
environment.systemPackages = [ pkgs.android-tools ];
users.groups.adbusers = {};
};
}