mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-04 03:03:42 +00:00
mongodb: pin scons to python311
Building mongodb with python312 fails: ModuleNotFoundError: No module named 'imp': File "/build/source/SConstruct", line 46: from buildscripts import moduleconfig File "/build/source/buildscripts/moduleconfig.py", line 30: import imp
This commit is contained in:
parent
84cfe26048
commit
6c879c9e5e
@ -13,7 +13,7 @@
|
||||
, openldap
|
||||
, openssl
|
||||
, libpcap
|
||||
, python3
|
||||
, python311
|
||||
, curl
|
||||
, Security
|
||||
, CoreFoundation
|
||||
@ -33,7 +33,7 @@ with lib;
|
||||
}:
|
||||
|
||||
let
|
||||
scons = buildPackages.scons;
|
||||
scons = buildPackages.scons.override{ python3 = python311; };
|
||||
python = scons.python.withPackages (ps: with ps; [
|
||||
pyyaml
|
||||
cheetah3
|
||||
|
Loading…
Reference in New Issue
Block a user