Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
godot: add mono support #88006
Motivation for this change
The Godot game engine supports scripting with the C# programming language. However, in order to so it must be compiled with mono support. This pull request adds such an option to the Nixpkgs derivation.
I am successfully using this derivation to build and run godot mono projects on NixOS. But I am still experiencing some weirdness around NuGet.
When building, Godot tries to fetch some NuGet packages, but of course in Nix it isn't allowed to download sources from the internet in the build phase, so we have to download and the sources prior to this phase which I do in these lines.
After install however, when I run
As I am new to C# and the NuGet package manager, I haven't got around to solving this yet, and am still using the workaround, but this should be fixed before merging in to Nixpkgs.