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; [