From 5bec5f118408d7a1a3f942bbd796aa4abf5fa847 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 29 Dec 2021 16:40:07 +0100 Subject: gnu: emacs-ob-sclang: Fix build. * gnu/packages/emacs-xyz.scm (emacs-ob-sclang)[origin]: Extract correct file. --- gnu/packages/emacs-xyz.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gnu') 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") -- cgit v1.2.3