From fc7e52b4acc3f70968d0c063942b106da31eb8aa Mon Sep 17 00:00:00 2001 From: sterni Date: Wed, 11 Jan 2023 19:39:25 +0100 Subject: 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 Reviewed-by: tazjin --- third_party/gerrit/default.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'third_party/gerrit') diff --git a/third_party/gerrit/default.nix b/third_party/gerrit/default.nix index 3889ff23e2ba..c86add5e41b4 100644 --- a/third_party/gerrit/default.nix +++ b/third_party/gerrit/default.nix @@ -13,12 +13,7 @@ let (pkgs.bazel_5.override { enableNixHacks = true; }) pkgs.jdk11_headless pkgs.zlib - (pkgs.python.overrideAttrs (old: { - 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.python3 pkgs.curl pkgs.nodejs pkgs.yarn -- cgit 1.4.1