gnu: zsh-autosuggestions: Disable failing tests.

* gnu/packages/shellutils.scm (zsh-autosuggestions)[arguments]: Add
'patch-tests' phase.
This commit is contained in:
Brice Waegeneire 2021-07-04 12:39:21 +02:00
parent cc73ddfb9a
commit 348c70f3fd
No known key found for this signature in database
GPG key ID: A94903A166A18FAE

View file

@ -9,6 +9,7 @@
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020 aecepoglu <aecepoglu@fastmail.fm>
;;; Copyright © 2020 Dion Mendel <guix@dm9.info>
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
;;;
;;; This file is part of GNU Guix.
;;;
@ -112,6 +113,10 @@ (define-public zsh-autosuggestions
(arguments
'(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-tests
(lambda _
;; Failing tests since tmux-3.2a
(delete-file "spec/options/buffer_max_size_spec.rb")))
(delete 'configure)
(replace 'check ; Tests use ruby's bundler; instead execute rspec directly.
(lambda _