unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Mathieu Othacehe <othacehe@gnu.org>
Cc: 42735@debbugs.gnu.org, GNUtoo@cyberdimension.org
Subject: [bug#42735] [PATCH] pre-inst-env: don't use GUIX_PACKAGE_PATH
Date: Fri, 14 Aug 2020 13:16:09 +0200	[thread overview]
Message-ID: <87h7t532bq.fsf@elephly.net> (raw)
In-Reply-To: <87mu36onjj.fsf@gnu.org>


Mathieu Othacehe <othacehe@gnu.org> writes:

> Hello Denis,
>
>> ./pre-inst-env is supposed to use only the packages definitions that are in
>> the guix source tree and not the host packages.
>>
>> However if GUIX_PACKAGE_PATH is set, it will use host packages as well.
>
> Let say you have a custom my-hello package inheriting from hello, and
> you want to build it on top of a recent Guix checkout, then you probably
> want GUIX_PACKAGE_PATH to cooperate with pre-inst-env.

That’s primarily how I use GUIX_PACKAGE_PATH: for development.  If you
have GUIX_PACKAGE_PATH set for any other reasons you should consider
using channels instead.

-- 
Ricardo




      parent reply	other threads:[~2020-08-14 11:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-07  2:21 [bug#42735] [PATCH] pre-inst-env: don't use GUIX_PACKAGE_PATH Denis 'GNUtoo' Carikli
2020-08-07  3:46 ` Brett Gilio
2020-08-07  6:02   ` Denis 'GNUtoo' Carikli
2020-08-07  8:41 ` Mathieu Othacehe
2020-08-09  9:09   ` Denis 'GNUtoo' Carikli
2020-08-14 10:00     ` bug#42735: " Oleg Pykhalov
2020-08-14 11:16   ` Ricardo Wurmus [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

  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=87h7t532bq.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=42735@debbugs.gnu.org \
    --cc=GNUtoo@cyberdimension.org \
    --cc=othacehe@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 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).