From 806da9d0294aab969c705a793b574a9f0fc4e9ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 11 Jun 2022 15:29:53 +0000 Subject: [PATCH] v8_8_x: use python39 Using Python 3.10 makes the build fail with ImportError: cannot import name 'Mapping' from 'collections' --- pkgs/development/libraries/v8/8_x.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/v8/8_x.nix b/pkgs/development/libraries/v8/8_x.nix index 5d95a0716eff..9e2469eed38e 100644 --- a/pkgs/development/libraries/v8/8_x.nix +++ b/pkgs/development/libraries/v8/8_x.nix @@ -1,5 +1,5 @@ { stdenv, lib, fetchgit, fetchFromGitHub -, gn, ninja, python3, glib, pkg-config, icu +, gn, ninja, python39, glib, pkg-config, icu , xcbuild, darwin , fetchpatch }: @@ -132,11 +132,11 @@ stdenv.mkDerivation rec { myGn ninja pkg-config - python3 + python39 ] ++ lib.optionals stdenv.isDarwin [ xcbuild darwin.DarwinTools - python3.pkgs.setuptools + python39.pkgs.setuptools ]; buildInputs = [ glib icu ];