Browse Source

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

(cherry picked from commit 6ee7b4ddd8)
genode
Will Dietz 1 year ago
parent
commit
dae3575cee
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      nixos/modules/programs/adb.nix

+ 2
- 1
nixos/modules/programs/adb.nix View File

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

Loading…
Cancel
Save