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)