[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#28699: [PATCH] pull: Add GUIX_PULL_URL environment variable.

From: Ludovic Courtès
Subject: bug#28699: [PATCH] pull: Add GUIX_PULL_URL environment variable.
Date: Sat, 07 Oct 2017 22:41:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello Oleg,

Oleg Pykhalov <address@hidden> skribis:

> address@hidden (Ludovic Courtès) writes:
>> Oleg Pykhalov <address@hidden> skribis:
>>> From 2638c08eef0e8c173111ced6bbc95167f6130fd7 Mon Sep 17 00:00:00 2001
>>> From: Oleg Pykhalov <address@hidden>
>>> Date: Wed, 4 Oct 2017 12:01:41 +0300
>>> Subject: [PATCH] pull: Add GUIX_PULL_URL environment variable.
>>> * guix/scripts/pull.scm (%repository-url): Add GUIX_PULL_URL environment
>>>   variable.
>>> * doc/guix.texi (Invoking guix pull): Mention GUIX_PULL_URL.
>> I’m not entirely convinced, especially with a look on “channels”, which
>> would provide a way to persistently register repo URLs.
> Interesting.  I didn't know about channels before you mention.

It’s still a collective pipe dream at this stage, but we’ll get there.

>> OTOH, I see that it can be convenient in the short-term for someone
>> using a repo other than the default one.
>> Thoughts?
> So, as we don't have channels yet, then I think it's a useful patch.
> Because I cannot use 'guix pull --url=URL' when I use 'M-x guix pull' in
> GNU Emacs.

Yeah, that makes sense.

Applied with the changes below, thank you!


diff --git a/doc/guix.texi b/doc/guix.texi
index 641e39d9e..7b5b71179 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -2532,9 +2532,10 @@ Produce verbose output, writing build logs to the 
standard error output.
 @item address@hidden
 Download Guix from the Git repository at @var{url}.
address@hidden GUIX_PULL_URL
 By default, the source is taken from its canonical Git repository at
 @code{}, for the stable branch of Guix.  To use a different source,
-provide @code{GUIX_PULL_URL} environment variable.
+set the @code{GUIX_PULL_URL} environment variable.
 @item address@hidden
 Deploy @var{commit}, a valid Git commit ID represented as a hexadecimal

reply via email to

[Prev in Thread] Current Thread [Next in Thread]