I just wrote a section on how you can fix problems with a build by
using -K and git. The example is CMake here, but the strategy is
generic:
https://github.com/pjotrp/guix-notes/blob/master/HACKING.org#fixing-problems
Git can help create a patch which can be used in Guix to patch the
source.
Pj.