From 469728b04258faaeda02178a9322b8c899b87817 Mon Sep 17 00:00:00 2001 From: Kirill Radzikhovskyy Date: Sat, 15 Feb 2025 12:53:59 +1100 Subject: [PATCH] gitlab: allow to use bundler from nixpkgs, rather than bundler from Gemfile.lock --- nixos/modules/services/misc/gitlab.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/modules/services/misc/gitlab.nix b/nixos/modules/services/misc/gitlab.nix index 3e345f69d50a..245ced135c51 100644 --- a/nixos/modules/services/misc/gitlab.nix +++ b/nixos/modules/services/misc/gitlab.nix @@ -184,6 +184,9 @@ let prometheus_multiproc_dir = "/run/gitlab"; RAILS_ENV = "production"; MALLOC_ARENA_MAX = "2"; + # allow to use bundler version from nixpkgs + # rather than version listed in Gemfile.lock + BUNDLER_VERSION = pkgs.bundler.version; } // cfg.extraEnv; runtimeDeps = [ git ] ++ (with pkgs; [