Hi Marc, On Tue, Feb 20 2024, Marc Coquand wrote:
> I need to change the prefix to be the guix out directory To override the variable assigned in the Makefile [1] you are right to offer it as an argument to 'make'. [2] I'm not sure why that's not working. I would just replace it in situ: #:phases (modify-phases %standard-phases (add-after 'unpack 'fix-prefix (lambda _ (substitute* "Makefile" (("/usr/local") $output))))) Kind regards Felix [1] https://github.com/pganalyze/libpg_query/blob/1ec38940e5c6f09a4c1d17a46d839a881c4f2db7/Makefile#L311 [2] https://www.gnu.org/software/make/manual/make.html#Overriding