diff --git a/pkgs/development/tools/godot/common.nix b/pkgs/development/tools/godot/common.nix index dea54a9fd638..bab845d6af5d 100644 --- a/pkgs/development/tools/godot/common.nix +++ b/pkgs/development/tools/godot/common.nix @@ -241,6 +241,14 @@ let runHook post Install ''; + # patching $debug can crash patchelf + # (https://github.com/NixOS/patchelf/issues/373), so explicitly patch $out + dontAutoPatchelf = true; + + postFixup = '' + autoPatchelf "$out" + ''; + passthru = { tests = let