From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:39139) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmFH5-00015z-IO for guix-patches@gnu.org; Sat, 13 Jul 2019 06:29:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hmFH4-0002Jp-MF for guix-patches@gnu.org; Sat, 13 Jul 2019 06:29:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60911) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hmFH4-0002Jf-Ih for guix-patches@gnu.org; Sat, 13 Jul 2019 06:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hmFH4-0002EQ-DG for guix-patches@gnu.org; Sat, 13 Jul 2019 06:29:02 -0400 Subject: [bug#36563] [PATCH] guix: Add directory to channel. Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <878st7dn7b.fsf@gnu.org> Date: Sat, 13 Jul 2019 12:28:41 +0200 In-Reply-To: <878st7dn7b.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Tue, 09 Jul 2019 21:26:00 +0200") Message-ID: <87lfx29qjq.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Jan Nieuwenhuizen Cc: 36563@debbugs.gnu.org Hello! Jan Nieuwenhuizen skribis: > I commonly use a "guix/" subdirectory in upstream that contains updated > or modified packages. The toplevel `guix.scm' then uses those package > definitions. > > It would be nice if I could use that "guix/" subdirectory directly in a > channel. This means a channel definition should look in a subdirectory > only: often an upstream source archive contains .scm files that do not > compile (guix.scm, build-aux/*.scm, etc.) That makes a lot of sense to me. I think that, instead of letting the user specify the right directory in ~/.config/guix/channels.scm, it should be the channel author that specifies the sub-directory. There=E2=80=99s already support for a =E2=80=98.guix-channel=E2=80=99 file = so this is where this =E2=80=98directory=E2=80=99 thing could be added (actually there=E2=80=99s = a FIXME in channels.scm about this particular use case :-)). WDYT? Ludo=E2=80=99.