diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index b216f3f48b..c039df1559 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -2914,6 +2914,11 @@ (define-public ruby-term-ansicolor (arguments `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'fix-test + (lambda - + (substitute* "tests/hsl_triple_test.rb" + (("0\\\\\\.0%") + "0\\.?0?%")))) (replace 'build (lambda _ (invoke "gem" "build" "term-ansicolor.gemspec"))))))