diff options
author | Sander van der Burg <svanderburg@gmail.com> | 2018-12-05 21:55:01 +0100 |
---|---|---|
committer | Sander van der Burg <svanderburg@gmail.com> | 2018-12-18 21:16:07 +0100 |
commit | 8122431953d5908024357ba3eeaed61a95d1a7cd (patch) | |
tree | 8db056872e1b8228632b7b7bb804140ae437cb46 /nixos/modules | |
parent | 3bfd3e73bfd46a112b8054bdd705f3afae7f71bf (diff) |
Fix adb program module
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/programs/adb.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/programs/adb.nix b/nixos/modules/programs/adb.nix index 942572cef9d51..43700526ce923 100644 --- a/nixos/modules/programs/adb.nix +++ b/nixos/modules/programs/adb.nix @@ -16,7 +16,7 @@ with lib; To grant access to a user, it must be part of adbusers group: <code>users.users.alice.extraGroups = ["adbusers"];</code> ''; - relatedPackages = [ ["androidenv" "platformTools"] ]; + relatedPackages = [ ["androidenv" "androidPkgs_9_0" "platform-tools"] ]; }; }; }; @@ -24,7 +24,7 @@ with lib; ###### implementation config = mkIf config.programs.adb.enable { services.udev.packages = [ pkgs.android-udev-rules ]; - environment.systemPackages = [ pkgs.androidenv.platformTools ]; + environment.systemPackages = [ pkgs.androidenv.androidPkgs_9_0.platform-tools ]; users.groups.adbusers = {}; }; } |