anchor.diff:    '';
   
     dontAutoPatchelf = true;
  +  noAuditTmpdir = true; # Patchelf segfaults on multiple files and crashes the build
   
     postFixup = let
       libSearchPath = lib.strings.makeSearchPath "lib" [
  
positive.code:     homepage = "https://www.turbomole.org/";
      license = licenses.unfree;
      platforms = [ "x86_64-linux" ];
    };
  }
  
negative.code:       glibc
      ];
    in ''
      # Patch elf dynamic library paths and interpreters
      for dir in $TURBODIR/libso $TURBODIR/bin/*; do
        files=$(find $dir -type f -executable -maxdepth 1 ! -name rimp2)
        for f in $files; do
          echo "Patching executable: $f: "
          patchelf \
            --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
            --set-rpath "${libSearchPath}"\
            $f
        done
      done
  