godot3-mono: use python311 in scons
The build scripts use distutils, which was removed in Python 3.12:
File "/build/source/modules/mono/build_scripts/mono_configure.py",
line 479:
from distutils.dir_util import copy_tree
This commit is contained in:
@@ -5,9 +5,15 @@
|
|||||||
, mono
|
, mono
|
||||||
, dotnet-sdk
|
, dotnet-sdk
|
||||||
, writeText
|
, writeText
|
||||||
|
, scons
|
||||||
|
, python311
|
||||||
}:
|
}:
|
||||||
|
|
||||||
godot3.overrideAttrs (self: base: {
|
(godot3.override {
|
||||||
|
scons = scons.override {
|
||||||
|
python3 = python311;
|
||||||
|
};
|
||||||
|
}).overrideAttrs (self: base: {
|
||||||
pname = "godot3-mono";
|
pname = "godot3-mono";
|
||||||
|
|
||||||
godotBuildDescription = "mono build";
|
godotBuildDescription = "mono build";
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
{ godot3, mono }:
|
{ godot3, mono, scons, python311 }:
|
||||||
|
|
||||||
godot3.overrideAttrs (self: base: {
|
(godot3.override {
|
||||||
|
scons = scons.override {
|
||||||
|
python3 = python311;
|
||||||
|
};
|
||||||
|
}).overrideAttrs (self: base: {
|
||||||
pname = "godot3-mono-glue";
|
pname = "godot3-mono-glue";
|
||||||
godotBuildDescription = "mono glue";
|
godotBuildDescription = "mono glue";
|
||||||
godotBuildPlatform = "server";
|
godotBuildPlatform = "server";
|
||||||
|
|||||||
Reference in New Issue
Block a user