From patchwork Mon Dec 2 20:47:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Tournier X-Patchwork-Id: 16344 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 382F2177FF; Mon, 2 Dec 2019 20:49:09 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id D76A1177F2 for ; Mon, 2 Dec 2019 20:49:08 +0000 (GMT) Received: from localhost ([::1]:44304 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibsd2-0000Kh-8A for patchwork@mira.cbaines.net; Mon, 02 Dec 2019 15:49:08 -0500 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 X-Loop: help-debbugs@gnu.org Subject: [bug#38460] [PATCH 0/1] lint: Add '--load-path' option. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 Dec 2019 20:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38460 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38460@debbugs.gnu.org Cc: zimoun X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157531969432010 (code B ref -1); Mon, 02 Dec 2019 20:49:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Dec 2019 20:48:14 +0000 Received: from localhost ([127.0.0.1]:39025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ibsc9-0008KE-LQ for submit@debbugs.gnu.org; Mon, 02 Dec 2019 15:48:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:60821) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ibsc8-0008K6-2b for submit@debbugs.gnu.org; Mon, 02 Dec 2019 15:48:12 -0500 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=rEN1zf6/3+naq4XoAPO/s1Fy7SRGGfRrzKv6RRnm1Ek=; b=g1ASOPG9eP/8JUNBZbRAtP4IQ14Y7lDVg3jAsKNM05XFgzg5DMFC3wep7Ln7U6iYrA 188W8ImtAN2tPSVEXsFUpDER/Z77zDNjkuy98YDqPWFWemt9aRsd5Ga4Lz1CurlfakQr 9nOZ99FUlTfqqgWppkS5u9wohYT3yMFFnRSJ/oSIuen/hYxlB3XIbhl6Ws3qh7eSmcki hH+UMse/POzX/l2TYm7hDMEAt0x0AgeC/q4mC4zPuUOFYIJDJ6wh9kD14BryZ8luwbp9 A8u6SzZokjPoscsUUQBBP7o+07XxQbEBdV/iVfBK8f3CI16/jP5FBSEgio8RG2UZJf61 RhVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=rEN1zf6/3+naq4XoAPO/s1Fy7SRGGfRrzKv6RRnm1Ek=; b=SZZYx6ciYoqk+f/Ya6GnXNSJEn0ORy8sCMFQkkxOs0ahXODTiapiRYInciMjwtPAQ1 SgtzoGg0RtvE8O6DiYSN+DAe48V7aZCS898ngkNrpMt4oL9YUEHnq3iBeKvAIAKEl7zx odyif9y3nQIvQ6G61oUf0INwbSObn6u8NjlVjd+YHjhGJeobFx1XlDk0dEvqJURiNC81 vqEpTLjJHM/gwhYrRrNmGiC57zdyksY23XXb3bXAd7tBCKq+9aBfEIvO51ylk0P7EA9p MzIbQta2twvUEz3sBLS9VOjD5zfFV+ZoE1VCW4avGasP0juU3c2W6toPmJVeE0CObB8p v40g== X-Gm-Message-State: APjAAAW3tj9s31E/KdRwJpButgboRmA/YJoPlrOF9a6k9zTI36FinUgO UZnVInwYUEelLfv/XFrkLJZ1dugTC58= X-Google-Smtp-Source: APXvYqxD53+yvWRqWAJtaumg09gpS2ZKtw1USnDsr0az1Ok8rw98LDuXhIK2XCLpOzttdPWbDC3tHA== X-Received: by 2002:a5d:4386:: with SMTP id i6mr1017672wrq.63.1575319686816; Mon, 02 Dec 2019 12:48:06 -0800 (PST) Received: from pfiuh02.univ-paris-diderot.fr ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id m3sm748203wrb.67.2019.12.02.12.48.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Dec 2019 12:48:06 -0800 (PST) From: zimoun Date: Mon, 2 Dec 2019 21:47:59 +0100 Message-Id: <20191202204759.28329-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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(+)