gnu: Search for patches under $GUIX_PACKAGE_PATH.
authorLudovic Courtès <ludo@gnu.org>
Sat, 3 Jan 2015 22:49:42 +0000 (23:49 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sat, 3 Jan 2015 22:49:42 +0000 (23:49 +0100)
commitee06af5b4b314211f05c866f7226b8cb056a335b
treed27f2e71df66f9debb4c9c9f2e9d8621a3e32656
parente13f715be0d609073974b1d464771638887a00c6
gnu: Search for patches under $GUIX_PACKAGE_PATH.

Fixes <http://bugs.gnu.org/19364>.
Reported by Tomáš Čech <sleep_walker@suse.cz>
and Mark H Weaver <mhw@netris.org>.

* gnu/packages.scm (%patch-path): Move after definition of
  %package-module-path'.  Append "/gnu/packages/patches" only to
  %DISTRO-ROOT-DIRECTORY.
* tests/guix-package.sh: Add 'emacs-foo-bar-patched' test.
gnu/packages.scm
tests/guix-package.sh