1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-13 10:30:43 +02:00

gnu: emacs-org: Add "test" output.

* gnu/packages/emacs-xyz.scm (emacs-org)[outputs]: Add "test".
[arguments]<#:phases>[install-org-test]: Install "testing".

Fixes <https://codeberg.org/guix/guix/issues/434>.

Change-Id: I7d5677d9f86c366849a7d806a7f60aa20b2895b5
Signed-off-by: jgart <jgart@dismail.de>
This commit is contained in:
Danny Milosavljevic 2025-07-03 18:28:42 +02:00 committed by jgart
parent f66eaab175
commit 9c3c27e0d4
No known key found for this signature in database
GPG key ID: A52AA2B477B6DD35

View file

@ -19462,6 +19462,7 @@ federated blogging platform WriteFreely.")
(sha256 (sha256
(base32 "1wi8kj0vhlnzslarjfbi1ljqh71jlsbi4krsx6cr1ch5cm9v78y9")))) (base32 "1wi8kj0vhlnzslarjfbi1ljqh71jlsbi4krsx6cr1ch5cm9v78y9"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(outputs (list "out" "test"))
(arguments (arguments
(list (list
#:test-command #~(list "make" "test-dirty") #:test-command #~(list "make" "test-dirty")
@ -19527,6 +19528,11 @@ federated blogging platform WriteFreely.")
(("^datadir.*") (string-append "datadir = " elpa "/etc")) (("^datadir.*") (string-append "datadir = " elpa "/etc"))
(("^infodir.*") (string-append "infodir = " info)))) (("^infodir.*") (string-append "infodir = " info))))
(invoke "make" "install" (string-append "ORGVERSION=" #$version)))) (invoke "make" "install" (string-append "ORGVERSION=" #$version))))
(add-after 'install 'install-org-test
(lambda _
(with-directory-excursion "testing"
(copy-recursively "."
(string-append (elpa-directory #$output:test))))))
(add-after 'install 'install-org-news (add-after 'install 'install-org-news
;; Install ORG-NEWS files in doc directory. ;; Install ORG-NEWS files in doc directory.
(lambda _ (lambda _