From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: Profiles/manifests-related command line interface enhancements Date: Tue, 5 Nov 2019 10:09:44 +0100 Message-ID: <6b536ea5-69f0-c368-d164-29ba968fe429@crazy-compilers.com> References: <87mudrxvs8.fsf@ambrevar.xyz> <87mudd59ho.fsf@gnu.org> <877e4glyc3.fsf@ambrevar.xyz> <661cb4aa-f866-01a1-c7b7-4428eb7c801f@crazy-compilers.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------02B187AB02225824D43A134C" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42402) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iRuqX-0003Qc-6a for guix-devel@gnu.org; Tue, 05 Nov 2019 04:09:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iRuqV-0006WW-OX for guix-devel@gnu.org; Tue, 05 Nov 2019 04:09:52 -0500 In-Reply-To: Content-Language: en-US List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Konrad Hinsen , Pierre Neidhardt , =?UTF-8?Q?Ludovic_Court=c3=a8s?= Cc: guix-devel@gnu.org This is a multi-part message in MIME format. --------------02B187AB02225824D43A134C Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Am 05.11.19 um 10:03 schrieb Konrad Hinsen: >> And adding another dimension: spawning a sub-shell (environment) or not >> (profile). > How is this different from the ephemeral vs. persistent dimension? > Creating an ephemeral package set makes sense only if you spwan a > process in it (not necessarily a shell). You are right, these are (almost?) the same. Ephemeral could also be imagined without spawning a some process, but also without registering a "root". But this would not work, since as soon as one runs "guix gc" while such an environment is active, the environment would be destroyed. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | --------------02B187AB02225824D43A134C Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
Am 05.11.19 um 10:03 schrieb Konrad Hinsen:
And adding another dimension: spawning a sub-shell (environment) or not
(profile).
How is this different from the ephemeral vs. persistent dimension?
Creating an ephemeral package set makes sense only if you spwan a
process in it (not necessarily a shell).

You are right, these are (almost?) the same.

Ephemeral could also be imagined without spawning a some process, but also without registering a "root". But this would not work, since as soon as one runs "guix gc" while such an environment is active, the environment would be destroyed.
-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |
--------------02B187AB02225824D43A134C--