From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Reza Alizadeh Majd" Subject: Re: package definition: unbound variable ungexp Date: Sun, 09 Jun 2019 14:16:00 +0430 Message-ID: <98e82fed-6cdc-436a-958c-92e420ac288a@www.fastmail.com> References: <3129e7be-1108-4ca5-95f6-93107dd0c9d2@www.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:40338) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hZuOs-0006XP-Lx for help-guix@gnu.org; Sun, 09 Jun 2019 05:46:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hZuOq-00077s-J6 for help-guix@gnu.org; Sun, 09 Jun 2019 05:46:06 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:33863) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hZuOo-00076k-Iw for help-guix@gnu.org; Sun, 09 Jun 2019 05:46:02 -0400 In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Julien Lepiller , help-guix@gnu.org Hi,=20 > can do is add an input with that code: >=20 > (inputs `(("test-plugin.yaml" ,(plain-file =E2=80=A6)))) >=20 > Then inside your build phase, simply install this input with: >=20 > (install-file (assoc-ref inputs "test-plugin.yaml") regpath) >=20 > Alternatively, you can write to the file directly in the phase: >=20 > (with-output-to-file (string-append regpath "/test-plugin.yaml") > (lambda _ > (format #t "=E2=80=A6"))) > Thanks, adding the file as an input solved the issue.=20 Regards,=20 Reza