anchor.diff:            # bundled gdb does not find libcrypto 10
             rm -rf bin/gdb/linux
             ln -s ${gdb} bin/gdb/linux
  -          # bundled lldb does not find libssl
  -          rm -rf bin/lldb/linux
  -          ln -s ${lldb} bin/lldb/linux
  +
  +          ls -d $PWD/bin/lldb/linux/lib/python3.8/lib-dynload/* |
  +          xargs patchelf \
  +            --replace-needed libssl.so.10 libssl.so \
  +            --replace-needed libcrypto.so.10 libcrypto.so
   
             autoPatchelf $PWD/bin
   
  
positive.code:     }).overrideAttrs (attrs: {
        nativeBuildInputs = (attrs.nativeBuildInputs or []) ++ optionals (stdenv.isLinux) [
          autoPatchelfHook
        ];
        buildInputs = (attrs.buildInputs or []) ++ optionals (stdenv.isLinux) [
          python3
          stdenv.cc.cc
          libdbusmenu
          lldb
        ];
        dontAutoPatchelf = true;
        postFixup = (attrs.postFixup or "") + optionalString (stdenv.isLinux) ''
  
negative.code: , maven
  , autoPatchelfHook
  , libdbusmenu
  , patchelf
  , openssl
  , expat
  , vmopts ? null
  }:
  
  