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
This commit is contained in:
Yaya
2023-11-03 13:31:29 +01:00
committed by Yureka
parent 12cc4554fe
commit 16d62f6ccd
@@ -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 = ''