From 8817812020b9e821298b57d5d14e1dd6ccf879da Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 2 Jan 2025 08:07:17 -0800 Subject: [PATCH] emacs-oni-php: Install its scripts I created a scripts directory for emacs-oni-php that contains a script written in SCSH. So a) copy the scripts over to the build output, and b) install SCSH as a dependency for emacs-oni-php. --- oni/packages/emacs-config.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/oni/packages/emacs-config.scm b/oni/packages/emacs-config.scm index 286fc0d..9f0b79e 100644 --- a/oni/packages/emacs-config.scm +++ b/oni/packages/emacs-config.scm @@ -11,6 +11,8 @@ #:select (emacs-notmuch)) #:use-module ((gnu packages python-xyz) #:select (python-black)) + #:use-module ((gnu packages shells) + #:select (scsh)) #:use-module ((gnu packages tree-sitter) #:select (tree-sitter-python)) #:use-module (oni packages emacs)) @@ -932,7 +934,7 @@ Emacs"))) (modify-phases %standard-phases (add-after 'unpack 'chdir-oni-php (λ _ (chdir "oni-php")))) - #:include '("\\.el$" "^snippets\\/"))) + #:include '("\\.el$" "^snippets\\/" "^scripts\\/"))) (propagated-inputs (list emacs-php-mode emacs-oni-yasnippet @@ -943,7 +945,8 @@ Emacs"))) emacs-fic-mode emacs-ac-php ;; Actually a dependency of emacs-ac-php for using company-php. - emacs-xcscope)) + emacs-xcscope + scsh)) (synopsis "My configuration for php-mode.") (description "This package provides my configuration for editing PHP files.")))