diff options
author | Danny Milosavljevic <dannym@scratchpost.org> | 2022-01-31 15:14:25 +0100 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2022-01-31 16:38:53 +0100 |
commit | a0bf73143b3662a0b902a06928977f6aeb97573c (patch) | |
tree | 5866f147cd505f9c31122389223d1fe370dfa552 /gnu/packages/ruby.scm | |
parent | 7fc8a6faf6269fd6417e3ed4794504f66899432b (diff) | |
download | guix-a0bf73143b3662a0b902a06928977f6aeb97573c.tar.gz |
gnu: ruby-mustache: Fix race condition.
* gnu/packages/patches/ruby-mustache-1.1.1-fix-race-condition-tests.patch: New file. * gnu/packages/ruby.scm (ruby-mustache)[source]<#:origin>: Add it. * gnu/local.mk (dist_patch_DATA): Add it.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r-- | gnu/packages/ruby.scm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 9d1a414914..1632ad092b 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -11386,7 +11386,16 @@ serves JavaScript, CoffeeScript, CSS, LESS, Sass, and SCSS.") (base32 "1l0p4wx15mi3wnamfv92ipkia4nsx8qi132c6g51jfdma3fiz2ch")))) (build-system ruby-build-system) (native-inputs - (list ruby-simplecov)) + `(("ruby-simplecov" ,ruby-simplecov) + ("test-patch" + ,(search-patch "ruby-mustache-1.1.1-fix-race-condition-tests.patch")))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-tests + (lambda* (#:key inputs #:allow-other-keys) + (invoke "patch" "-p1" "--batch" "-i" + (assoc-ref inputs "test-patch"))))))) (synopsis "framework-agnostic way to render logic-free views") (description "Mustache is a framework-agnostic way to render logic-free views. |