From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Git-style aliases in Guix? Date: Thu, 09 Mar 2017 11:53:17 +0100 Message-ID: <87o9xad8ma.fsf@gnu.org> References: <1488056366.2392643.892804736.71478AA0@webmail.messagingengine.com> <877f4c1wo1.fsf@gmail.com> <20170227055436.GA5200@jocasta.intra> <87d1e4ave8.fsf@gmail.com> <20170227151517.GA9476@jocasta.intra> <87o9xna257.fsf@gmail.com> <87h934no89.fsf@gnu.org> <87tw73dt8g.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48514) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clvhD-0007ck-Pe for guix-devel@gnu.org; Thu, 09 Mar 2017 05:53:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1clvh9-0004Xh-P1 for guix-devel@gnu.org; Thu, 09 Mar 2017 05:53:23 -0500 In-Reply-To: <87tw73dt8g.fsf@gmail.com> (Mekeor Melire's message of "Thu, 09 Mar 2017 04:27:59 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Mekeor Melire Cc: guix-devel@gnu.org Mekeor Melire skribis: > What I really mean to say is, that it'd be a shame, if Guix had a > configuration file like Git which uses this syntax: > > [user] > name =3D example > email =3D example@example.example > [alias] > i =3D init > z =3D stash > s =3D status > > I mean, all the files Guix reads are written in Scheme (config.scm, > manifest.scm, any package.scm). So, how could it work that Guix was > configured in Scheme? > > Is there any way we could make config.scm include a similar data-type as > `operating-system`, maybe called `guix-configuration` or whatever, which > has a field called `aliases`? > > I mean, implementing aliases isn't per-se difficult. But I'd love to > have a much broader approach to configure Guix (and Guix' CLI). Sure, that=E2=80=99d be a Schemey config file and not a Git-style config fi= le, no argument here. :-) Ludo=E2=80=99.