gnu: 'search-patch' raises an error when a patch is not found.
authorLudovic Courtès <ludo@gnu.org>
Tue, 20 Jan 2015 09:17:24 +0000 (10:17 +0100)
committerLudovic Courtès <ludo@gnu.org>
Tue, 20 Jan 2015 09:17:24 +0000 (10:17 +0100)
commitdbab5150f83543f0c8a424dfddb698d7812370b7
tree8e6e4194a1b734885eb60cc6a7075906519994e7
parent6b1f9721a83f343315ae4b936ec9b9542ba8523e
gnu: 'search-patch' raises an error when a patch is not found.

* gnu/packages.scm (search-patch): Raise an error condition when
  'search-path' returns #f.
* tests/packages.scm ("patch not found yields a run-time error"): New
  test.
gnu/packages.scm
tests/packages.scm