Pierre Neidhardt <m...@ambrevar.xyz> skribis: > I'm not familiar with the grafting code, so anyone who is (Mark? Ludo?) > might be able to fix this much quicker than me! :)
There’s ‘%graft-hooks’ in (guix build graft). One could add a hook that would do nothing except for SBCL packages; for SBCL packages, it would to the UCS-4 rewriting “somehow”. The other option, which might be easier, would be to arrange to not use UCS-4 in the first place, by choosing a bytevector data type for string literals known to contain a store reference. It can be done if we know where those references come from—e.g., they’re introduced by ‘substitute*’ on the source. I hope this makes sense! Ludo’.