summary refs log tree commit diff
path: root/pkgs/development/ruby-modules
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2023-05-21 15:40:53 +0200
committerGitHub <noreply@github.com>2023-05-21 15:40:53 +0200
commit8229ab2435dd53eef8c5eb076c15ccdafd25fec7 (patch)
tree4cb78bc0ef42ce3290b3f93f8b1d5cc1bc0a941a /pkgs/development/ruby-modules
parentfef3d83a2b6ceee6904bab91c412b8146fed4b5f (diff)
downloadnixpkgs-8229ab2435dd53eef8c5eb076c15ccdafd25fec7.tar
nixpkgs-8229ab2435dd53eef8c5eb076c15ccdafd25fec7.tar.gz
nixpkgs-8229ab2435dd53eef8c5eb076c15ccdafd25fec7.tar.bz2
nixpkgs-8229ab2435dd53eef8c5eb076c15ccdafd25fec7.tar.lz
nixpkgs-8229ab2435dd53eef8c5eb076c15ccdafd25fec7.tar.xz
nixpkgs-8229ab2435dd53eef8c5eb076c15ccdafd25fec7.tar.zst
nixpkgs-8229ab2435dd53eef8c5eb076c15ccdafd25fec7.zip
rubyPackages.openssl: build against OpenSSL 3 if supported (#232906)
Diffstat (limited to 'pkgs/development/ruby-modules')
-rw-r--r--pkgs/development/ruby-modules/gem-config/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/ruby-modules/gem-config/default.nix b/pkgs/development/ruby-modules/gem-config/default.nix
index 105b463f827..4e9f663d9ac 100644
--- a/pkgs/development/ruby-modules/gem-config/default.nix
+++ b/pkgs/development/ruby-modules/gem-config/default.nix
@@ -516,7 +516,7 @@ in
 
   openssl = attrs: {
     # https://github.com/ruby/openssl/issues/369
-    buildInputs = [ openssl_1_1 ];
+    buildInputs = [ (if (lib.versionAtLeast attrs.version "3.0.0") then openssl else openssl_1_1) ];
   };
 
   opus-ruby = attrs: {