[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Git-style aliases in Guix?
From: |
Ludovic Courtès |
Subject: |
Re: Git-style aliases in Guix? |
Date: |
Thu, 09 Mar 2017 11:53:17 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Mekeor Melire <address@hidden> 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 = address@hidden
> [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’.