From mboxrd@z Thu Jan 1 00:00:00 1970 From: ison Subject: Re: A few questions about channels Date: Mon, 6 May 2019 15:13:30 -0600 Message-ID: <20190506211330.o4k4de6il2byu4lb@cf0> References: <20190424224654.td7fwnjjf4hnguyc@cf0> <87woj4xo72.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([209.51.188.92]:60600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNkvg-0005mL-Tk for help-guix@gnu.org; Mon, 06 May 2019 17:13:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hNkvf-0007qH-E7 for help-guix@gnu.org; Mon, 06 May 2019 17:13:44 -0400 Received: from [2a06:1700:0:b:1::1] (port=46160 helo=cock.li) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hNkve-0007o6-T1 for help-guix@gnu.org; Mon, 06 May 2019 17:13:43 -0400 Content-Disposition: inline In-Reply-To: <87woj4xo72.fsf@gmail.com> 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: Chris Marusich Cc: help-guix@gnu.org > This should work just like it would for GUIX_PACKAGE_PATH. Are you > saying that the patch files you have created in your channel are not > being found? Correct, they're not being found. But I do not have the variable $GUIX_PACKAGE_PATH set, because I thought it was being deprecated. Do I need it to make patches work? Everything else seems to work without it except patches. So for example, if I create a repository with directory structure: * gnu/packages for .scm package files * gnu/packages/patches for .patch files then the packages are correctly added and I can install them like any other package. But if I add a .patch file into the patches directory and reference it with (search-patches "filename.patch") it can't find it. I have also tried various other combinations of the patches directory, including placing patches in with the package files, placing everything at the root of the repo, etc. Perhaps I still just haven't found the right directory structure? Also in case it matters, I think the patch format is correct as well, because it succeeds if I don't use search-patches and instead just supply the full path to the patch file. > Actually, you can also just write "/home/myuser/src/my-guix-packages". > The "file://" part is fine to add, but it is not necessary. I think > (but am not sure) that you can use any protocol understood by Git here. Oh, I feel silly for not having tried this. Thanks. As for the authentication issue, as long as I can do a local repository that's all I need personally. So I have no strong opinions on how best to handle it. Thanks for the replies