The commit 5d693c84d2 cleaned up the substitute() function in stdenv and caused this line to fail.
5d693c84d2