guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

39/59: gnu: ruby-hoe: Fix build.


From: guix-commits
Subject: 39/59: gnu: ruby-hoe: Fix build.
Date: Wed, 28 Jun 2023 05:55:17 -0400 (EDT)

cbaines pushed a commit to branch ruby-team
in repository guix.

commit d141c9278622ef8405f6e519de7d8049f85ea5ed
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Wed Jun 28 08:23:38 2023 +0100

    gnu: ruby-hoe: Fix build.
    
    * gnu/packages/ruby.scm (ruby-hoe)[arguments]: Update style and set #:tests?
     #f to work around a circular dependency.
---
 gnu/packages/ruby.scm | 20 +++-----------------
 1 file changed, 3 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 539abb9dd5..35732fc471 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -393,23 +393,9 @@ a menu system for providing multiple options to the user.")
                 "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,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]