mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 20:49:29 -05:00
gnu: ruby-spec-its: Accept any version of ruby-ffi.
* gnu/packages/ruby.scm (ruby-rspec-its)[arguments]: Change Gemfile substitution so that any ffi gem is accepted. While at it, tighten the regex and rename the phase to be more accurate.
This commit is contained in:
parent
a904223ec5
commit
7c8eb479a4
1 changed files with 4 additions and 2 deletions
|
@ -645,10 +645,12 @@ (define-public ruby-rspec-its
|
|||
(("rspec rspec-core rspec-expectations rspec-mocks rspec-support")
|
||||
""))
|
||||
#t))
|
||||
(add-before 'build 'update-ffi-in-gemfile
|
||||
(add-before 'build 'loosen-ffi-requirement
|
||||
(lambda _
|
||||
;; Accept any version of ruby-ffi.
|
||||
(substitute* "Gemfile"
|
||||
((" gem 'ffi', '~> 1.9.25'") " gem 'ffi', '~> 1.10.0'"))
|
||||
((" gem 'ffi', '~> 1\\.9\\.25'")
|
||||
" gem 'ffi'"))
|
||||
#t))
|
||||
(add-before 'build 'remove-unnecessary-dependency-versions-from-gemfile
|
||||
(lambda _
|
||||
|
|
Loading…
Reference in a new issue