Maybe quote it? #:include-regexp '("\\.h$")

Le 8 mars 2021 04:35:28 GMT-05:00, Raghav Gururajan <[email protected]> 
a écrit :
>Hi Ricardo!
>
>> The (string-append …) is quoted.  Is this on purpose?
>> 
>>>                 #t))
>> 
>> Note that we no longer need to end phases on #t.
>
>Oops, I meed to change that to (list. I now did:
>
>```
>            (replace 'install
>              (lambda _
>                (for-each (lambda (solution)
>                            (with-directory-excursion solution
>                            ((assoc-ref copy:%standard-phases 'install)
>                                        #:install-plan
>                                        (list ("src" (string-append 
>"include/" solution)
>                                        #:include-regexp ("\\.h$"))))))
>                          (list
>                           "qtlockedfile"
>                           "qtpropertybrowser"
>                           "qtservice"
>                           "qtsingleapplication"
>                           "qtsoap"))))
>```
>
>I now get Wrong type to apply: "\\.h$"
>
>Regards,
>RG.

Reply via email to