From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id OEjVIr0dKWbzRAEAe85BDQ:P1 (envelope-from ) for ; Wed, 24 Apr 2024 16:57:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id OEjVIr0dKWbzRAEAe85BDQ (envelope-from ) for ; Wed, 24 Apr 2024 16:57:01 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=cnrs.fr (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1713970621; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=JbdJpwjqRpLzMrt0Kap+xl8l1S/okh2+Nr9PWGIwhrE=; b=bb7E9geaAVMBOXz7qVHjKhZ3CvlXyAdvc8Sj7XULaWGLh8kVMeXz0NyykcqhICAXkhRQlB Er5ZGcVfAR7t/uGxju9GYsQI78xQOQALFhuwiZjE05COyc4UTkp2Xr5Vfh2jiT1kgvF3mf wuxqHWf8rgmxiqr0xYAi0pYaW743yoqlJAfh/cWF6voMGVrqiAkEGyV/cznOcjmFLJ0Y8l VpIug4bjS8xEoJqqHeehxDA2SYR7z0qtIR+YeuPTIvT8ymkGVWBfxgmTmwemOzW+IkEmd+ ZPyvUOdslR6x2HtW+CEnHhE4EbbXXnvutw6BATbh9VfojyPY+GFIH3TR2sFViQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1713970621; a=rsa-sha256; cv=none; b=h0LeCDCuEzjkgNXreaRI+jUG1WgBKRugzA1LKdx65wyoKqNI7YciDxJOKxCxrug1abwUBM h8LKDV/59zxAML5gMjP0RbF+pyEIOjHwqy69oyUx0I1t4snJvng9usgHSkW0UtONLBQhaO KUPcZGG8owFxU7TuFfT+x2OzpMtYYZXYidbsJ7H8v/N/4a7gJYaP5jHbX/8wLGdtlzs1lO RaqeQgj6l2gZLpl1p2rJPxNY73EQFASFyvDIhp4KHTj3DhVFzC0chJwuqgbmSWeFnxYOmM Ly0y6vjy5IQiOYUge7yL/KGIVj1ZYhBBdE3Ta7EMwFKpao3uJXpQZvRE+IcswQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=cnrs.fr (policy=none) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 400C415FAC for ; Wed, 24 Apr 2024 16:57:01 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rze31-0002B5-Fn; Wed, 24 Apr 2024 10:56:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rze2u-0002Ab-44 for help-guix@gnu.org; Wed, 24 Apr 2024 10:56:29 -0400 Received: from cczrelay02.in2p3.fr ([134.158.66.142]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rze2q-0006fP-Lg for help-guix@gnu.org; Wed, 24 Apr 2024 10:56:27 -0400 Received: from [192.168.1.11] (88-170-139-253.subs.proxad.net [88.170.139.253]) (authenticated bits=0) by cczrelay02.in2p3.fr (8.14.4/8.14.4) with ESMTP id 43OEsJRC008235 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 24 Apr 2024 16:54:19 +0200 Message-ID: <91ae443f-7dda-4486-bb58-fdc57dea6e38@iphc.cnrs.fr> Date: Wed, 24 Apr 2024 16:54:19 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: help-guix@gnu.org Content-Language: en-US From: Emmanuel Medernach Subject: How to share profile among machines ? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=134.158.66.142; envelope-from=Emmanuel.Medernach@iphc.cnrs.fr; helo=cczrelay02.in2p3.fr X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -0.43 X-Spam-Score: -0.43 X-Migadu-Queue-Id: 400C415FAC X-Migadu-Scanner: mx12.migadu.com X-TUID: du+fPI2ZjozW Hello Guix ! How do you share profiles among machines ? For instance 2 users wants to have the same profile, user A shares the directory /gnu/store/...-profile to user B, user B either get access to it directly or from a remote machine with a  "guix copy ", user B could now use this profile like this:  export GUIX_PROFILE="/gnu/store/...-profile"  source "$GUIX_PROFILE/etc/profile" But there is a problem: this profile is not listed with  guix package --list-profiles  guix gc --list-roots The problem is that if user A deletes this profile it gets garbage collected even if user B still needs to use it. So the question is: How user B could add an existing /gnu/store/...-profile (either existing directory or obtained from a guix copy) to the profile and root list ? Cheers, Emmanuel