refactor(3p/gerrit): use Python 3 for building

Change-Id: I7d5587efa02052e2a38588d1f2c9e94b6a6c6372
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7811
Tested-by: BuildkiteCI
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
sterni 2023-01-11 19:39:25 +01:00 committed by clbot
parent 423c2a09a9
commit fc7e52b4ac

View file

@ -13,12 +13,7 @@ let
(pkgs.bazel_5.override { enableNixHacks = true; }) (pkgs.bazel_5.override { enableNixHacks = true; })
pkgs.jdk11_headless pkgs.jdk11_headless
pkgs.zlib pkgs.zlib
(pkgs.python.overrideAttrs (old: { pkgs.python3
meta = old.meta // {
# Ignore Python 2.7 EOL since it's a build only dependency here
knownVulnerabilities = [ /* I pretend I do not see it */ ];
};
}))
pkgs.curl pkgs.curl
pkgs.nodejs pkgs.nodejs
pkgs.yarn pkgs.yarn