anchor.diff:  , maven
   , autoPatchelfHook
   , libdbusmenu
  +, patchelf
  +, openssl
  +, expat
   , vmopts ? null
   }:
   
  
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:           # bundled gdb does not find libcrypto 10
            rm -rf bin/gdb/linux
            ln -s ${gdb} bin/gdb/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
  
  