mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-02 09:28:57 -05:00
gnu: ruby-hoe: Fix build.
* gnu/packages/ruby.scm (ruby-hoe)[arguments]: Update style and set #:tests? #f to work around a circular dependency.
This commit is contained in:
parent
e0a1fcb1d1
commit
840f23c3a0
1 changed files with 3 additions and 17 deletions
|
@ -393,23 +393,9 @@ (define-public ruby-hoe
|
|||
"0r2hy7mq9jd9hsbvskd9sxfbagc92adnn7abzxbda05sscbf46hn"))))
|
||||
(build-system ruby-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
;; One of the tests fails if the SOURCE_DATE_EPOCH environment
|
||||
;; variable is set, so unset it for the duration of the tests.
|
||||
;;
|
||||
;; TestHoe#test_possibly_better
|
||||
;; [/tmp/guix-build-ruby-hoe-3.20.0.drv-0/gem/test/test_hoe.rb:250]:
|
||||
;; Expected: 2019-11-12 00:00:00 UTC
|
||||
;; Actual: 1970-01-01 00:00:00 UTC
|
||||
(add-before 'check 'unset-SOURCE-DATE-EPOCH
|
||||
(lambda _
|
||||
(unsetenv "SOURCE_DATE_EPOCH")
|
||||
#t))
|
||||
(add-after 'check 'set-SOURCE-DATE-EPOCH-again
|
||||
(lambda _
|
||||
(setenv "SOURCE_DATE_EPOCH" "1")
|
||||
#t)))))
|
||||
(list
|
||||
;; Circular dependency with minitest
|
||||
#:tests? #f))
|
||||
(synopsis "Ruby project management helper")
|
||||
(description
|
||||
"Hoe is a rake/rubygems helper for project Rakefiles. It helps manage,
|
||||
|
|
Loading…
Reference in a new issue