In the realms of sci-fi (movie or TV) with extra-terrestrial environments, from the perspective of life support, technological systems are present in order to allow human beings to survive and function. Hydroponics, as a plant nursery, is one of them.
Hydroponics, a soil-less plant-growth method for a sterile environment, enables plants to grow healthy (disease-free) without the use of pesticides and less water.
I remember from the TV series Lost in Space in the 60s about the use of a hydroponic garden. But, when was hydroponics used successfully, or not, in a sci-fi movie or a TV show.
I found that in The Time Travelers (1964) there is a scene with a hydroponics but I think that exist other prior sci-fi movies or sci-fi TV shows featuring this concept.