From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: Re: How to permanently modify guix pull Date: Tue, 24 Sep 2019 19:34:34 +0200 Message-ID: References: <8852ecf76340e7c9e72cd6ff34bd7130@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42905) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCoi7-00029H-Em for help-guix@gnu.org; Tue, 24 Sep 2019 13:34:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCoi6-0001Ki-Hk for help-guix@gnu.org; Tue, 24 Sep 2019 13:34:47 -0400 Received: from mail-qk1-x731.google.com ([2607:f8b0:4864:20::731]:46912) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iCoi6-0001KV-E7 for help-guix@gnu.org; Tue, 24 Sep 2019 13:34:46 -0400 Received: by mail-qk1-x731.google.com with SMTP id 201so2584465qkd.13 for ; Tue, 24 Sep 2019 10:34:46 -0700 (PDT) In-Reply-To: <8852ecf76340e7c9e72cd6ff34bd7130@posteo.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: brettg@posteo.net Cc: help-guix Hi, On Mon, 23 Sep 2019 at 21:40, 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