gitlab: fix Puma low-level error handler location

This replaces the hard-coded location to the Puma error handler class.

80b76a16e0 (3ba20e58c18cc81aa8a5277f3be1d45ab5100691_88_84)
This commit is contained in:
Yaya 2023-10-23 11:52:28 +00:00 committed by Yureka
parent 12cc4554fe
commit 16d62f6ccd

View file

@ -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 = ''