From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: Re: Command line option in addition to GUIX_PACKAGE_PATH - Reason? Date: Mon, 30 Dec 2019 19:29:21 +0100 Message-ID: References: <87pnglj2ka.fsf@ambrevar.xyz> <87sglgsiey.fsf@lassieur.org> <878sn8inru.fsf@ambrevar.xyz> <87o8w4mewg.fsf@gnu.org> <87tv5wfdrm.fsf@ambrevar.xyz> <87lfr8fd9u.fsf@ambrevar.xyz> <20191226213108.753f8ab7@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:41738) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilznM-0005UC-M1 for guix-devel@gnu.org; Mon, 30 Dec 2019 13:29:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ilznL-0002g0-03 for guix-devel@gnu.org; Mon, 30 Dec 2019 13:29:36 -0500 Received: from mail-qk1-x72c.google.com ([2607:f8b0:4864:20::72c]:41462) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ilznK-0002ec-PI for guix-devel@gnu.org; Mon, 30 Dec 2019 13:29:34 -0500 Received: by mail-qk1-x72c.google.com with SMTP id x129so26830102qke.8 for ; Mon, 30 Dec 2019 10:29:34 -0800 (PST) In-Reply-To: <20191226213108.753f8ab7@scratchpost.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic Cc: Guix Devel , =?UTF-8?Q?Cl=C3=A9ment_Lassieur?= Hi Danny, Thank you for your insights. On Thu, 26 Dec 2019 at 21:31, Danny Milosavljevic wrote: > ... why? There's the environment variable already--what does it give us > to have yet another way to specify the value? >From my opinion, the answers to the why is: - because it is easier to explain to newcomers; only a new option and not a new concept, - because it adds consistency with other commands, as Pierre said, - because it is easier to discover via "guix -h"; even if it should also be easy to add environment variables documentation via "guix -h". > zimoun wrote: > > >But IMHO, the normal use should be via the --load-path option and the > >GUIX_LOAD_PATH should be less and less used; stay here for historical > >reason and/or backward compatibility and/or some devel use-case. > > Why? *PATH environment variables have a long tradition in UNIX and are not > going to vanish (or mean something else any time) soon. What is the use > case this change is supposed to enable? Why? I do not know, maybe gray beard vs young mustache. ;-) The option "--load-path" is more a flavor of taste than an use case uncovered by GUIX_PACKAGE_PATH. And GUIX_PACKAGE_PATH is not going to vanish. Hope that helps. All the best, simon