Loading pkgs/by-name/go/godot_4/package.nix +19 −5 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ scons, speechd-minimal, stdenv, testers, udev, vulkan-loader, wayland, Loading Loading @@ -56,7 +57,9 @@ let suffix = if withMono then "-mono" else ""; attrs = rec { arch = stdenv.hostPlatform.linuxArch; attrs = finalAttrs: rec { pname = "godot4${suffix}"; version = "4.3-stable"; commitHash = "77dcf97d82cbfe4e4615475fa52ca03da645dbd8"; Loading Loading @@ -149,9 +152,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 Loading @@ -221,6 +224,18 @@ let runHook postInstall ''; passthru.tests = { version = testers.testVersion { package = finalAttrs.finalPackage; version = lib.replaceStrings [ "-" ] [ "." ] version; }; }; requiredSystemFeatures = [ # fixes: No space left on device "big-parallel" ]; meta = { changelog = "https://github.com/godotengine/godot/releases/tag/${version}"; description = "Free and Open Source 2D and 3D game engine"; Loading @@ -240,7 +255,6 @@ let in stdenv.mkDerivation ( finalAttrs: if withMono then dotnetCorePackages.addNuGetDeps { nugetDeps = ./deps.nix; Loading @@ -250,7 +264,7 @@ stdenv.mkDerivation ( old.buildInputs ++ lib.concatLists (lib.attrValues (lib.getAttrs runtimeIds dotnet-sdk_8.targetPackages)); }; } attrs finalAttrs } attrs else attrs ) Loading
pkgs/by-name/go/godot_4/package.nix +19 −5 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ scons, speechd-minimal, stdenv, testers, udev, vulkan-loader, wayland, Loading Loading @@ -56,7 +57,9 @@ let suffix = if withMono then "-mono" else ""; attrs = rec { arch = stdenv.hostPlatform.linuxArch; attrs = finalAttrs: rec { pname = "godot4${suffix}"; version = "4.3-stable"; commitHash = "77dcf97d82cbfe4e4615475fa52ca03da645dbd8"; Loading Loading @@ -149,9 +152,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 Loading @@ -221,6 +224,18 @@ let runHook postInstall ''; passthru.tests = { version = testers.testVersion { package = finalAttrs.finalPackage; version = lib.replaceStrings [ "-" ] [ "." ] version; }; }; requiredSystemFeatures = [ # fixes: No space left on device "big-parallel" ]; meta = { changelog = "https://github.com/godotengine/godot/releases/tag/${version}"; description = "Free and Open Source 2D and 3D game engine"; Loading @@ -240,7 +255,6 @@ let in stdenv.mkDerivation ( finalAttrs: if withMono then dotnetCorePackages.addNuGetDeps { nugetDeps = ./deps.nix; Loading @@ -250,7 +264,7 @@ stdenv.mkDerivation ( old.buildInputs ++ lib.concatLists (lib.attrValues (lib.getAttrs runtimeIds dotnet-sdk_8.targetPackages)); }; } attrs finalAttrs } attrs else attrs )