Unverified Commit e5aa2e3b authored by Izorkin's avatar Izorkin
Browse files

unit: add ruby 3.2

parent ba455450
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
, withPerldevel ? false, perldevel
, withRuby_3_0 ? false, ruby_3_0
, withRuby_3_1 ? true, ruby_3_1
, withRuby_3_2 ? false, ruby_3_2
, withSSL ? true, openssl ? null
, withIPv6 ? true
, withDebug ? false
@@ -50,6 +51,7 @@ in stdenv.mkDerivation rec {
    ++ optional withPerldevel perldevel
    ++ optional withRuby_3_0 ruby_3_0
    ++ optional withRuby_3_1 ruby_3_1
    ++ optional withRuby_3_2 ruby_3_2
    ++ optional withSSL openssl;

  configureFlags = [
@@ -73,6 +75,7 @@ in stdenv.mkDerivation rec {
    ${optionalString withPerldevel  "./configure perl   --module=perldev  --perl=${perldevel}/bin/perl"}
    ${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"}
    ${optionalString withRuby_3_2   "./configure ruby   --module=ruby32   --ruby=${ruby_3_2}/bin/ruby"}
  '';

  passthru.tests.unit-php = nixosTests.unit-php;