2022-03-22 / 16:16 / tuma...@163.com: > Mekeor Melire <mek...@posteo.de> writes: > >> 2022-03-21 / 21:57 / m...@tobias.gr: >> >>> Remove the quote after arguments (replace it with a plain LIST call) and >>> add #~ before (modify-phases ...) to define a gexp. >>> >>> Untested example: >>> >>> (arguments >>> (list #:tests? #f ; no tests >>> #:make-flags (list "CC=gcc") >>> #:phases >>> #~(modify-phases %standard-phases >>> (delete 'configure) >>> (add-after 'unpack 'patch-makefile >>> (lambda _ >>> (substitute* "Makefile" >>> (("/usr/local") >>> #$output))))))) >> >> With these changes I get this error: >> >> Wrong type to apply: "CC=gcc" > > What about #~(list "CC=gcc") or '(list "CC=gcc") ?
It works. Thank you :)