nixos/adb: don't make android tools the system-wide mke2fs, lowPrio

This commit is contained in:
Will Dietz 2019-11-16 14:33:37 -06:00 committed by Lassulus
parent 86a760948b
commit 6ee7b4ddd8

View File

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