Hey Marco,
that llvm.scm change is actually irrelevant to the problem. There will never be cc in the llvm package itself before the condition. It occurs prior to the profile merging. There is no fhs in that case so checking for /bin/cc does not make sense, moreover it could pose a problem if one built without a sandbox on a foreign distro. Then the package output could differ because /bin/gcc or /bin/c++ exist. As for the change in environment.scm, that is indeed what causes the issue. Since there is an if already, maybe it would make sense to not introduce another condition statement, but to extend the existing if? Regards, Rutherther