mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-13 18:40:57 +02:00
gnu: emacs-next: Fix build.
* gnu/packages/emacs.scm (emacs->emacs-next): Inherit arguments from emacs. Change-Id: Iea026528d2293538ab6d89e02d8d8a2a86fa0f1d Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
parent
fffaf4b58c
commit
83babb5f98
1 changed files with 1 additions and 22 deletions
|
@ -608,28 +608,7 @@ editor (with wide ints)" )
|
|||
(string-drop (package-name emacs)
|
||||
(string-length "emacs"))))))
|
||||
(version version)
|
||||
(source source)
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments emacs)
|
||||
((#:phases phases)
|
||||
#~(modify-phases #$phases
|
||||
(replace 'validate-comp-integrity
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
#$(cond
|
||||
((%current-target-system)
|
||||
#~(display
|
||||
"Cannot validate native compilation on cross builds.\n"))
|
||||
((member (%current-system) '("armhf-linux" "i686-linux"))
|
||||
#~(display "Integrity test is broken on 32 bit systems.\n"))
|
||||
(else
|
||||
#~(invoke
|
||||
(string-append (assoc-ref outputs "out") "/bin/emacs")
|
||||
"--batch"
|
||||
"--load"
|
||||
#$(local-file
|
||||
(search-auxiliary-file
|
||||
"emacs/comp-integrity-next.el"))
|
||||
"-f" "ert-run-tests-batch-and-exit")))))))))))
|
||||
(source source)))
|
||||
|
||||
(define-public emacs-next (emacs->emacs-next emacs))
|
||||
(define-public emacs-next-pgtk (emacs->emacs-next emacs-pgtk))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue