mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
godot_4-mono: fix build on aarch64
This commit is contained in:
parent
bc1a933e12
commit
384f196696
@ -56,6 +56,8 @@ let
|
||||
|
||||
suffix = if withMono then "-mono" else "";
|
||||
|
||||
arch = stdenv.hostPlatform.linuxArch;
|
||||
|
||||
attrs = rec {
|
||||
pname = "godot4${suffix}";
|
||||
version = "4.3-stable";
|
||||
@ -149,9 +151,9 @@ let
|
||||
postBuild = lib.optionalString withMono ''
|
||||
echo "Generating Glue"
|
||||
if [[ ${withPrecision} == *double* ]]; then
|
||||
bin/godot.${withPlatform}.${withTarget}.${withPrecision}.x86_64.mono --headless --generate-mono-glue modules/mono/glue
|
||||
bin/godot.${withPlatform}.${withTarget}.${withPrecision}.${arch}.mono --headless --generate-mono-glue modules/mono/glue
|
||||
else
|
||||
bin/godot.${withPlatform}.${withTarget}.x86_64.mono --headless --generate-mono-glue modules/mono/glue
|
||||
bin/godot.${withPlatform}.${withTarget}.${arch}.mono --headless --generate-mono-glue modules/mono/glue
|
||||
fi
|
||||
echo "Building C#/.NET Assemblies"
|
||||
python modules/mono/build_scripts/build_assemblies.py --godot-output-dir bin --precision=${withPrecision}
|
||||
|
Loading…
Reference in New Issue
Block a user