Unverified Commit 089614f6 authored by github-actions[bot]'s avatar github-actions[bot] Committed by GitHub
Browse files

gitlab: downgrade Ruby from 3.2 to 3.1 (#269204)

Ruby 3.0 was dropped from nixpkgs in #264361 as it will soon become EOL
during the NixOS 23.11 release. As a result, the Ruby version in gitlab
was (accidentally) updated to 3.2.

However, gitlab does not officially support Ruby 3.2 yet.
[gitlab-org&9684] Official support for Ruby 3.1 will be introduced in
the December 2023 release of gitlab. [gitlab-org&10034] Packaging gitlab
with Ruby 3.1 in nixpkgs had been confimed working by a maintainer. As
such, it should be safe to downgrade the Ruby version to 3.1.

[gitlab-org&9684]: https://gitlab.com/groups/gitlab-org/-/epics/9684
[gitlab-org&10034]: https://gitlab.com/groups/gitlab-org/-/epics/10034



(cherry picked from commit 9056afd3ee4e928c7d353a7fa7a23e11769c51bd)

Co-authored-by: default avatarYaya <github@uwu.is>
parent e32eaa82
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
{ stdenv, lib, fetchurl, fetchpatch, fetchFromGitLab, bundlerEnv
, ruby_3_2, tzdata, git, nettools, nixosTests, nodejs, openssl
, ruby_3_1, tzdata, git, nettools, nixosTests, nodejs, openssl
, gitlabEnterprise ? false, callPackage, yarn
, fixup_yarn_lock, replace, file, cacert, fetchYarnDeps, makeWrapper, pkg-config
}:
@@ -17,7 +17,7 @@ let

  rubyEnv = bundlerEnv rec {
    name = "gitlab-env-${version}";
    ruby = ruby_3_2;
    ruby = ruby_3_1;
    gemdir = ./rubyEnv;
    gemset =
      let x = import (gemdir + "/gemset.nix") src;