Commit Graph

3 Commits

Author SHA1 Message Date
Robert Schütz
5ead10de97 gdtoolkit: fix lark override 2023-11-28 18:24:00 -08: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
Tobias Markus
1668ab99ae python3Packages.gdtoolkit: Move to pkgs/development/tools
gdtoolkit is not a library. Move to pkgs/development/tools and use
buildPythonApplication.

Fixes #216243.
2023-02-17 08:42:28 +01:00