Subject: Re: bug#49128: [PATCH] services: Add file system utilities to profile.

From: Ludovic Courtès <[email-masked]>
Date: Thu, 24 Jun 2021 23:13:06 +0200

Hi,

Brice Waegeneire <[email-masked]> skribis:

> Fixes <https://issues.guix.gnu.org/issue/39505>.

Thanks for looking into it!

> * gnu/services/base.scm (file-system-type->utilities,
> file-system-utilities): New procedures.
> (file-system-service-type): Extend 'profile-service-type' with
> 'file-system-utilities'.
> * gnu/system.scm (boot-file-system-service): New procedure…
> (operating-system-default-essential-services): …use it.
> (%base-packages): Remove 'e2fsprogs'.
> * gnu/system/file-systems.scm (file-system): Add 'utilities?' field.

I think <file-system> is not a good place to specify whether one would
like utilities to be installed; <file-system> records represent
mountable file systems, and utilities installed in the profile are
conceptually unrelated.

Perhaps ‘file-system-service-type’ could extend ‘profile-service-type’
unconditionally, after all?

WDYT?

Ludo’.