summaryrefslogtreecommitdiff
path: root/gnu/packages/emacs-xyz.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-29 16:40:07 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-29 16:40:07 +0100
commit5bec5f118408d7a1a3f942bbd796aa4abf5fa847 (patch)
tree02b519454cafb1c2e059ae354eda1821b84909e9 /gnu/packages/emacs-xyz.scm
parent2f5b529480f2f32a917a6e99a20d2acdc11bc5dd (diff)
gnu: emacs-ob-sclang: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-ob-sclang)[origin]<snippet>: Extract correct file.
Diffstat (limited to 'gnu/packages/emacs-xyz.scm')
-rw-r--r--gnu/packages/emacs-xyz.scm9
1 files changed, 5 insertions, 4 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0be233e608..9f7b431afa 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -12269,10 +12269,11 @@ characters.")
(modules '((guix build utils)))
(snippet
'(begin
- (for-each (lambda (file)
- (unless (equal? file "./ob-sclang.el")
- (delete-file file)))
- (find-files "." "\\.el"))))))
+ (with-directory-excursion "lisp"
+ (for-each (lambda (file)
+ (unless (equal? file "./ob-sclang.el")
+ (delete-file file)))
+ (find-files "." "\\.el$")))))))
(propagated-inputs
(list emacs-org emacs-scel))
(synopsis "Org Babel support for SuperCollider")