gitlab-shell: rename bin/{install, check} to gitlab-shell-{install, check}

This commit is contained in:
Pogobanane 2024-08-03 12:38:15 +02:00 committed by Yaya
parent a90c76c66f
commit 8ccab48f1c
2 changed files with 3 additions and 1 deletions

View File

@ -1338,7 +1338,7 @@ in {
ln -sf ${cableYml} ${cfg.statePath}/config/cable.yml
ln -sf ${resqueYml} ${cfg.statePath}/config/resque.yml
${cfg.packages.gitlab-shell}/bin/install
${cfg.packages.gitlab-shell}/bin/gitlab-shell-install
${optionalString cfg.smtp.enable ''
install -m u=rw ${smtpSettings} ${cfg.statePath}/config/initializers/smtp_settings.rb

View File

@ -22,6 +22,8 @@ buildGoModule rec {
postInstall = ''
cp -r "$NIX_BUILD_TOP/source"/bin/* $out/bin
mv $out/bin/install $out/bin/gitlab-shell-install
mv $out/bin/check $out/bin/gitlab-shell-check
cp -r "$NIX_BUILD_TOP/source"/{support,VERSION} $out/
'';
doCheck = false;