From d7bd7016e87f6690e6b7e3f79bf0c147df7631ac Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 27 Jun 2020 00:33:33 -0400 Subject: [PATCH] gnu: Add ruby-rspec-its-minimal. * gnu/packages/ruby.scm (ruby-rspec-its-minimal): New variable. (ruby-addressable)[native-inputs]: Use it instead of ruby-rspec-its. --- gnu/packages/ruby.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index ba76d5019a..ec5a0fec09 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -679,6 +679,16 @@ (define-public ruby-rspec-its (home-page "https://github.com/rspec/rspec-its") (license license:expat))) +;;; This variant is used to break a cycle with ruby-protobuf. +(define-public ruby-rspec-its-minimal + (hidden-package + (package + (inherit ruby-rspec-its) + (arguments + (substitute-keyword-arguments (package-arguments ruby-rspec-its) + ((#:tests? _ #f) #f))) + (native-inputs '())))) + (define-public ruby-rspec-mocks (package (name "ruby-rspec-mocks") @@ -8197,7 +8207,7 @@ (define-public ruby-addressable ("bundler" ,bundler) ("ruby-idn-ruby" ,ruby-idn-ruby) ("ruby-sporkmonger-rack-mount" ,ruby-sporkmonger-rack-mount) - ("ruby-rspec-its", ruby-rspec-its) + ("ruby-rspec-its", ruby-rspec-its-minimal) ("ruby-yard" ,ruby-yard) ("ruby-simplecov" ,ruby-simplecov))) (propagated-inputs