From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Reza Alizadeh Majd" Subject: package definition: unbound variable ungexp Date: Sun, 09 Jun 2019 10:56:24 +0430 Message-ID: <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]:37318) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hZrHf-0002EQ-Fg for help-guix@gnu.org; Sun, 09 Jun 2019 02:26:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hZrHe-0003RW-Hk for help-guix@gnu.org; Sun, 09 Jun 2019 02:26:27 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:45909) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hZrHe-0003RB-8M for help-guix@gnu.org; Sun, 09 Jun 2019 02:26:26 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id D0AF321B6B for ; Sun, 9 Jun 2019 02:26:25 -0400 (EDT) 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: help-guix@gnu.org Hello Guix,=20 I want to create a plain file during package build and copy it to output= .=20 but using following definition, I receive error on during package instal= lation: --- CODE: --------------------------------------------------------------= ----------------------- (add-after 'install 'register-plugin (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (regpath (string-append out "/etc/px/accoun= ts/plugins")) (plugin-data (string-append "plugin:\n" = " name: " ,name "\n" = " version: " ,version "\n" = " type: python\n"))) (install-file #$(plain-file "test-plugin.yaml" plug= in-data) regpath)))) ------------------------------------------------------------------------= -------------------------- and error that I received during package build:=20 --- ERROR: -------------------------------------------------------------= ----------------------- starting phase `register-plugin' Backtrace: 8 (primitive-load "/gnu/store/fpj6577yfiiz40ci39bw8zzycsy=E2=80= =A6") In ice-9/eval.scm: 191:35 7 (_ #f) In srfi/srfi-1.scm: 863:16 6 (every1 # =E2=80=A6) In /gnu/store/4r04fsfcryy5h4v2h3g6lzlibafmmdjm-module-import/guix/build/= gnu-build-system.scm: 799:28 5 (_ _) In ice-9/eval.scm: 619:8 4 (_ #(#(#(#(#(#(#(#) =E2=80=A6) = =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6)) 159:9 3 (_ #(#(#(#(#(#(#(#) =E2=80=A6) = =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6)) 182:19 2 (proc #(#(#(#(#(#(#(#) =E2=80=A6) = =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6)) 142:16 1 (compile-top-call _ (7 . ungexp) ((10 (13 15 7 . #) # =E2=80= =A6))) In unknown file: 0 (%resolve-variable (7 . ungexp) #) ERROR: In procedure %resolve-variable: Unbound variable: ungexp ------------------------------------------------------------------------= -------------------------- does any one knows which package do I have to add in order to solve this= issue?=20 Best,=20 Reza