unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19364: search-patch fails to consult GUIX_PACKAGE_PATH
@ 2014-12-13  8:43 Mark H Weaver
  2015-01-03 23:01 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Mark H Weaver @ 2014-12-13  8:43 UTC (permalink / raw)
  To: 19364

Tomáš Čech <sleep_walker@suse.cz> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-03 23:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-13  8:43 bug#19364: search-patch fails to consult GUIX_PACKAGE_PATH Mark H Weaver
2015-01-03 23:01 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).