From 026d490c74d95c879d4ee1650f7e1c38b23848d5 Mon Sep 17 00:00:00 2001 From: Izorkin Date: Fri, 3 Jun 2022 09:48:26 +0300 Subject: [PATCH] unit: add ruby 3.1 --- pkgs/servers/http/unit/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/servers/http/unit/default.nix b/pkgs/servers/http/unit/default.nix index 299c9eb00ddf..3483623db2e3 100644 --- a/pkgs/servers/http/unit/default.nix +++ b/pkgs/servers/http/unit/default.nix @@ -8,6 +8,7 @@ , withPerldevel ? false, perldevel , withRuby_2_7 ? true, ruby_2_7 , withRuby_3_0 ? false, ruby_3_0 +, withRuby_3_1 ? false, ruby_3_1 , withSSL ? true, openssl ? null , withIPv6 ? true , withDebug ? false @@ -50,6 +51,7 @@ in stdenv.mkDerivation rec { ++ optional withPerldevel perldevel ++ optional withRuby_2_7 ruby_2_7 ++ optional withRuby_3_0 ruby_3_0 + ++ optional withRuby_3_1 ruby_3_1 ++ optional withSSL openssl; configureFlags = [ @@ -74,6 +76,7 @@ in stdenv.mkDerivation rec { ${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"} + ${optionalString withRuby_3_1 "./configure ruby --module=ruby31 --ruby=${ruby_3_1}/bin/ruby"} ''; postInstall = ''