From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:47132) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibscw-0000KX-NS for guix-patches@gnu.org; Mon, 02 Dec 2019 15:49:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ibscv-0000eQ-QW for guix-patches@gnu.org; Mon, 02 Dec 2019 15:49:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33054) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ibscv-0000eM-NY for guix-patches@gnu.org; Mon, 02 Dec 2019 15:49:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ibscv-0008LZ-M8 for guix-patches@gnu.org; Mon, 02 Dec 2019 15:49:01 -0500 Subject: [bug#38460] [PATCH 0/1] lint: Add '--load-path' option. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:47061) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibsc5-0000Ct-Ov for guix-patches@gnu.org; Mon, 02 Dec 2019 15:48:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ibsc4-0000Gq-Ox for guix-patches@gnu.org; Mon, 02 Dec 2019 15:48:09 -0500 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:37343) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ibsc4-0000GL-J1 for guix-patches@gnu.org; Mon, 02 Dec 2019 15:48:08 -0500 Received: by mail-wr1-x433.google.com with SMTP id w15so951481wru.4 for ; Mon, 02 Dec 2019 12:48:08 -0800 (PST) From: zimoun Date: Mon, 2 Dec 2019 21:47:59 +0100 Message-Id: <20191202204759.28329-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: 38460@debbugs.gnu.org Cc: zimoun Dear, Currently, when developing personal packages, "guix lint" needs the variable GUIX_PACKAGE_PATH which is not user friendly, IMO. The patch uses the common option '-L' to prepend a load path. Other said, GUIX_PACKAGE_PATH=/path/to/my/package guix lint foo becomes guix lint -L /path/to/my/package foo All the best, simon zimoun (1): lint: Add '--load-path' option. guix/scripts/lint.scm | 8 ++++++++ tests/guix-lint.sh | 12 ++++++++++++ 2 files changed, 20 insertions(+) -- 2.23.0