From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#20255: 'search-paths' should respect both user and system profile. Date: Sun, 03 May 2015 00:12:11 +0200 Message-ID: <87ioca4ojo.fsf@gnu.org> References: <877ftschjt.fsf@gmail.com> <87fv8fip01.fsf@gnu.org> <87d23j1bxk.fsf@gmail.com> <871tjyfnl8.fsf@gnu.org> <876199q4z1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yofeh-0001J8-L4 for bug-guix@gnu.org; Sat, 02 May 2015 18:13:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yofeg-0008K1-Kd for bug-guix@gnu.org; Sat, 02 May 2015 18:13:03 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:50052) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yofeg-0008JZ-IR for bug-guix@gnu.org; Sat, 02 May 2015 18:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yofeg-0000F3-6q for bug-guix@gnu.org; Sat, 02 May 2015 18:13:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <876199q4z1.fsf@gmail.com> ("=?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?="'s message of "Mon, 06 Apr 2015 12:02:26 +0800") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Cc: 20255@debbugs.gnu.org =E5=AE=8B=E6=96=87=E6=AD=A6 skribis: >> [...] >>> >>> The idea to generate profile from search-paths is not new, >>> I heard it from you IIRC. >>> I think it's the time to do it. >> >> Agreed, the plan makes sense and I think we have all the bits. >> >> A related question is whether to encode search path environment >> variables into the manifest (currently they are =E2=80=9Cguessed=E2=80= =9D by looking at >> same-named packages; see (guix build package).) I think that would >> probably simplify things and make it easier to share this environment >> variable code. >> >> Thoughts? > I see, currently search-paths depends on the packages recipes. If we > update the related scheme code, then search-paths got updated, even we > didn't touch packages in profile at all. It's a little confusing. > So I think we should encode the search-paths for each package in > manifest. Done in dedb17a. That will make it easier to generate environment variable settings. Ludo=E2=80=99.