unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#30694] [PATCH] gnu: haskell-mode: Fix find emacs-stream elisp directory.
@ 2018-03-04  9:35 Oleg Pykhalov
  2018-03-05 17:07 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Oleg Pykhalov @ 2018-03-04  9:35 UTC (permalink / raw)
  To: 30694

* 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(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 67bbb153f..815968e7e 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))
                 (_ "")))
 
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#30694] [PATCH] gnu: haskell-mode: Fix find emacs-stream elisp directory.
  2018-03-04  9:35 [bug#30694] [PATCH] gnu: haskell-mode: Fix find emacs-stream elisp directory Oleg Pykhalov
@ 2018-03-05 17:07 ` Ludovic Courtès
  2018-03-06  7:50   ` Oleg Pykhalov
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2018-03-05 17:07 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: 30694

Oleg Pykhalov <go.wigust@gmail.com> skribis:

> * gnu/packages/emacs.scm (haskell-mode)[arguments]: Find only directories with
> "\\.el$" in ‘el-dir’.

LGTM!

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#30694] [PATCH] gnu: haskell-mode: Fix find emacs-stream elisp directory.
  2018-03-05 17:07 ` Ludovic Courtès
@ 2018-03-06  7:50   ` Oleg Pykhalov
  0 siblings, 0 replies; 3+ messages in thread
From: Oleg Pykhalov @ 2018-03-06  7:50 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 30694, 30694-done

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

ludo@gnu.org (Ludovic Courtès) writes:

> Oleg Pykhalov <go.wigust@gmail.com> skribis:
>
>> * gnu/packages/emacs.scm (haskell-mode)[arguments]: Find only directories with
>> "\\.el$" in ‘el-dir’.
>
> LGTM!

Pushed as 69611d3eacfae2d22b6b3ebc2ff4f3bfbff925b5

I'll close the bug report.

Oleg.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-06  7:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-04  9:35 [bug#30694] [PATCH] gnu: haskell-mode: Fix find emacs-stream elisp directory Oleg Pykhalov
2018-03-05 17:07 ` Ludovic Courtès
2018-03-06  7:50   ` Oleg Pykhalov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).