From e5268344feedd21ad1f59c43fea28be49d27e347 Mon Sep 17 00:00:00 2001 From: Jan Malakhovski Date: Mon, 5 Feb 2018 15:24:46 +0000 Subject: [PATCH] nixos/adb: add related package This is an attribute path example of `relatedPackages` option usage. --- nixos/modules/programs/adb.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/programs/adb.nix b/nixos/modules/programs/adb.nix index 18290555b79d..f648d70bd9fa 100644 --- a/nixos/modules/programs/adb.nix +++ b/nixos/modules/programs/adb.nix @@ -16,6 +16,7 @@ with lib; To grant access to a user, it must be part of adbusers group: users.extraUsers.alice.extraGroups = ["adbusers"]; ''; + relatedPackages = [ ["androidenv" "platformTools"] ]; }; }; };