unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: ng0 <ng0@pragmatique.xyz>
Cc: 26848@debbugs.gnu.org
Subject: bug#26848: procedure resolve-interface finds no code for GUIX_PACKAGE_PATH modules which are otherwise working
Date: Tue, 09 May 2017 22:05:16 +0300	[thread overview]
Message-ID: <8760h9df6b.fsf@gmail.com> (raw)
In-Reply-To: <20170508222419.xmrhxru4e56gwvsr@abyayala> (ng0@pragmatique.xyz's message of "Mon, 8 May 2017 22:24:19 +0000")

ng0 (2017-05-08 22:24 +0000) wrote:

> [user@abyayala ~/src/packages]$ sudo guix system reconfigure /etc/config.scm
> guix system: error: failed to load '/etc/config.scm':
> ice-9/boot-9.scm:2903:6: In procedure resolve-interface:
> ice-9/boot-9.scm:2903:6: no code for module (ng0 packages personalized)
>
>
> [user@abyayala ~/src/packages]$ env | grep "PACKAGE"
> GUIX_PACKAGE_PATH=/home/user/src/packages
>
> From /etc/config.scm first two lines:
>
> (use-modules (gnu) (guix) (gnu system nss)
>              (ng0 packages personalized))
>
> This is used to reference "ii-ssl" in (packages),
> which comes from the module in
> https://git.pragmatique.xyz/ng0-packages/log.html
>
> and which can be installed and used by the users.
>
> Running "guix system build /etc/config.scm" with this
> succeeds, just the "sudo guix system reconfigure /etc/config.scm"
> produces this error.

When you run "sudo ..." like this, the environment is not preserved,
thus GUIX_PACKAGE_PATH is not set for that reconfigure command.  Try to
run it like this:

  sudo -E guix system reconfigure /etc/config.scm"

-- 
Alex

  reply	other threads:[~2017-05-09 19:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-08 22:24 bug#26848: procedure resolve-interface finds no code for GUIX_PACKAGE_PATH modules which are otherwise working ng0
2017-05-09 19:05 ` Alex Kost [this message]
2020-06-10 18:28 ` bug#26848: Status: " Royce Strange

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=8760h9df6b.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=26848@debbugs.gnu.org \
    --cc=ng0@pragmatique.xyz \
    /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.
Code repositories for project(s) associated with this public inbox

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

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).