From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:55060) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ii34Z-0000NH-QG for guix-patches@gnu.org; Thu, 19 Dec 2019 16:11:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ii34Y-0004XO-L6 for guix-patches@gnu.org; Thu, 19 Dec 2019 16:11:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39611) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ii34Y-0004VK-DH for guix-patches@gnu.org; Thu, 19 Dec 2019 16:11:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ii34Y-00041v-4F for guix-patches@gnu.org; Thu, 19 Dec 2019 16:11:02 -0500 Subject: [bug#38678] [PATCH 0/2] Add '--load-path' to subcommands Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:51125) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ii33d-0007Tz-76 for guix-patches@gnu.org; Thu, 19 Dec 2019 16:10:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ii33c-0000VR-2g for guix-patches@gnu.org; Thu, 19 Dec 2019 16:10:05 -0500 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:41657) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ii33b-0000RK-Po for guix-patches@gnu.org; Thu, 19 Dec 2019 16:10:03 -0500 Received: by mail-wr1-x42a.google.com with SMTP id c9so7390387wrw.8 for ; Thu, 19 Dec 2019 13:10:03 -0800 (PST) From: zimoun Date: Thu, 19 Dec 2019 22:09:58 +0100 Message-Id: <20191219210958.8807-1-zimon.toutoune@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38678@debbugs.gnu.org Cc: zimoun Dear, Here [1] has been discussed the addition of '--load-path' to the commands that need it. What come in mind is: + guix graph + guix size Done by these 2 patches. Note that "guix size -L" is not tested because the file "tests/guix-size.sh" does exist and does the option "--load-path" needs to be tested at the Scheme level? Then, what about: - guix refresh: -L already means --list-updaters Only --load-path? Nothing? - guix edit: I am not convinced it is useful because if you apply -L path/to/your/modules then it is easy to find the correct file to open. What do you think? Thanks simon [1] https://lists.gnu.org/archive/html/guix-devel/2019-12/msg00281.html zimoun (2): graph: Add '--load-path' option. size: Add '--load-path' option. doc/guix.texi | 15 +++++++++++++++ guix/scripts/graph.scm | 10 +++++++++- guix/scripts/size.scm | 8 ++++++++ tests/guix-graph.sh | 27 +++++++++++++++++++++++++-- 4 files changed, 57 insertions(+), 3 deletions(-) -- 2.23.0