Skip to content

Godot Engine dev builds (Standard & Mono) packaged as a Nix flake.

License

Notifications You must be signed in to change notification settings

redyf/godot-nix-flake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŒ€ Godot Dev Flake

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.


πŸš€ Usage

Run directly

You can run Godot without installing it:

nix run github:redyf/godot-nix-flake

Or run the Mono version explicitly:

nix run github:redyf/godot-nix-flake#4_6-dev3-mono

Build manually

If you prefer to build it locally and keep the binaries:

nix build .#4_6-dev3
nix build .#4_6-dev3-mono

Then 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

πŸ“¦ Available Versions

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-mono

The 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.

About

Godot Engine dev builds (Standard & Mono) packaged as a Nix flake.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages