From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Subject: bug#20255: 'search-paths' should respect both user and system profile. Date: Mon, 06 Apr 2015 12:02:26 +0800 Message-ID: <876199q4z1.fsf@gmail.com> References: <877ftschjt.fsf@gmail.com> <87fv8fip01.fsf@gnu.org> <87d23j1bxk.fsf@gmail.com> <871tjyfnl8.fsf@gnu.org> 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]:60480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YeyFe-00089C-0j for bug-guix@gnu.org; Mon, 06 Apr 2015 00:03:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YeyFa-0007aB-ME for bug-guix@gnu.org; Mon, 06 Apr 2015 00:03:05 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:55972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YeyFa-0007a5-J5 for bug-guix@gnu.org; Mon, 06 Apr 2015 00:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YeyFZ-0005I5-Np for bug-guix@gnu.org; Mon, 06 Apr 2015 00:03:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <871tjyfnl8.fsf@gnu.org> 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 20255@debbugs.gnu.org > [...] >> >> 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. > Thanks, > Ludo=E2=80=99.