[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: package definition: unbound variable ungexp
From: |
Reza Alizadeh Majd |
Subject: |
Re: package definition: unbound variable ungexp |
Date: |
Sun, 09 Jun 2019 14:16:00 +0430 |
User-agent: |
Cyrus-JMAP/3.1.6-663-gf46ad30-fmstable-20190607v1 |
Hi,
> 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.
Regards,
Reza