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 22:50:33 -03:00
committed by Florian Brandes
parent c556a4bae4
commit d6eb1b0f96
2 changed files with 13 additions and 3 deletions

View File

@@ -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";

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";