From 69611d3eacfae2d22b6b3ebc2ff4f3bfbff925b5 Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Sun, 4 Mar 2018 12:28:52 +0300 Subject: gnu: haskell-mode: Fix find emacs-stream elisp directory. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/emacs.scm (haskell-mode)[arguments]: Find only directories with "\\.el$" in ‘el-dir’. --- gnu/packages/emacs.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages') 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)) (_ ""))) -- cgit 1.4.1