mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 13:28:12 -05:00
gnu: emacs-polymode-ansible: Fix package.
* gnu/packages/emacs-xyz.scm (emacs-polymode-ansible)[arguments]: Ignore script for generating keywords from Ansible, but install other files. Require `systemd' library so `validate-compiled-autoloads' doesn't barf. [propagated-inputs]: Add emacs-systemd-mode. Change-Id: If67f8150852089f10cb7be19d96372177ce2e979
This commit is contained in:
parent
dc704e3b6c
commit
7ed52500c9
1 changed files with 10 additions and 2 deletions
|
@ -22504,19 +22504,27 @@ (define-public emacs-polymode-ansible
|
|||
(build-system emacs-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:include #~(list "maint/poly-ansible-jinja2-filters-generator.el")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'move-source-files
|
||||
(lambda _
|
||||
(let ((el-files (find-files "./lisp" ".*\\.el$")))
|
||||
(for-each (lambda (f) (copy-file f (basename f)))
|
||||
el-files)))))))
|
||||
el-files))))
|
||||
;; Autoloads file include a reference to "systemd-autoload-regexp".
|
||||
;; Require `systemd' to load its definition and let
|
||||
;; `validate-compiled-autoloads' phase run peacefully.
|
||||
(add-after 'make-autoloads 'require-systemd-mode
|
||||
(lambda _
|
||||
(substitute* "polymode-ansible-autoloads.el"
|
||||
((";;; Code:" lead)
|
||||
(string-append lead "\n(require 'systemd)"))))))))
|
||||
(propagated-inputs
|
||||
(list emacs-ansible
|
||||
emacs-ansible-doc
|
||||
emacs-jinja2-mode
|
||||
emacs-polymode
|
||||
emacs-systemd-mode
|
||||
emacs-yaml-mode))
|
||||
(properties '((upstream-name . "poly-ansible")))
|
||||
(home-page "https://gitlab.com/mavit/poly-ansible/")
|
||||
|
|
Loading…
Reference in a new issue