guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guile ERROR: Unbound variable: sha256


From: Ludovic Courtès
Subject: Re: guile ERROR: Unbound variable: sha256
Date: Mon, 27 Oct 2014 10:18:37 +0100
User-agent: Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux)

Hi Pjotr,

Pjotr Prins <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]