help-guix
[Top][All Lists]
Advanced

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

Re: Custom 'install phase


From: Julien Lepiller
Subject: Re: Custom 'install phase
Date: Mon, 08 Mar 2021 06:45:53 -0500
User-agent: K-9 Mail for Android

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

Le 8 mars 2021 04:35:28 GMT-05:00, Raghav Gururajan <rg@raghavgururajan.name> 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

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