Hi Andreas,
I had a similar problem with my Arch Linux work machine. I installed Guix (as in running guix-daemon on a foreign distro) on my Arch work machine, and used Guix to manage the unison package alone. That way, I always had matching versions. But, you do need root privileges on your work machine to pull this off. It's weird that unison expects to be built with the same compiler version, but it's very nice that Guix can handle this sort of thing reliably. :-) Regards, Arun