From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QFQQKWyvwmLuWAAAbAwnHQ (envelope-from ) for ; Mon, 04 Jul 2022 11:14:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id AKupKGyvwmJ0EgAAauVa8A (envelope-from ) for ; Mon, 04 Jul 2022 11:14:20 +0200 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 727B2164CD for ; Mon, 4 Jul 2022 11:14:20 +0200 (CEST) Received: from localhost ([::1]:39292 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o8I9q-0004sm-T5 for larch@yhetil.org; Mon, 04 Jul 2022 05:14:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39008) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8I9b-0004sP-Tw for guix-patches@gnu.org; Mon, 04 Jul 2022 05:14:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52174) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o8I9a-000229-HS for guix-patches@gnu.org; Mon, 04 Jul 2022 05:14:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o8I9a-0004e1-CF for guix-patches@gnu.org; Mon, 04 Jul 2022 05:14:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56050] [PATCH v2 2/2] etc/guix-install.sh: Check for profile from 'guix home'. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Jul 2022 09:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56050 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Philip McGrath Cc: 56050@debbugs.gnu.org Received: via spool by 56050-submit@debbugs.gnu.org id=B56050.165692599217777 (code B ref 56050); Mon, 04 Jul 2022 09:14:02 +0000 Received: (at 56050) by debbugs.gnu.org; 4 Jul 2022 09:13:12 +0000 Received: from localhost ([127.0.0.1]:46070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o8I8l-0004cf-Ml for submit@debbugs.gnu.org; Mon, 04 Jul 2022 05:13:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o8I8j-0004cQ-KB for 56050@debbugs.gnu.org; Mon, 04 Jul 2022 05:13:10 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49812) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8I8e-0001w5-Et; Mon, 04 Jul 2022 05:13:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=XzykigmZEuRg4RIpAoN9P0EaU5chjUTfAT7ubFRU4JA=; b=fNw7aqLSe1f1bsYtDMcl 1p6ztCwV+Yo0/oL/RrIiUOT1Pen9CdMjRTyxKtxh1QsJi7DFRibLywOQ5lr5x4iw/ZfDoAKFlT1hX EdS9y95DXNvVt2LIsI+I8j36CR26njwNkryBtrEqbQJ3a3PPSw58Ft/opy7L4OXmNBECNTpE0EJYv m55Gl4E1PBcug5Fenuks0S8OVCofsX8ITu0+mVBuKg3sfZdPutT1Ys1hgVUV2pFyEBR9cCsIy2VXa 9MVr/stWsB3l2ff2RCx23U8We3E/frUTOPy4ebVGvWzAqfPo2fRLGn8ju4I+ZA9ySNshK8Fkk3kFA UpoTrIubGygG6g==; Received: from [193.50.110.235] (port=44622 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8I8c-0002Gz-1k; Mon, 04 Jul 2022 05:13:03 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <9e68ef3237150756a97d0e3eba94a6b08879eeca.1656899134.git.philip@philipmcgrath.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Sextidi 16 Messidor an 230 de la =?UTF-8?Q?R=C3=A9volution, ?= jour du Tabac X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 04 Jul 2022 11:13:00 +0200 In-Reply-To: <9e68ef3237150756a97d0e3eba94a6b08879eeca.1656899134.git.philip@philipmcgrath.com> (Philip McGrath's message of "Sun, 3 Jul 2022 22:35:03 -0400") Message-ID: <8735fhgs0z.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656926060; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=XzykigmZEuRg4RIpAoN9P0EaU5chjUTfAT7ubFRU4JA=; b=HC2ysK3hjVcn+7l4rzxflFlWeTJYsjQ2MXyQW3bnAJjVd6goyD1AH/rZ3XQ/p4qgZGrZA/ d3NbcjEKiJ72MsKhbkhRXtwprHf0g3YubrE9fCqf9PUBjD93LiIDEin12s6be3G/Ijte5L LgXvyy32FRTrKAgMirQtrOB5vLnC5eePc9BtKAEfc09U/WTScXsBPP4nMexYhwhjTiFQpu U1us+O5VibMdbfYmbn5uu2aTHb06A4IlBH526ukwEbyovZIAT7uI/QIqvmXeFC0OubmDI7 bvjjL9jJFQrIIJgdte6PJkIrc9qZO61/mHH7y7qCU3uYLiRcpTCXm4aLxlGhvg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656926060; a=rsa-sha256; cv=none; b=fks4aL0xEgMUbDnQH4gcQ/K7NbG39E8B2mqvZ5vvzeRv6FsLSUuUfC3qZZpZ2wvjCrIYr5 /3iw2w3PWhsL+T8BLzBk24wh8lCB+IZhvcOPjX9pRXE5YIvJ9xJT8dWmZbaxHP1GOzHlf3 HAlnYyf9fEMcYMAUiKPuvXJ1uK3zCtuNnUPvgf8tFoDtcQQVmt25q07Ozm7zh6/aRWd9TL lCh2KssBhxnB7cCwVFFtFZRVRYHdx1aHdgRStH6OTSqEp9iWNToSPrDWSYjnsz3wdGKW/d PN3dVbuYD6DWNxZVFFVVk2HaRcH43/Bk5lNG5zKD8BLA3s5eTsz/EjFpzJ+A5w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=fNw7aqLS; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=fNw7aqLS; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 727B2164CD X-Spam-Score: -2.34 X-Migadu-Scanner: scn1.migadu.com X-TUID: c6UFy+LnAZEk Philip McGrath skribis: > If "$HOME/.guix-home/profile" exists, use it for GUIX_PROFILE instead of > "$HOME/.guix-profile". > > * etc/guix-install.sh (sys_create_init_profile): Check for 'guix home' > profile. [...] > +# Prefer the one from 'guix home' if it exists. > +GUIX_PROFILE=3D"$HOME/.guix-home/profile" > +[ -L $GUIX_PROFILE ] || GUIX_PROFILE=3D"$HOME/.guix-profile" Likewise, we should escape dollar signs. Ludo=E2=80=99.