me
/
guix
Archived
1
0
Fork 0

gnu: vim: Update to 8.1.0551.

* gnu/packages/vim.scm (vim): Update to 8.1.0551.
[arguments]: Disable one more test.
master
Marius Bakke 2018-11-29 15:44:41 +01:00
parent b868389357
commit 7af6e5daa4
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 9 additions and 3 deletions

View File

@ -61,7 +61,7 @@
(define-public vim (define-public vim
(package (package
(name "vim") (name "vim")
(version "8.1.0026") (version "8.1.0551")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/vim/vim/archive/v" (uri (string-append "https://github.com/vim/vim/archive/v"
@ -69,7 +69,7 @@
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"14q99dn113czp522j34p71za6g1mkriy04xxwcbm3axnrrpv1y52")))) "1wi6j9w04wg3hxsch3izl2mxb0065vpvxscz19zjn5ypkfypnm8n"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:test-target "test" `(#:test-target "test"
@ -85,12 +85,18 @@
"src/testdir/test_terminal.vim") "src/testdir/test_terminal.vim")
(("/bin/sh") (which "sh"))) (("/bin/sh") (which "sh")))
#t)) #t))
(add-before 'check 'patch-failing-test (add-before 'check 'patch-failing-tests
(lambda _ (lambda _
;; XXX A single test fails with “Can't create file /dev/stdout” (at ;; XXX A single test fails with “Can't create file /dev/stdout” (at
;; Test_writefile_sync_dev_stdout line 5) while /dev/stdout exists. ;; Test_writefile_sync_dev_stdout line 5) while /dev/stdout exists.
(substitute* "src/testdir/test_writefile.vim" (substitute* "src/testdir/test_writefile.vim"
(("/dev/stdout") "a-regular-file")) (("/dev/stdout") "a-regular-file"))
;; XXX: This test fails when run in the build container:
;; <https://github.com/vim/vim/issues/3348>.
(substitute* "src/testdir/test_search.vim"
((".*'Test_incsearch_substitute_03'.*" all)
(string-append "\"" all "\n")))
#t))))) #t)))))
(inputs (inputs
`(("gawk" ,gawk) `(("gawk" ,gawk)