From a15f7ddc2847f1c7c865288d9db32611b1d3297b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 2 Jun 2022 00:03:36 +0200 Subject: [PATCH] spidermonkey_78: pin python39 Because the configure script hasn't been update to work with Python 3.10 and never will. Spidermonkey 78 is EOL. Traceback (most recent call last): File "/build/firefox-78.15.0/obj/../js/src/../../configure.py", line 25, in from mozbuild.configure import ( File "/build/firefox-78.15.0/python/mozbuild/mozbuild/configure/__init__.py", line 33, in from mozbuild.util import ( File "/build/firefox-78.15.0/python/mozbuild/mozbuild/util.py", line 760, in class HierarchicalStringList(object): File "/build/firefox-78.15.0/python/mozbuild/mozbuild/util.py", line 785, in HierarchicalStringList class StringListAdaptor(collections.Sequence): AttributeError: module 'collections' has no attribute 'Sequence' --- pkgs/development/interpreters/spidermonkey/78.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/spidermonkey/78.nix b/pkgs/development/interpreters/spidermonkey/78.nix index f2a68158266b..0ce007057a23 100644 --- a/pkgs/development/interpreters/spidermonkey/78.nix +++ b/pkgs/development/interpreters/spidermonkey/78.nix @@ -4,7 +4,7 @@ , autoconf213 , pkg-config , perl -, python3 +, python39 , zip , buildPackages , which @@ -54,7 +54,7 @@ stdenv.mkDerivation rec { rustc.llvmPackages.llvm # for llvm-objdump perl pkg-config - python3 + python39 rust-cbindgen rustc which