Adds the godot engine at the latest stable version.
This package builds the engine and the editor.
Since this is a fairly large C++ project I have added enableParallelBuilding = true; to speed up the build.
enableParallelBuilding = true;
Using nix.buildCores = 4; on my computer that has a i5 760 the whole build took:
nix.buildCores = 4;
Here's a short screencast of me opening the binary inside the result/bin dir after running nix-build:
In the screencast I open the example project Minesweeper that I downloaded via the interface earlier. I then run the project and fail at sweeping all the mines.
nix-shell -p nox --run "nox-review wip"
A tag is a rev as well so you can put rev = version here
rev = version
godot: init at 2.1.1-stable
Adds the [godot engine](https://godotengine.org/) at the latest stable
Produced binary contains the tools and the engine itself.
Thanks for the review, @FRidh
Here's what I did:
rev = version;
So glad somebody added this! Was about to open a ticket for getting this into Nixpkgs. 👍
Though the bigger question is, how would you run binaries made with the engine if NixOS doesn't allow you to do so? : /