all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Alexey Shrub <ashrub@yandex.ru>
Cc: "bug-guix@gnu.org" <bug-guix@gnu.org>
Subject: Re: Own guix repository (channel)
Date: Tue, 04 Dec 2012 17:15:39 +0100	[thread overview]
Message-ID: <87hao1ssic.fsf@gnu.org> (raw)
In-Reply-To: <604181354616383@web16d.yandex.ru> (Alexey Shrub's message of "Tue, 04 Dec 2012 14:19:43 +0400")

Hi,

Alexey Shrub <ashrub@yandex.ru> skribis:

> For example, package01 depend on package02, package01 described by Scheme file in current directory,
> if I do
> guix-package --install=package01
> where guix will search package02? In current directory too?

Currently, guix-package and guix-build look for packages in the
(distro packages ...) modules.  More precisely, they look for all the
variables exported by all these modules that match ‘package?’, and pick
up one that has the right name.

In your case, package01 would have to be defined and exported in a
module named (distro packages XXX).  That module must be in Guile’s
search path (info "(guile) Load Paths").

Does it answer your question?

Ludo’.

      reply	other threads:[~2012-12-04 16:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-04  7:13 Own guix repository (channel) Alexey Shrub
2012-12-04  9:40 ` Ludovic Courtès
2012-12-04 10:19   ` Alexey Shrub
2012-12-04 16:15     ` Ludovic Courtès [this message]

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

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

  git send-email \
    --in-reply-to=87hao1ssic.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=ashrub@yandex.ru \
    --cc=bug-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.
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.