gnu: haskell-mode: Fix test failure.
authorAlex Vong <alexvong1995@gmail.com>
Sat, 1 Sep 2018 23:47:05 +0000 (07:47 +0800)
committerLudovic Courtès <ludo@gnu.org>
Sun, 2 Sep 2018 15:06:43 +0000 (17:06 +0200)
commit2bd6ed9e4c32928312eee9cd71137d5adf09f955
tree6f8733985b7c5d7a66692ab56c5a948ea8fccda4
parentb21a55a9f218c32cf9df561ad0e8d10d1b596cf0
gnu: haskell-mode: Fix test failure.

Fixes <https://bugs.gnu.org/31726>.

Thanks to Jack Hill <jackhill@jackhill.us> for exploring different solutions
at <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31726>.

* gnu/packages/patches/haskell-mode-unused-variables.patch,
gnu/packages/patches/haskell-mode-make-check.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/emacs.scm (haskell-mode)[source]: Use them.
[arguments]: Adjust 'pre-build' phase to embed file name.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
gnu/local.mk
gnu/packages/emacs.scm
gnu/packages/patches/haskell-mode-make-check.patch [new file with mode: 0644]
gnu/packages/patches/haskell-mode-unused-variables.patch [new file with mode: 0644]