From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EKLCOrJhD1+gbQAA0tVLHw (envelope-from ) for ; Wed, 15 Jul 2020 20:06:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id MEu3NrJhD1/OFQAAB5/wlQ (envelope-from ) for ; Wed, 15 Jul 2020 20:06:10 +0000 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 AEA179401CB for ; Wed, 15 Jul 2020 20:06:10 +0000 (UTC) Received: from localhost ([::1]:57876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jvnfN-0001JL-Ny for larch@yhetil.org; Wed, 15 Jul 2020 16:06:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37134) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jvnfG-0001Iy-S8 for bug-guix@gnu.org; Wed, 15 Jul 2020 16:06:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42152) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jvnfG-0004I3-JD for bug-guix@gnu.org; Wed, 15 Jul 2020 16:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jvnfG-0002hw-EH for bug-guix@gnu.org; Wed, 15 Jul 2020 16:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42378: [PATCH 2/2] guix-install.sh: Make sure /etc/profile is sourced. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 15 Jul 2020 20:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42378 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 42378@debbugs.gnu.org Received: via spool by 42378-submit@debbugs.gnu.org id=B42378.159484350310331 (code B ref 42378); Wed, 15 Jul 2020 20:06:02 +0000 Received: (at 42378) by debbugs.gnu.org; 15 Jul 2020 20:05:03 +0000 Received: from localhost ([127.0.0.1]:53698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvneI-0002gY-W8 for submit@debbugs.gnu.org; Wed, 15 Jul 2020 16:05:03 -0400 Received: from tobias.gr ([80.241.217.52]:38578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvneG-0002fl-6T for 42378@debbugs.gnu.org; Wed, 15 Jul 2020 16:05:01 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 4bb8646d for <42378@debbugs.gnu.org>; Wed, 15 Jul 2020 20:05:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=2018; i=me@tobias.gr; bh=Uy8G51l/Z CfEFpq2NVR7hqFNqjepabnRBNCYma8MJ34=; b=WMhaWSe1dRVqysDO3SazMmUXW 62U+RTIPrrBLx8O6JZzdxL7pkC7/Ldv6s0M1hDlhpJLss1Xs8gFZfKCB2QhsGNpT /4+yw5fl1cNe7lpV9URuB0NCfENif4EUt7QMCeZwpKaU+MSdklYp9Yzqg//iFn+n OGHRJWMVeCa8YY04VNSSooBWhxxCpGntX0JOe2hmjionVR3CkxmSCuDUpqZBv8w7 l7wqwZmwUyELTxICl0Hqf/N+3TyL1w/cnpkfuWmyK4lXaddYe+8wlonO2K3lVJzS QniT/3uAnrnlJ6ULU7nc6CV1Ja2GHdVfwVEiScGVXyWQObAu6gS6YhXWWM/fw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 0a66566e (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42378@debbugs.gnu.org>; Wed, 15 Jul 2020 20:05:08 +0000 (UTC) Date: Wed, 15 Jul 2020 22:04:47 +0200 Message-Id: <20200715200447.605-2-me@tobias.gr> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200715200447.605-1-me@tobias.gr> References: <20200715200447.605-1-me@tobias.gr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: Tobias Geerinckx-Rice From: Tobias Geerinckx-Rice via Bug reports for GNU Guix X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=tobias.gr header.s=2018 header.b=WMhaWSe1; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 3.99 X-TUID: 9RCQz7nXoJ6/ New users regularly report missing newly-installed programmes and icons. * etc/guix-install.scm (main): Tell users to log out & back in. --- etc/guix-install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etc/guix-install.sh b/etc/guix-install.sh index efcc3d81d8..72dc3839e8 100755 --- a/etc/guix-install.sh +++ b/etc/guix-install.sh @@ -418,6 +418,7 @@ sys_authorize_build_farms() sys_create_init_profile() { # Create /etc/profile.d/guix.sh for better desktop integration + # This will not take effect until the next shell or desktop session! [ -d "/etc/profile.d" ] || mkdir /etc/profile.d # Just in case cat <<"EOF" > /etc/profile.d/guix.sh # _GUIX_PROFILE: `guix pull` profile @@ -507,6 +508,9 @@ main() _msg "${PAS}Guix has successfully been installed!" _msg "${INF}Run 'info guix' to read the manual." + + # Required to source /etc/profile in desktop environments. + _msg "${INF}Please log out and back in to complete the installation." } main "$@" -- 2.27.0