Godot Engine development builds (Standard & Mono) packaged as a Nix flake.
Run the latest Godot dev versions on Nix/NixOS β reproducible, sandboxed, and ready to use.
You can run Godot without installing it:
nix run github:redyf/godot-nix-flakeOr run the Mono version explicitly:
nix run github:redyf/godot-nix-flake#4_6-dev3-monoBuild manually
If you prefer to build it locally and keep the binaries:
nix build .#4_6-dev3
nix build .#4_6-dev3-monoThen run from the result:
./result/bin/godot
./result/bin/godot-monoπ§© Features
β
Standard and Mono variants
π Reproducible builds with Nix flakes
π§° Bundled with all required runtime libraries and .NET SDK
π§± Works on Wayland, X11, and NVIDIA setups
π§ Runs perfectly on NixOS or any Nix-enabled Linux distribution
| Package name | Godot version | Type | Status |
|---|---|---|---|
| 4_6-dev3 | 4.6 dev3 | Standard | β |
| 4_6-dev3-mono | 4.6 dev3 | Mono | β |
You can easily add more versions in the godotVersions section inside the flake.
π§ Example: Using Godot Mono with C#
nix run github:redyf/godot-nix-flake#4_6-dev3-monoThe dotnet-sdk_8 and runtime are already bundled β no additional setup needed. You can immediately open or create C# Godot projects.
πͺ Using in another flake
If you want to depend on this flake inside your own:
inputs.godot-nix-flake.url = "github:redyf/godot-nix-flake";Then expose it in your packages or devShell:
{
packages.x86_64-linux.godot = inputs.godot-nix-flake.packages.x86_64-linux."4_6-dev3";
}Now you can run it with:
nix run .#defaultπ§ Notes
Uses Nixpkgs unstable for access to latest dependencies
Automatically sets up PATH, DOTNET_ROOT, and LD_LIBRARY_PATH for the Mono build
Fully sandboxed β no global installation needed
Works even on systems without dotnet preinstalled
π‘ Contributing
Pull requests and version updates are welcome! To add a new Godot version, simply edit the godotVersions attribute set in the flake and provide the new download sha256.
Licensed under the MIT License.