all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Mekeor Melire <mekeor.melire@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Git-style aliases in Guix?
Date: Thu, 09 Mar 2017 11:53:17 +0100	[thread overview]
Message-ID: <87o9xad8ma.fsf@gnu.org> (raw)
In-Reply-To: <87tw73dt8g.fsf@gmail.com> (Mekeor Melire's message of "Thu, 09 Mar 2017 04:27:59 +0100")

Mekeor Melire <mekeor.melire@gmail.com> 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 = example
>             email = example@example.example
>     [alias]
>             i = init
>             z = stash
>             s = 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’d be a Schemey config file and not a Git-style config file,
no argument here.  :-)

Ludo’.

  reply	other threads:[~2017-03-09 10:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-25 20:59 Git-style aliases in Guix? Alex Griffin
2017-02-26 21:15 ` Mekeor Melire
2017-02-27  5:54   ` John Darrington
2017-02-27  8:30     ` Mekeor Melire
2017-02-27 15:15       ` John Darrington
2017-02-27 19:01         ` Mekeor Melire
2017-03-08  8:53           ` Ludovic Courtès
2017-03-09  3:27             ` Mekeor Melire
2017-03-09 10:53               ` Ludovic Courtès [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-02-25 20:58 Alex Griffin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o9xad8ma.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=mekeor.melire@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.