diff options
author | Ben Woodcroft <donttrustben@gmail.com> | 2017-06-02 21:56:05 -0500 |
---|---|---|
committer | Ben Woodcroft <donttrustben@gmail.com> | 2017-06-02 22:58:46 -0500 |
commit | fc29d5e61b5d00004ecb8c53a2a19f64f7f129f2 (patch) | |
tree | d5925baedbd8130c0b54c2ef938009c350164cbc /gnu/packages | |
parent | fb4074897b403549b603c52881fdf7c9535348ad (diff) | |
download | guix-fc29d5e61b5d00004ecb8c53a2a19f64f7f129f2.tar guix-fc29d5e61b5d00004ecb8c53a2a19f64f7f129f2.tar.gz |
gnu: ruby-sdoc: Relax dependency requirement versions.
* gnu/packages/ruby.scm (ruby-sdoc)[arguments]: Relax dependency requirement
versions.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/ruby.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index cc996bd865..8acd05075c 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -2229,9 +2229,15 @@ current line in an external editor.") (arguments `(#:phases (modify-phases %standard-phases - (add-before 'check 'set-rubylib + (add-before 'check 'set-rubylib-and-patch-gemfile (lambda _ (setenv "RUBYLIB" "lib") + (substitute* "sdoc.gemspec" + (("s.add_runtime_dependency.*") "\n") + (("s.add_dependency.*") "\n")) + (substitute* "Gemfile" + (("gem \"rake\".*") + "gem 'rake'\ngem 'rdoc'\ngem 'json'\n")) #t))))) (propagated-inputs `(("ruby-json" ,ruby-json))) |