[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/05: gnu: ruby-safe-yaml: Fix build.
From: |
guix-commits |
Subject: |
05/05: gnu: ruby-safe-yaml: Fix build. |
Date: |
Tue, 4 Jul 2023 11:21:58 -0400 (EDT) |
cbaines pushed a commit to branch ruby-team
in repository guix.
commit a365b8b9c3e84993f53bd4582cc2bcaf59aaf006
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Tue Jul 4 16:19:54 2023 +0100
gnu: ruby-safe-yaml: Fix build.
* gnu/packages/ruby.scm (ruby-safe-yaml)[arguments]: Build with #:ruby
ruby-2.7 and update style.
---
gnu/packages/ruby.scm | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index dbbc73b98a..bcbf433377 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -13727,17 +13727,18 @@ indentation will probably be an issue and hence this
gem.")
(native-inputs
(list ruby-rspec ruby-hashie ruby-heredoc-unindent))
(arguments
- '(#:test-target "spec"
- #:phases
- (modify-phases %standard-phases
- (add-before 'check 'set-TZ
- (lambda _
- ;; This test is dependent on the timezone
- ;; spec/transform/to_date_spec.rb:35
- ;; # SafeYAML::Transform::ToDate converts times to the local
- ;; timezone
- (setenv "TZ" "UTC-11")
- #t)))))
+ (list
+ #:ruby ruby-2.7
+ #:test-target "spec"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'set-TZ
+ (lambda _
+ ;; This test is dependent on the timezone
+ ;; spec/transform/to_date_spec.rb:35
+ ;; # SafeYAML::Transform::ToDate converts times to the local
+ ;; timezone
+ (setenv "TZ" "UTC-11"))))))
(home-page "https://github.com/dtao/safe_yaml")
(synopsis "YAML parser")
(description "The SafeYAML gem provides an alternative implementation of