Re: Problems when trying to install a package via guile API

2014-08-18 Thread Thompson, David
On Mon, Aug 18, 2014 at 11:13 AM, Mark H Weaver wrote: > l...@gnu.org (Ludovic Courtès) writes: > >> David Thompson skribis: >> >>> ERROR: In procedure #: >>> ERROR: Wrong type to apply: # >>> >>>0 (# #>> /gnu/store/mq7cx62…>) >> >> This looks like a miscompilation issue: it seems tha

Re: Problems when trying to install a package via guile API

2014-08-18 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: > David Thompson skribis: > >> ERROR: In procedure #: >> ERROR: Wrong type to apply: # >> >>0 (# #> /gnu/store/mq7cx62…>) > > This looks like a miscompilation issue: it seems that the module where > that happens didn’t have the ‘derivation?’ macr

Re: Problems when trying to install a package via guile API

2014-08-16 Thread Ludovic Courtès
David Thompson skribis: > ERROR: In procedure #: > ERROR: Wrong type to apply: # > >0 (# # /gnu/store/mq7cx62…>) This looks like a miscompilation issue: it seems that the module where that happens didn’t have the ‘derivation?’ macro visible at build time, and so at run-time it aborts

Re: Problems when trying to install a package via guile API

2014-08-13 Thread Alex Kost
Hello, David Thompson (2014-08-14 06:44 +0400) wrote: > Hello all, > > I'm trying to learn to use the Guix API to install packages so that I > can write a web frontend. However, I'm running into issues when trying > to create a derivation. > > Here's a problematic code snippet: > > (use-modules

Problems when trying to install a package via guile API

2014-08-13 Thread David Thompson
Hello all, I'm trying to learn to use the Guix API to install packages so that I can write a web frontend. However, I'm running into issues when trying to create a derivation. Here's a problematic code snippet: (use-modules (guix derivations) (guix monads) (guix packag