From my experience as an agricultural researcher, the same variety of a crop for example wheat variety X when grown in different soils differ in nutritional and other quality like color type, breaking quality etc. is the soil affecting the quality of a crop or the other component of the environment that brings difference in the quality?