Fenicsx 0.8 Installation Issues

As stated in other similar posts, you are looking at code for legacy fenics, not DOLFINx.
Ref: Issue Related to ufl - #6 by dokken