Nikita Karetnikov <[email protected]> skribis:

> 'substitute*' fails to patch a binary and returns the following error

[...]

> ice-9/boot-9.scm:106:20: string contains #\nul character:

Yes, that is expected.  ‘substitute*’ is for textual files.

‘fold-port-matches’ from (guix build utils) can be used for binary files
(see ‘remove-store-references’ for an example use.)

HTH,
Ludo’.

Reply via email to