https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-supp...
In Guix grafts are used rather extensively, mainly for security updates, but also command-line transformations such as "--with-debug-info".
More importantly, it's not enough to implement grafts because it's not recursive, as discussed at https://guix.gnu.org/en/blog/2016/timely-delivery-of-securit... .
https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-supp...