gnu: haskell-mode: Fix find emacs-stream elisp directory.

* gnu/packages/emacs.scm (haskell-mode)[arguments]: Find only directories with
"\\.el$" in ‘el-dir’.
This commit is contained in:
Oleg Pykhalov 2018-03-04 12:28:52 +03:00
parent cee03b267c
commit 69611d3eac
No known key found for this signature in database
GPG Key ID: 7246E11C69B79569
1 changed files with 1 additions and 1 deletions

View File

@ -614,7 +614,7 @@ process, passing on the arguments as command line arguments.")
'build 'pre-build 'build 'pre-build
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(define (el-dir store-dir) (define (el-dir store-dir)
(match (find-files store-dir) (match (find-files store-dir "\\.el$")
((f1 f2 ...) (dirname f1)) ((f1 f2 ...) (dirname f1))
(_ ""))) (_ "")))