Commit Graph

7 Commits

Author SHA1 Message Date
rotaerk
e555a7b3d1 godot3: add mono builds 2023-07-30 18:46:49 -04:00
rotaerk
e138e656c7 godot3: refactor and rename from godot
The godot base derivation was implemented by passing a recursive
attrset to mkDerivation. This is problematic because recursive
references to attributes that are later overridden don't notice the
override. Switched to the approach of giving mkDerivation a lambda
that receives a self argument, which allows recursive references to
the final value after overrides are applied.

The related derivations (for export templates, headless, and server
builds of godot) duplicated content from the base derivation. This
refactor eliminated that by using overridable attributes to
parameterize the scripts.

The main motivation for this refactor was to help me add derivations
for mono builds of godot.

Renamed to godot3 to distinguish from version 4, which is a complete
rewrite and effectively a different tool altogether.
2023-07-30 18:46:07 -04:00
LoveIsGrief
d8eab115b6
godot: Add major version to binaries and desktop entries
Fixes #235384 Godot 3 and Godot 4 share same desktop entry, thus not possible to install both at the same time.
2023-06-01 22:30:14 +02:00
Kirill Radzikhovskyy
f0cab06f93 godot: 3.5.1 -> 3.5.2 2023-05-14 18:15:39 +10:00
Weijia Wang
eb2ade40d1 treewide: migrate more packages to scons_latest 2023-03-25 18:39:03 +02:00
Sergei Trofimovich
abcad620c6 godot: fix NIX_* environment propagations to scons
scons build system does not work by default in nixpkgs envoironment as
it filters system environment and throws away NIX_* flags:

    https://scons.org/doc/2.1.0/HTML/scons-user/x1750.html

Fix build system to always propagate os.environment.
2023-01-27 22:02:43 +00:00
Shiryel
e149ae2429 godot_4: init at 4.0-beta3 2022-10-23 18:00:52 -03:00