aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2018-03-04 12:28:52 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2018-03-06 10:34:59 +0300
commit69611d3eacfae2d22b6b3ebc2ff4f3bfbff925b5 (patch)
tree1a8c858f859d07964225a7833ddd6e98cf28809e /gnu
parentcee03b267cbe6e7360b106095ee2861bf010f915 (diff)
downloadpatches-69611d3eacfae2d22b6b3ebc2ff4f3bfbff925b5.tar
patches-69611d3eacfae2d22b6b3ebc2ff4f3bfbff925b5.tar.gz
gnu: haskell-mode: Fix find emacs-stream elisp directory.
* gnu/packages/emacs.scm (haskell-mode)[arguments]: Find only directories with "\\.el$" in ‘el-dir’.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 54eb816c15..f27f8df8d3 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -614,7 +614,7 @@ process, passing on the arguments as command line arguments.")
'build 'pre-build
(lambda* (#:key inputs #:allow-other-keys)
(define (el-dir store-dir)
- (match (find-files store-dir)
+ (match (find-files store-dir "\\.el$")
((f1 f2 ...) (dirname f1))
(_ "")))