[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#40770] [PATCH 0/5] Add declarative profiles

From: Ludovic Courtès
Subject: [bug#40770] [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

  2. To potentially improve high-level caching in the object cache
     as well as “parallelism” (see <>).

Feedback welcome!


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(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]