It sounds like you're talking about freezing-point depression. If the solid component of a system is pure (oft assumed so; crystals are good at excluding impurities), the equilibrium is shifted because the chemical potential of the solution drops.
For a system with two pure species, the chemical change from say, water ($\star$ denoting pure) to ice is in equilibrium when their chemical potentials (denoted $\mu$) are equal:
$$\mu_{\ce{H_2O}(\text{s})} = \mu^\star_{\ce{H_2O}(\text{l})}$$
Note: Chemical potentials are always dependent, to varying degrees, on both temperature and pressure, so I'm not going to bother writing $\mu(T, P)$ everywhere
On the following graph that's at $T_0$; the usual freezing point of water where the "pure water" and "ice" curves intersect. If water exists at a temperature lower than $T_0$, its higher chemical potential translates to a higher free energy, so it's thermodynamically driven towards freezing.
(image source: a website that is currently down; retrieved via the Web Archive)
If something non-volatile (e.g. salt) is dissolved in the water, its chemical potential changes to $\mu_i^\star+RT\ln \chi_i$, where $\mu_i^\star$ is the chemical potential of the pure species $i$, $R$ is the gas constant, and $\chi_i$ is the molar fraction of species $i$.
Originally, the fraction was $1.0$ (it was pure), and because $\ln1 = 0$, that term was ignored. But now, because some of the solution species is something else, $\chi_i$ drops, thus $\ln\chi_i$ becomes negative, so the term lowers the overall chemical potential. Because the chemical potential is lower, its free energy is lower, so it is thermodynamically more stable at lower temperatures. At some $T$, we will find that:
$$\mu_{\ce{H_2O}(\text{s})} = \mu_{\text{solution}} = \mu^\star_{\ce{H_2O}(\text{l})} + RT\ln\chi_i$$
And there, the two species will be in thermodynamic equilibrium.
For more, check this site, or Wikipedia articles on chemical potential and freezing point depression (a basic Physical Chemistry text book, or chapter in a Gen. Chem. one might be better; the WP articles are not that great to get started with).