The only code that is shared is the build daemon which is written in C++.  Guix uses a fork of the Nix daemon, occasionally cherry picking patches from Nix.  C++ is a pain, so in the future this daemon will be replaced by one written in pure Guile.