godot: set __structuredAttrs and strictDeps to true
Assisted-by: GitHub Copilot
This commit is contained in:
@@ -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
|
||||
''
|
||||
);
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user