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

Reply via email to