godot: set __structuredAttrs and strictDeps to true

Assisted-by: GitHub Copilot
This commit is contained in:
Sam Cribbs 2026-06-21 16:51:07 -07:00
commit 8bcc5d4727
2 changed files with 7 additions and 1 deletions

View file

@ -341,6 +341,8 @@ let
);
attrs = finalAttrs: {
__structuredAttrs = true;
pname = "godot${suffix}";
inherit version;
@ -645,7 +647,7 @@ let
# when building the mono editor, we need to build the assemblies
# before generating the bundle
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
scons $sconsFlags generate_bundle=yes
scons "''${sconsFlags[@]}" generate_bundle=yes
''
);

View file

@ -14,6 +14,8 @@
# https://docs.godotengine.org/en/stable/tutorials/export/exporting_projects.html#export-templates
let
self = stdenvNoCC.mkDerivation {
__structuredAttrs = true;
pname = "godot-export-templates${lib.optionalString withMono "-mono"}-bin";
version = version;
@ -26,6 +28,8 @@ let
unzip
];
strictDeps = true;
unpackPhase = ''
runHook preUnpack
unzip -q "$src"