mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-11 22:57:15 +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
|
, openldap
|
||||||
, openssl
|
, openssl
|
||||||
, libpcap
|
, libpcap
|
||||||
, python3
|
, python311
|
||||||
, curl
|
, curl
|
||||||
, Security
|
, Security
|
||||||
, CoreFoundation
|
, CoreFoundation
|
||||||
@ -33,7 +33,7 @@ with lib;
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
scons = buildPackages.scons;
|
scons = buildPackages.scons.override{ python3 = python311; };
|
||||||
python = scons.python.withPackages (ps: with ps; [
|
python = scons.python.withPackages (ps: with ps; [
|
||||||
pyyaml
|
pyyaml
|
||||||
cheetah3
|
cheetah3
|
||||||
|
Loading…
Reference in New Issue
Block a user