From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#19364: search-patch fails to consult GUIX_PACKAGE_PATH Date: Sat, 13 Dec 2014 03:43:14 -0500 Message-ID: <87fvck549p.fsf@yeeloong.lan> 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]:55528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XziL3-0002nF-BF for bug-guix@gnu.org; Sat, 13 Dec 2014 03:46:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XziKw-0007cW-8x for bug-guix@gnu.org; Sat, 13 Dec 2014 03:46:09 -0500 Received: from debbugs.gnu.org ([140.186.70.43]:35011) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XziKw-0007cS-5e for bug-guix@gnu.org; Sat, 13 Dec 2014 03:46:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XziKv-0006c3-TK for bug-guix@gnu.org; Sat, 13 Dec 2014 03:46:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XziKD-0002k1-LN for bug-guix@gnu.org; Sat, 13 Dec 2014 03:45:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XziK6-0007Tt-5d for bug-guix@gnu.org; Sat, 13 Dec 2014 03:45:17 -0500 Received: from world.peace.net ([50.252.239.5]:35689) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XziK6-0007To-1r for bug-guix@gnu.org; Sat, 13 Dec 2014 03:45:10 -0500 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: 19364@debbugs.gnu.org Tom=C3=A1=C5=A1 =C4=8Cech reported on IRC that 'sear= ch-patch' failed to find a patch he had put into DIR/gnu/packages/patches/, where DIR was in $GUIX_PACKAGE_PATH. Adding DIR to GUILE_LOAD_PATH fixed the problem. Also, it would be good to improve the error message when 'search-patch' fails. This is what he reported seeing: --8<---------------cut here---------------start------------->8--- guix/packages.scm:374:17: In procedure #: guix/packages.scm:374:17: Throw to key `match-error' with args `("match" "n= o matching pattern" #f)'. --8<---------------cut here---------------end--------------->8--- Mark