bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19364: search-patch fails to consult GUIX_PACKAGE_PATH


From: Mark H Weaver
Subject: bug#19364: search-patch fails to consult GUIX_PACKAGE_PATH
Date: Sat, 13 Dec 2014 03:43:14 -0500

Tomáš Čech <address@hidden> reported on IRC that 'search-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 #<procedure 47c70c0 at 
guix/packages.scm:372:9 (number patch)>:
guix/packages.scm:374:17: Throw to key `match-error' with args `("match" "no 
matching pattern" #f)'.
--8<---------------cut here---------------end--------------->8---

      Mark





reply via email to

[Prev in Thread] Current Thread [Next in Thread]