[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 21:37:18 -0500 |
User-agent: |
K-9 Mail for Android |
Well, look at the location of that "src". You have ("src" (string-append …)).
That can't work, "src" is a string, not a function (that's what the error
message is trying to tell you).
Since you need two lists for the install-plan, you can fix that with:
#:install-plan
(list (list "src" (string-append …)))
Le 8 mars 2021 20:09:24 GMT-05:00, Raghav Gururajan <rg@raghavgururajan.name> a
écrit :
>Hi Julien!
>
>> Maybe quote it? #:include-regexp '("\\.h$")
>
>So I 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 get Wrong type to apply: "src"
>
>Regards,
>RG.
- Custom 'install phase, Raghav Gururajan, 2021/03/07
- Re: Custom 'install phase, Julien Lepiller, 2021/03/07
- Re: Custom 'install phase, Raghav Gururajan, 2021/03/08
- Re: Custom 'install phase, Ricardo Wurmus, 2021/03/08
- Re: Custom 'install phase, Raghav Gururajan, 2021/03/08
- Re: Custom 'install phase, Julien Lepiller, 2021/03/08
- Re: Custom 'install phase, Raghav Gururajan, 2021/03/08
- Re: Custom 'install phase,
Julien Lepiller <=
- Re: Custom 'install phase, Raghav Gururajan, 2021/03/08
- Re: Custom 'install phase, Raghav Gururajan, 2021/03/08
- Re: Custom 'install phase, Ricardo Wurmus, 2021/03/09
- Re: Custom 'install phase, Raghav Gururajan, 2021/03/09