unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* an env with guile packages in it
@ 2018-05-03  8:51 Catonano
  2018-05-03  8:56 ` Pierre Neidhardt
  0 siblings, 1 reply; 3+ messages in thread
From: Catonano @ 2018-05-03  8:51 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 1361 bytes --]

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 #<catch-closure 2598ac0>)
In ice-9/boot-9.scm:
    705:2 12 (call-with-prompt ("prompt") #<procedure 259f620 at ic…> …)
In ice-9/eval.scm:
    619:8 11 (_ #(#(#<directory (guile-user) 2644140>)))
In ice-9/command-line.scm:
   181:18 10 (_ #<input: string 2661a80>)
In unknown file:
           9 (eval (use-modules (guile-sqlite3)) #<directory (guile-…>)
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))) _ _ …)
  1182:24  6 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
   285:10  5 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) …)
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 _ # _ …)
In unknown file:
           0 (scm-error misc-error #f "~A ~S" ("no code for modu…" …) …)

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

[-- Attachment #2: Type: text/html, Size: 1681 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: an env with guile packages in it
  2018-05-03  8:51 an env with guile packages in it Catonano
@ 2018-05-03  8:56 ` Pierre Neidhardt
  2018-05-03  9:12   ` Catonano
  0 siblings, 1 reply; 3+ messages in thread
From: Pierre Neidhardt @ 2018-05-03  8:56 UTC (permalink / raw)
  To: Catonano; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 271 bytes --]


Catonano <catonano@gmail.com> writes:

> [env]$ guile -c "(use-modules (guile-sqlite3))"

Haven't tested, but are you sure about the "-" here?  I think it should be

	(use-modules (guile sqlite3))

or maybe

	(use-modules (sqlite3))

-- 
Pierre Neidhardt

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: an env with guile packages in it
  2018-05-03  8:56 ` Pierre Neidhardt
@ 2018-05-03  9:12   ` Catonano
  0 siblings, 0 replies; 3+ messages in thread
From: Catonano @ 2018-05-03  9:12 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 402 bytes --]

2018-05-03 10:56 GMT+02:00 Pierre Neidhardt <ambrevar@gmail.com>:

>
> Catonano <catonano@gmail.com> writes:
>
> > [env]$ guile -c "(use-modules (guile-sqlite3))"
>
> Haven't tested, but are you sure about the "-" here?  I think it should be
>
>         (use-modules (guile sqlite3))
>
> or maybe
>
>         (use-modules (sqlite3))
>

yes, it's just (use-modules (sqlite3))

Sorry for the fuss
Thanks

[-- Attachment #2: Type: text/html, Size: 902 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-05-03  9:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-03  8:51 an env with guile packages in it Catonano
2018-05-03  8:56 ` Pierre Neidhardt
2018-05-03  9:12   ` Catonano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).