unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: sirgazil <sirgazil@zoho.com>
To: help-guix@gnu.org
Subject: Using Guix API in a foreign distribution
Date: Sat, 15 Apr 2017 09:46:31 -0500	[thread overview]
Message-ID: <db87f7f3-7024-c4f7-27de-a162920caf94@zoho.com> (raw)

Hi,

I'm using Guix 20170415.01 (binary installation) on Debian 8, and I was
hoping to use the Guix API by installing the guix package as a normal
user, but it seems Guile can't find guix modules:

----------------------------------------------------------------------

$ guile
GNU Guile 2.2.0
Copyright (C) 1995-2017 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> (use-modules (guix packages))
While compiling expression:
ERROR: no code for module (guix packages)

----------------------------------------------------------------------

I'm using Guile from Guix, and I have all the environment variables set
as suggested by "guix package --search-paths". Also, I can install Guile
libraries from Guix and Guile finds them without problems.

So, is anyone able to use the Guix API in this way, or do you have to
clone the Guix repository for that?


Thanks,

---

https://sirgazil.bitbucket.io/

             reply	other threads:[~2017-04-15 14:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-15 14:46 sirgazil [this message]
2017-04-15 23:04 ` Using Guix API in a foreign distribution Chris Marusich
2017-04-16  3:14   ` sirgazil
2017-04-16  9:25     ` Ludovic Courtès
2017-04-16 14:27       ` sirgazil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=db87f7f3-7024-c4f7-27de-a162920caf94@zoho.com \
    --to=sirgazil@zoho.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).