mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: emacs-org-cliplink: Fix randomly failing build.
* gnu/packages/emacs-xyz.scm (emacs-org-cliplink)[arguments]<#:phases>: Fix a randomly failing test.
This commit is contained in:
parent
3c4b3206fc
commit
45542a0d5e
1 changed files with 8 additions and 1 deletions
|
@ -35183,7 +35183,14 @@ (define-public emacs-org-cliplink
|
|||
(substitute* "org-cliplink-transport.el"
|
||||
(("\\(executable-find \"curl\"\\)")
|
||||
(let ((curl (search-input-file inputs "/bin/curl")))
|
||||
(string-append "\"" curl "\"")))))))))
|
||||
(string-append "\"" curl "\""))))))
|
||||
(add-before 'check 'fix-failing-test
|
||||
;; XXX: Fix randomly (!) failing test, which doesn't account for
|
||||
;; the fact that (random) may return a negative number.
|
||||
(lambda _
|
||||
(substitute* "test/org-cliplink-transport-test.el"
|
||||
(("curl-rexim.me-\\[a-z0-9\\]\\+")
|
||||
"curl-rexim.me--?[a-z0-9]+")))))))
|
||||
(native-inputs
|
||||
(list emacs-el-mock emacs-ert-runner emacs-undercover))
|
||||
(inputs
|
||||
|
|
Loading…
Reference in a new issue