From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: an env with guile packages in it Date: Thu, 3 May 2018 10:51:22 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000d9901f056b494ebb" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fE9xV-0007ko-La for help-guix@gnu.org; Thu, 03 May 2018 04:51:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fE9xU-0002Bg-Qr for help-guix@gnu.org; Thu, 03 May 2018 04:51:25 -0400 Received: from mail-yb0-x235.google.com ([2607:f8b0:4002:c09::235]:42780) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fE9xU-0002BN-Jk for help-guix@gnu.org; Thu, 03 May 2018 04:51:24 -0400 Received: by mail-yb0-x235.google.com with SMTP id 140-v6so6239287ybc.9 for ; Thu, 03 May 2018 01:51:24 -0700 (PDT) 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 --000000000000d9901f056b494ebb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable if I do $ guix environment --ad-hoc guile guile-sqlite3 and then I do [env]$ guile -c "(use-modules (guile-sqlite3))" I get Backtrace: 13 (apply-smob/1 #) In ice-9/boot-9.scm: 705:2 12 (call-with-prompt ("prompt") # =E2=80=A6) In ice-9/eval.scm: 619:8 11 (_ #(#(#))) In ice-9/command-line.scm: 181:18 10 (_ #) In unknown file: 9 (eval (use-modules (guile-sqlite3)) #) In ice-9/eval.scm: 721:20 8 (primitive-eval (use-modules (guile-sqlite3))) In ice-9/psyntax.scm: 1235:36 7 (expand-top-sequence ((use-modules (guile-sqlite3))) _ _ =E2= =80=A6) 1182:24 6 (parse _ (("placeholder" placeholder)) ((top) #(# # =E2=80=A6)= ) =E2=80=A6) 285:10 5 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) =E2= =80=A6) In ice-9/boot-9.scm: 3365:20 4 (process-use-modules _) 222:17 3 (map1 (((guile-sqlite3)))) 3366:31 2 (_ ((guile-sqlite3))) 2791:6 1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ =E2=80= =A6) In unknown file: 0 (scm-error misc-error #f "~A ~S" ("no code for modu=E2=80=A6" = =E2=80=A6) =E2=80=A6) ERROR: In procedure scm-error: no code for module (guile-sqlite3) is this expected ? How am I supposed to access guile dependencies ? Thanks in advance --000000000000d9901f056b494ebb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
if I do

$ guix environment= --ad-hoc guile guile-sqlite3

and then I do

[env]$ guil= e -c "(use-modules (guile-sqlite3))"

I get

Ba= cktrace:
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 13 (appl= y-smob/1 #<catch-closure 2598ac0>)
In ice-9/boot-9.scm:
=C2=A0= =C2=A0=C2=A0 705:2 12 (call-with-prompt ("prompt") #<procedure= 259f620 at ic=E2=80=A6> =E2=80=A6)
In ice-9/eval.scm:
=C2=A0=C2= =A0=C2=A0 619:8 11 (_ #(#(#<directory (guile-user) 2644140>)))
In = ice-9/command-line.scm:
=C2=A0=C2=A0 181:18 10 (_ #<input: string 266= 1a80>)
In unknown file:
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 9 (eval (use-modules (guile-sqlite3)) #<directory (gu= ile-=E2=80=A6>)
In ice-9/eval.scm:
=C2=A0=C2=A0 721:20=C2=A0 8 (pr= imitive-eval (use-modules (guile-sqlite3)))
In ice-9/psyntax.scm:
=C2= =A0 1235:36=C2=A0 7 (expand-top-sequence ((use-modules (guile-sqlite3))) _ = _ =E2=80=A6)
=C2=A0 1182:24=C2=A0 6 (parse _ (("placeholder" p= laceholder)) ((top) #(# # =E2=80=A6)) =E2=80=A6)
=C2=A0=C2=A0 285:10=C2= =A0 5 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval= ) =E2=80=A6)
In ice-9/boot-9.scm:
=C2=A0 3365:20=C2=A0 4 (process-use= -modules _)
=C2=A0=C2=A0 222:17=C2=A0 3 (map1 (((guile-sqlite3))))
= =C2=A0 3366:31=C2=A0 2 (_ ((guile-sqlite3)))
=C2=A0=C2=A0 2791:6=C2=A0 1= (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ =E2=80=A6)
In u= nknown file:
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 0 (scm-error misc-error #f "~A ~S" ("no code for modu=E2= =80=A6" =E2=80=A6) =E2=80=A6)

ERROR: In procedure scm-error:no code for module (guile-sqlite3)




is this expect= ed ?

How am I supposed to access guile dependencies ?

=
Thanks in advance
--000000000000d9901f056b494ebb--