Commit e32a27ed authored by David McFarland's avatar David McFarland
Browse files

godot: disable autoPatchelf on $debug

Fixes: #399818
parent f7b20f6d
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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