From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 20 17:42:22 2015 Received: (at 20255) by debbugs.gnu.org; 20 Nov 2015 22:42:22 +0000 Received: from localhost ([127.0.0.1]:46511 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZzuNp-0006yS-Le for submit@debbugs.gnu.org; Fri, 20 Nov 2015 17:42:21 -0500 Received: from mail-lb0-f169.google.com ([209.85.217.169]:34614) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZzuNn-0006yH-GQ for 20255@debbugs.gnu.org; Fri, 20 Nov 2015 17:42:20 -0500 Received: by lbbcs9 with SMTP id cs9so69778727lbb.1 for <20255@debbugs.gnu.org>; Fri, 20 Nov 2015 14:42:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=WD9nAS/upbbUJ69IpoKrkPPYEMDoGyE+4tpEs9ypiN8=; b=UJDiRSUeWL8vtHS7c4qxQIXS4m+FWUD48sPEv4tMLRJ+4BZcWFdJ/5Ny6D2qvtb1Gw z9vzDePXpVpNjFW3ilm9VI+QCrwYPuYLp++A1U070sIjMgbLAryalIlEk1YHBV/jBJtv P5ahotJUutI+zCV/F3u4OEYz2Nz/xH+NT8+HmPvBgmVB0zPdBpbrAilIQ1d8VPeSKsHO 1taSO+JFUazqab+VlmcqcwWO3ZJS242fR8dQ7xF8FxDjTNzrLMLdWnoyEFRBZgfT8pls PsB4vneLR1vHZNf7wtwm2vsASfUJKPMfYdcJY9yWw6sicpacW4C/RkiZWvMq/tBgxEWa GBRg== X-Received: by 10.112.205.10 with SMTP id lc10mr6717992lbc.31.1448059338664; Fri, 20 Nov 2015 14:42:18 -0800 (PST) Received: from leviafan ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id ea3sm191210lbc.18.2015.11.20.14.42.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Nov 2015 14:42:18 -0800 (PST) From: Alex Kost To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: bug#20255: 'search-paths' should respect both user and system profile. References: <877ftschjt.fsf@gmail.com> <87fv8fip01.fsf@gnu.org> <87d23j1bxk.fsf@gmail.com> <871tjyfnl8.fsf@gnu.org> <876199q4z1.fsf@gmail.com> <87ioca4ojo.fsf@gnu.org> <87lh9tvcws.fsf@gnu.org> Date: Sat, 21 Nov 2015 01:42:19 +0300 In-Reply-To: <87lh9tvcws.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 19 Nov 2015 23:32:03 +0100") Message-ID: <87h9kguwc4.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20255 Cc: =?utf-8?B?5a6L5paH5q2m?= , 20255@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Ludovic Court=C3=A8s (2015-11-20 01:32 +0300) wrote: > -# Load the system profile's settings. > +if [ -x /run/current-system/profile/bin/guix ] > +then > + # Crucial variables such as 'MANPATH' or 'INFOPATH' may be missing fro= m the > + # profiles' individual 'etc/profile'. Thus, combine both profiles when > + # computing the search paths. > + # > + # This may take a few hundred milliseconds, but it's OK because this is > + # performed for log-in shells only. > + eval `/run/current-system/profile/bin/guix package \\ > + -p /run/current-system/profile \\ > + -p \"$HOME/.guix-profile\" --search-paths` Sorry, but it's not OK for me. As a user, I'm *strongly* against running 'guix' (or any other program) in /etc/profile. I would really like to have an option to avoid this. Is it possible? --=20 Thanks, Alex