The development marks a step toward enabling astronauts on long-term moon missions to produce their own food.