Hi Pjotr,

Pjotr Prins <pjotr.publi...@thebird.nl> skribis:

> I suspect this was introduced with bags.  When I use below Guile instruction 
> running
> from the CLI I get
>
> $2 = #<package python-3.3.5 gnu/packages/python.scm:49 3976210>
> scheme@(guile-user)> (package-derivation s python)
> ERROR: In procedure memoize-variable-access!:
> ERROR: Unbound variable: sha256

[...]

> In guix/utils.scm:
>    426:27  3 (derivation-hash #<derivation #f =>  2af8dc0>)
> In ice-9/eval.scm:
>     386:9  2 (eval #<memoized (sha256 (string->utf8 (derivation->string 
> <0>)))> (#<derivation #f ...> . #))
>    393:14  1 (eval #<memoized sha256> (#<derivation #f =>  2af8d70> () 
> (("out" . "")) (("out" . "")) . #))
> In unknown file:
>            0 (memoize-variable-access! #<memoized sha256> #<directory (guix 
> derivations) 27dc480>)

I can’t reproduce it.  Could it be that guix/derivations.scm was
modified in your local tree, such that it misses the
#:use-module (guix hash) line?  Is there a warning when compiling
guix/derivations.go?

Thanks,
Ludo’.

Reply via email to