mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-18 00:42:17 -05:00
gnu: ruby-mapping: Fix build.
* gnu/packages/ruby.scm (ruby-mapping)[arguments]: Add 'patch phase.
This commit is contained in:
parent
6f57245943
commit
135c9af111
1 changed files with 10 additions and 1 deletions
|
@ -4698,7 +4698,16 @@ (define-public ruby-mapping
|
||||||
(base32
|
(base32
|
||||||
"0yhmqp8mprjqf9m7wzc4hhi50qbfax86r89w852csns0ijaffjjs"))))
|
"0yhmqp8mprjqf9m7wzc4hhi50qbfax86r89w852csns0ijaffjjs"))))
|
||||||
(build-system ruby-build-system)
|
(build-system ruby-build-system)
|
||||||
(arguments (list #:test-target "spec"))
|
(arguments
|
||||||
|
(list
|
||||||
|
#:test-target "spec"
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch
|
||||||
|
(lambda _
|
||||||
|
(substitute* "spec/mapping/model_spec.rb"
|
||||||
|
;; From https://github.com/ioquatix/mapping/pull/2
|
||||||
|
(("offset:") "offset =")))))))
|
||||||
(native-inputs (list ruby-rspec))
|
(native-inputs (list ruby-rspec))
|
||||||
(synopsis "Map model objects based on their class to a given output model")
|
(synopsis "Map model objects based on their class to a given output model")
|
||||||
(description "The @code{mapping} gem maps model objects based on their
|
(description "The @code{mapping} gem maps model objects based on their
|
||||||
|
|
Loading…
Reference in a new issue