File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 145
145
ruby -e 'puts "ok"' > $out
146
146
'' ;
147
147
} ;
148
+ } // ( lib . optionalAttrs ( with versionComparison rubyVersion ; greaterOrEqualTo "2.4" ) {
149
+ # Ruby <2.4 only supports openssl 1.0 and not openssl1.1. openssl 1.0 is not supported by nixpkgs
150
+ # anymore, so we will not support it here.
148
151
"${ rubyName } -openssl" = {
149
152
nativeBuildInputs = [
150
153
ruby
153
156
ruby -e 'require "openssl"; puts OpenSSL::OPENSSL_VERSION' > $out
154
157
'' ;
155
158
} ;
156
- } // ( lib . optionalAttrs ( with import ./lib/version-comparison.nix rubyVersion ; greaterOrEqualTo "2.2" ) {
159
+ } ) // ( lib . optionalAttrs ( with versionComparison rubyVersion ; greaterOrEqualTo "2.2" ) {
157
160
"${ rubyName } -bundlerEnv" = let
158
161
gems = pkgs . bundlerEnv {
159
162
name = "gemset" ;
You can’t perform that action at this time.
0 commit comments