[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to replace %output with #$output?

From: Tobias Geerinckx-Rice
Subject: Re: How to replace %output with #$output?
Date: Mon, 21 Mar 2022 21:57:19 +0000

Hi Mekeor,

Remove the quote after arguments (replace it with a plain LIST call) and add #~ 
before (modify-phases ...) to define a gexp.

Untested example:

      (list #:tests? #f ; no tests
             #:make-flags (list "CC=gcc")
             #~(modify-phases %standard-phases
                 (delete 'configure)
                 (add-after 'unpack 'patch-makefile
                   (lambda _
                     (substitute* "Makefile"

Also, newlines after ( make the baby Jesus cry.

So does hard-coding 'gcc' over using (cc-for-target).

Very strong opinions on Scheme coding style, that boy.

Kind regards,


Sent on the go.  Excuse or enjoy my brevity.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]