@@ -7,7 +7,7 @@
77, xdg-utils, yasm, nasm, minizip, libwebp
88, libusb1, pciutils, nss, re2
99
10−, python2Packages, perl, pkg-config
10+, python2Packages, python3Packages, perl, pkg-config
1111, nspr, systemd, libkrb5
1212, util-linux, alsaLib
1313, bison, gperf
@@ -130,6 +130,8 @@ let
130130 ninja which python2Packages.python perl pkg-config
131131 python2Packages.ply python2Packages.jinja2 nodejs
132132 gnutar python2Packages.setuptools
133+ ] ++ optionals (chromiumVersionAtLeast "91") [
134+ python3Packages.python
133135 ];
134136
135137 buildInputs = defaultDependencies ++ [
@@ -160,7 +162,9 @@ let
160162 url = "https://raw.githubusercontent.com/archlinux/svntogit-packages/61b0ab526d2aa3c62fa20bb756461ca9a482f6c6/trunk/chromium-fix-libva-redef.patch";
161163 sha256 = "1qj4sn1ngz0p1l1w3346kanr1sqlr3xdzk1f1i86lqa45mhv77ny";
162164 }) ++ optional (chromiumVersionAtLeast "90")
163− ./fix-missing-atspi2-dependency.patch
165+ ./patches/fix-missing-atspi2-dependency.patch
166+ ++ optional (chromiumVersionAtLeast "91")
167+ ./patches/closure_compiler-Use-the-Java-binary-from-the-system.patch
164168 ;
165169
166170 postPatch = ''