From 16d62f6ccd352a4ca9e6483a7d6989c668e5efa8 Mon Sep 17 00:00:00 2001 From: Yaya Date: Mon, 23 Oct 2023 11:52:28 +0000 Subject: [PATCH] gitlab: fix Puma low-level error handler location This replaces the hard-coded location to the Puma error handler class. https://gitlab.com/gitlab-org/gitlab/-/commit/80b76a16e06bebba149d4acdbe63cbbe0990a853#3ba20e58c18cc81aa8a5277f3be1d45ab5100691_88_84 --- pkgs/applications/version-management/gitlab/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/version-management/gitlab/default.nix b/pkgs/applications/version-management/gitlab/default.nix index 559058824340..bc5d3aa8b33d 100644 --- a/pkgs/applications/version-management/gitlab/default.nix +++ b/pkgs/applications/version-management/gitlab/default.nix @@ -160,6 +160,7 @@ stdenv.mkDerivation { ${replace}/bin/replace-literal -f -r -e '../../lib' "$out/share/gitlab/lib" config ${replace}/bin/replace-literal -f -r -e '../lib' "$out/share/gitlab/lib" config ${replace}/bin/replace-literal -f -r -e "require_relative 'application'" "require_relative '$out/share/gitlab/config/application'" config + ${replace}/bin/replace-literal -f -r -e 'require_relative "/home/git/gitlab/lib/gitlab/puma/error_handler"' "require_relative '$out/share/gitlab/lib/gitlab/puma/error_handler'" config ''; buildPhase = ''