rekahsoft-gnu/packages/emacs-xyz.scm: Fix emacs-helm-rg after guix upgrade

This commit is contained in:
Collin J. Doering 2021-05-25 22:43:17 -04:00
parent 12786dc98d
commit 7654065c02
Signed by: rekahsoft
GPG Key ID: 7B4DEB93212B3022

View File

@ -551,40 +551,13 @@ See perspective.el on github: https://github.com/nex3/perspective-el
(sha256
(base32
"0m4l894345n0zkbgl0ar4c93v8pyrhblk9zbrjrdr9cfz40bx2kd"))))
(build-system gnu-build-system)
(build-system emacs-build-system)
(arguments
`(#:modules ((guix build gnu-build-system)
((guix build emacs-build-system) #:prefix emacs:)
(guix build utils)
(srfi srfi-1))
#:imported-modules (,@%gnu-build-system-modules
(guix build emacs-build-system)
(guix build emacs-utils))
#:phases
`(#:phases
(modify-phases %standard-phases
(delete 'configure)
(replace 'build
(lambda _
(invoke "make" "compile-all")
#t))
(replace 'check
(lambda _
(invoke "make" "test-noninteractive")
#t))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(target (string-append out "/share/emacs/site-lisp")))
(mkdir-p target)
(for-each
(lambda (f) (install-file f target))
(filter (lambda (f)
(not (or (string-contains f "test")
(string-contains f "checkdoc"))))
(find-files "." "\\.elc?$"))))))
(add-after 'install 'make-autoloads
(assoc-ref emacs:%standard-phases 'make-autoloads))
(delete 'strip))))
;; TODO: Build is currently broken:
;; https://github.com/cosmicexplorer/helm-rg/issues/20
(delete 'build))))
(native-inputs
`(("emacs" ,emacs-minimal)))
(propagated-inputs