mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
godot: set __structuredAttrs and strictDeps to true
Assisted-by: GitHub Copilot
This commit is contained in:
parent
b191667197
commit
8bcc5d4727
2 changed files with 7 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue