Subject: Re: [PATCH] system: default-skeletons: Merge search-paths of multiple profiles.

From: 宋文武 <[email-masked]>
Date: Wed, 08 Feb 2023 15:20:44 +0800

Liliana Marie Prikler <[email-masked]> writes:

> Am Mittwoch, dem 08.02.2023 um 10:37 +0800 schrieb [email-masked]:
>> From: 宋文武 <[email-masked]>
>> 
>> Fixes <https://issues.guix/gnu.org/20255>.
>> 
>> * gnu/system/shadow.scm (default-skeletons)[bash_profile, zprofile]:
>> Merge search-paths from multiple profiles via "guix package".
>> ---
>>  gnu/system/shadow.scm | 24 ++++++++++++++++++++++--
>>  1 file changed, 22 insertions(+), 2 deletions(-)
>>  [...]

> Why not do this in /etc/profile?

It's easier to modify ~/.bash_profile If you don't like the way (eval!
and speed as disscussed in #20255).

Also this doesn't include home profiles, which a user likely want to add
them into "guix package -p ..." too.