--- Begin Message ---
Subject: |
[PATCH 0/5] Add declarative profiles |
Date: |
Wed, 22 Apr 2020 17:06:41 +0200 |
Hello Guix!
This patch set introduces “declarative profiles” or, in other words,
a way to declare a profile and use it in a gexp without calling
‘profile-derivation’, fiddling with ‘%store-monad’ and all that.
The goals are:
1. To provide a simpler programming interface, reducing the need
to resort to ‘%store-monad’, and making it usable in a wider
range of contexts (see for example
<https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/system/hurd.scm?h=core-updates&id=5084fd38541a5fc233f3299e10a33c3a38a7173f>).
2. To potentially improve high-level caching in the object cache
as well as “parallelism” (see <https://bugs.gnu.org/40612>).
Feedback welcome!
Ludo’.
Ludovic Courtès (5):
profiles: Add lowerable <profile> record type.
system: 'operating-system-directory-base-entries' uses 'profile'.
services: profile: Use a declarative profile.
pack: Use a declarative profile.
services: system: Initial entries are non-monadic.
gnu/services.scm | 13 ++++++------
gnu/system.scm | 27 ++++++++++++-------------
gnu/system/linux-container.scm | 6 ++----
guix/profiles.scm | 36 ++++++++++++++++++++++++++++++++++
guix/scripts/pack.scm | 33 +++++++++++++++----------------
tests/profiles.scm | 13 +++++++++++-
6 files changed, 84 insertions(+), 44 deletions(-)
--
2.26.0
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#40770] [PATCH 0/5] Add declarative profiles |
Date: |
Sun, 26 Apr 2020 22:51:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hey!
Mathieu Othacehe <address@hidden> skribis:
> This is really nice and it all looks good to me. Any reason not to use
> it in "package-cache-file" to get rid of the mlet?
Done and pushed as ccbc427f9ac8f63478f1692686b042a22c4df2c3.
Christopher Baines <address@hidden> skribis:
> This sounds great, I use Emacs in a profile for rending .org files with
> cgit, and it took a bit of fiddling to get the profile built
> properly. This'll probably make it a lot easier!
Great! I think there are many cases where being unable to simply insert
a profile in a gexp was a hindrance.
Ludo’.
--- End Message ---