mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: emacs-no-x: Skip integrity test on armhf-linux.
* gnu/packages/emacs.scm (emacs-no-x)[#:phases]<validate-runpath>: Move checks to GExpression expansion. Add check against armhf-linux.
This commit is contained in:
parent
4c70f5242b
commit
ce999ae3a2
1 changed files with 13 additions and 9 deletions
|
@ -384,15 +384,19 @@ (define (first-subdirectory/absolute directory)
|
|||
(apply invoke "make" "trampolines" make-flags)))
|
||||
(add-after 'validate-runpath 'validate-comp-integrity
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(if #$(%current-target-system)
|
||||
(display "Cannot validate native-comp on cross builds.\n")
|
||||
(invoke
|
||||
(string-append (assoc-ref outputs "out") "/bin/emacs")
|
||||
"--batch"
|
||||
"--load"
|
||||
#$(local-file
|
||||
(search-auxiliary-file "emacs/comp-integrity.el"))
|
||||
"-f" "ert-run-tests-batch-and-exit"))))))))
|
||||
#$(cond
|
||||
((%current-target-system)
|
||||
#~(display "Cannot validate native-comp on cross builds.\n"))
|
||||
((string=? (%current-system) "armhf-linux")
|
||||
#~(display "Integrity test is broken on armhf.\n"))
|
||||
(else
|
||||
#~(invoke
|
||||
(string-append (assoc-ref outputs "out") "/bin/emacs")
|
||||
"--batch"
|
||||
"--load"
|
||||
#$(local-file
|
||||
(search-auxiliary-file "emacs/comp-integrity.el"))
|
||||
"-f" "ert-run-tests-batch-and-exit")))))))))
|
||||
(inputs
|
||||
(modify-inputs (package-inputs emacs-minimal)
|
||||
(prepend gnutls
|
||||
|
|
Loading…
Reference in a new issue