anchor.diff:      tcl
       readline
       libffi
  -    protobuf
       zlib
       (python3.withPackages (pp: with pp; [
         click
       ]))
     ];
   
  -  makeFlags = [ "ENABLE_PROTOBUF=1" "PREFIX=${placeholder "out"}"];
  +  makeFlags = [ "PREFIX=${placeholder "out"}"];
   
     patches = [
       ./plugin-search-dirs.patch
  
positive.code: , libffi
  , makeWrapper
  , pkg-config
  , protobuf
  , python3
  , readline
  , symlinkJoin
  
negative.code:     chmod -R u+w .
      make config-${if stdenv.cc.isClang or false then "clang" else "gcc"}
      echo 'ABCEXTERNAL = ${abc-verifier}/bin/abc' >> Makefile.conf
  
      if ! grep -q "ABCREV = ${shortAbcRev}" Makefile; then
        echo "ERROR: yosys isn't compatible with the provided abc (${shortAbcRev}), failing."
  