about summary refs log tree commit diff
path: root/pkgs/applications/version-management/gitlab/default.nix
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2023-04-15 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2023-04-15 04:20:00 +0000
commita5aa37989156c23be3bed2c8da33f28427845caa (patch)
tree3af3f197fee9ca268abceaa33e64bd1d9209030a /pkgs/applications/version-management/gitlab/default.nix
parent8826b550a0d519c9adfd5d024ec8557170d34dc5 (diff)
gitlab: use Ruby 2.7
GitLab doesn't support Ruby 3 yet
https://gitlab.com/groups/gitlab-org/-/epics/5149
Diffstat (limited to 'pkgs/applications/version-management/gitlab/default.nix')
-rw-r--r--pkgs/applications/version-management/gitlab/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/version-management/gitlab/default.nix b/pkgs/applications/version-management/gitlab/default.nix
index c83478f05a915..8e20cc8a79443 100644
--- a/pkgs/applications/version-management/gitlab/default.nix
+++ b/pkgs/applications/version-management/gitlab/default.nix
@@ -1,5 +1,5 @@
 { stdenv, lib, fetchurl, fetchpatch, fetchFromGitLab, bundlerEnv
-, ruby, tzdata, git, nettools, nixosTests, nodejs, openssl
+, ruby_2_7, tzdata, git, nettools, nixosTests, nodejs, openssl
 , gitlabEnterprise ? false, callPackage, yarn
 , fixup_yarn_lock, replace, file, cacert, fetchYarnDeps, makeWrapper, pkg-config
 }:
@@ -17,7 +17,8 @@ let
 
   rubyEnv = bundlerEnv rec {
     name = "gitlab-env-${version}";
-    inherit ruby;
+    # GitLab doesn't support Ruby 3 https://gitlab.com/groups/gitlab-org/-/epics/5149
+    ruby = ruby_2_7;
     gemdir = ./rubyEnv;
     gemset =
       let x = import (gemdir + "/gemset.nix") src;