How to modify source code of a package before building

you can try adding a patch file to patches or adding a postPatch hook

yes a hook is just a string of commands to run

1 Like