all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to permanently modify guix pull
@ 2019-09-23 19:39 brettg
  2019-09-23 20:43 ` John Soo
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: brettg @ 2019-09-23 19:39 UTC (permalink / raw)
  To: help-guix

Hey all, I am looking to try and modify where `guix pull` looks for the 
channels.scm file. I know about the -C flag, but is there a way to make 
this permanent so I do not have to append it manually? I would think 
maybe it would be part of the substitute urls like modifying the guix 
daemon service, but I can not find anything. Any help?

Brett Gilio

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to permanently modify guix pull
  2019-09-23 19:39 How to permanently modify guix pull brettg
@ 2019-09-23 20:43 ` John Soo
  2019-09-23 20:45 ` John Soo
  2019-09-24 17:34 ` zimoun
  2 siblings, 0 replies; 4+ messages in thread
From: John Soo @ 2019-09-23 20:43 UTC (permalink / raw)
  To: brettg; +Cc: help-guix

Hi Brett,

You can specify channels in ~/.config/guix/channels.scm. You specify a list of channels there as documented here: https://guix.gnu.org/manual/en/html_node/Channels.html

Good luck,

John

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to permanently modify guix pull
  2019-09-23 19:39 How to permanently modify guix pull brettg
  2019-09-23 20:43 ` John Soo
@ 2019-09-23 20:45 ` John Soo
  2019-09-24 17:34 ` zimoun
  2 siblings, 0 replies; 4+ messages in thread
From: John Soo @ 2019-09-23 20:45 UTC (permalink / raw)
  To: brettg; +Cc: help-guix

Hi again,

> Hey all, I am looking to try and modify where `guix pull` looks for the channels.scm file.

Sorry I misunderstood. I am not sure how to configure that. It may be looking for $XDG_HOME?

- John

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to permanently modify guix pull
  2019-09-23 19:39 How to permanently modify guix pull brettg
  2019-09-23 20:43 ` John Soo
  2019-09-23 20:45 ` John Soo
@ 2019-09-24 17:34 ` zimoun
  2 siblings, 0 replies; 4+ messages in thread
From: zimoun @ 2019-09-24 17:34 UTC (permalink / raw)
  To: brettg; +Cc: help-guix

Hi,

On Mon, 23 Sep 2019 at 21:40, <brettg@posteo.net> wrote:
>
> Hey all, I am looking to try and modify where `guix pull` looks for the
> channels.scm file. I know about the -C flag, but is there a way to make
> this permanent so I do not have to append it manually? I would think
> maybe it would be part of the substitute urls like modifying the guix
> daemon service, but I can not find anything. Any help?

I guess "guix pull" looks at:
 $XDG_CONFIG_HOME/.config/channels.scm

/.config is hard coded in "guix/utils.sm", see `config-directory'.
/channels is hard coded in "guix/scripts/pull.scm" see `default-file'

Hope that help.

simon

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-09-24 17:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-23 19:39 How to permanently modify guix pull brettg
2019-09-23 20:43 ` John Soo
2019-09-23 20:45 ` John Soo
2019-09-24 17:34 ` zimoun

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.