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:
David McFarland
2024-07-10 23:45:03 -03:00
parent 212defe037
commit b5e9c49dd1
2 changed files with 13 additions and 3 deletions
@@ -5,9 +5,15 @@
, mono
, dotnet-sdk
, writeText
, scons
, python311
}:
godot3.overrideAttrs (self: base: {
(godot3.override {
scons = scons.override {
python3 = python311;
};
}).overrideAttrs (self: base: {
pname = "godot3-mono";
godotBuildDescription = "mono build";
+6 -2
View File
@@ -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";
godotBuildDescription = "mono glue";
godotBuildPlatform = "server";