diff options
author | Izorkin <izorkin@elven.pw> | 2022-06-03 09:47:40 +0300 |
---|---|---|
committer | Izorkin <izorkin@elven.pw> | 2022-07-15 22:46:26 +0300 |
commit | 7f297f05a69e5ff7cb39fa0e778a71b251368557 (patch) | |
tree | 20b4f4ca410ebefae4bfc042ee55a51b8fd19227 /pkgs/servers/http/unit | |
parent | 2d7c97f43923cfe07ba65043a85fd0c0cccec980 (diff) | |
download | nixlib-7f297f05a69e5ff7cb39fa0e778a71b251368557.tar nixlib-7f297f05a69e5ff7cb39fa0e778a71b251368557.tar.gz nixlib-7f297f05a69e5ff7cb39fa0e778a71b251368557.tar.bz2 nixlib-7f297f05a69e5ff7cb39fa0e778a71b251368557.tar.lz nixlib-7f297f05a69e5ff7cb39fa0e778a71b251368557.tar.xz nixlib-7f297f05a69e5ff7cb39fa0e778a71b251368557.tar.zst nixlib-7f297f05a69e5ff7cb39fa0e778a71b251368557.zip |
unit: add ruby 3.0
Diffstat (limited to 'pkgs/servers/http/unit')
-rw-r--r-- | pkgs/servers/http/unit/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/servers/http/unit/default.nix b/pkgs/servers/http/unit/default.nix index fd66f3a83c7d..299c9eb00ddf 100644 --- a/pkgs/servers/http/unit/default.nix +++ b/pkgs/servers/http/unit/default.nix @@ -6,7 +6,8 @@ , withPerl532 ? false, perl532 , withPerl534 ? true, perl534 , withPerldevel ? false, perldevel -, withRuby_2_7 ? false, ruby_2_7 +, withRuby_2_7 ? true, ruby_2_7 +, withRuby_3_0 ? false, ruby_3_0 , withSSL ? true, openssl ? null , withIPv6 ? true , withDebug ? false @@ -48,6 +49,7 @@ in stdenv.mkDerivation rec { ++ optional withPerl534 perl534 ++ optional withPerldevel perldevel ++ optional withRuby_2_7 ruby_2_7 + ++ optional withRuby_3_0 ruby_3_0 ++ optional withSSL openssl; configureFlags = [ @@ -71,6 +73,7 @@ in stdenv.mkDerivation rec { ${optionalString withPerl534 "./configure perl --module=perl534 --perl=${perl534}/bin/perl"} ${optionalString withPerldevel "./configure perl --module=perldev --perl=${perldevel}/bin/perl"} ${optionalString withRuby_2_7 "./configure ruby --module=ruby27 --ruby=${ruby_2_7}/bin/ruby"} + ${optionalString withRuby_3_0 "./configure ruby --module=ruby30 --ruby=${ruby_3_0}/bin/ruby"} ''; postInstall = '' |