A recent preprint posted to bioRxiv investigates how chickpeas have been successfully grown in lunar regolith simulants (LRS), marking the first time such a guideline has been established not only for chickpeas, but also for growing food for long-term human space missions.
For complex plants, you essentially never will.