[Top][All Lists]

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

Re: package definition: unbound variable ungexp

From: Ludovic Courtès
Subject: Re: package definition: unbound variable ungexp
Date: Tue, 11 Jun 2019 12:27:34 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)


"Reza Alizadeh Majd" <address@hidden> skribis:

>> can do is add an input with that code:
>> (inputs `(("test-plugin.yaml" ,(plain-file …))))
>> Then inside your build phase, simply install this input with:
>> (install-file (assoc-ref inputs "test-plugin.yaml") regpath)
>> Alternatively, you can write to the file directly in the phase:
>> (with-output-to-file (string-append regpath "/test-plugin.yaml")
>>   (lambda _
>>     (format #t "…")))
> Thanks, adding the file as an input solved the issue. 

Yes, that’s currently the only way.  What you wrote is not possible
because the package machinery does not use gexps yet.


reply via email to

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