all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#32456: Guile failed to call package-derivation without pre-inst-env
@ 2018-08-16 16:09 Oleg Pykhalov
  2018-08-20  9:55 ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: Oleg Pykhalov @ 2018-08-16 16:09 UTC (permalink / raw)
  To: 32456

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

Hello Guix,

I have an issue with ‘package-derivation’ procedure.  When I use Guile
from my user's profile I get an error but not when I use ‘pre-inst-env’.

The %load-path is differ only in /home/natsu/src/guix when pre-inst-env.

guix (GNU Guix) 689aacc12f1d9c0b511e2010185b2e7a80de5201

--8<---------------cut here---------------start------------->8---
natsu@magnolia ~$ guile
GNU Guile 2.2.4
…
scheme@(guile-user)> (use-modules (guix) (guix ui) (guix store))
scheme@(guile-user)> (define c (open-connection))
scheme@(guile-user)> (package-derivation c (@@ (gnu packages base) hello))
guix/store.scm:928:31: In procedure add-to-store: Throw to key `srfi-34' with args `(#<condition &nix-protocol-error [message: "regular file expected" status: 1] 28703c0>)'.
Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
scheme@(guile-user) [1]> ,q

natsu@magnolia ~$ ~/src/guix/pre-inst-env guile
GNU Guile 2.2.4
…
scheme@(guile-user)> (use-modules (guix) (guix ui) (guix store))
scheme@(guile-user)> (define c (open-connection))
scheme@(guile-user)> (package-derivation c (@@ (gnu packages base) hello))
$1 = #<derivation /gnu/store/grd5g9m671nhrzl285c64npwlsy3prz2-hello-2.10.drv => /gnu/store/bihfrh609gkxb9dp7n96wlpigiv3krfy-hello-2.10 3c6d8c0>
--8<---------------cut here---------------end--------------->8---

Oleg.

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

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

end of thread, other threads:[~2018-08-22 21:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-16 16:09 bug#32456: Guile failed to call package-derivation without pre-inst-env Oleg Pykhalov
2018-08-20  9:55 ` Ludovic Courtès
2018-08-20 20:42   ` Oleg Pykhalov
2018-08-21 10:05     ` Ludovic Courtès
2018-08-21 21:02       ` Oleg Pykhalov
2018-08-22 13:32         ` Ludovic Courtès
2018-08-22 21:11           ` Oleg Pykhalov

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.