Skip to content

Commit 817aebc

Browse files
jaenAtemu
authored andcommitted
modules: update deps
1 parent 98519f7 commit 817aebc

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

modules/envpackages.nix

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,15 @@ in
2929
nettools # Needed for "hostname" in build/soong/ui/build/sandbox_linux.go
3030
procps # Needed for "ps" in build/envsetup.sh
3131
]
32-
(mkIf (config.androidVersion >= 10) [
32+
(mkIf (config.androidVersion >= 12) [
33+
freetype # Needed by jdk9 prebuilt
34+
fontconfig
35+
36+
# Goldfish doesn't need py2 anymore in Android 12+!
37+
# c.f. https://android.googlesource.com/device/generic/goldfish/+/605e6a14e44c99e87d48bf52507f8aa01633fb04
38+
python3
39+
])
40+
(mkIf ((config.androidVersion >= 10) && (config.androidVersion <= 11)) [
3341
freetype # Needed by jdk9 prebuilt
3442
fontconfig
3543

modules/release.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ let
1212
jre = if (config.androidVersion >= 11) then pkgs.jdk11_headless else pkgs.jre8_headless;
1313
deps = with pkgs;
1414
[ otaTools openssl jre zip unzip pkgs.getopt which toybox vboot_reference util-linux
15-
python # ota_from_target_files invokes, brillo_update_payload which has "truncate_file" which invokes python
15+
# ota_from_target_files invokes, brillo_update_payload which has "truncate_file" which invokes python
16+
# c.f. https://android.googlesource.com/platform/system/update_engine/+/refs/heads/main/scripts/brillo_update_payload#338
17+
python3
1618
];
1719
in ''
1820
export PATH=${lib.makeBinPath deps}:$PATH

0 commit comments

Comments
 (0)