gitaly: fix build

wip/yesman
Robin Gloster 5 years ago
parent d237c8a182
commit 2ec5786a4d
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF
  1. 4
      pkgs/applications/version-management/gitlab/gitaly/default.nix

@ -27,12 +27,12 @@ in buildGoPackage rec {
postInstall = ''
mkdir -p $ruby
cp -rv $src/ruby/{bin,lib,git-hooks,vendor} $ruby
cp -rv $src/ruby/{bin,lib,git-hooks,gitlab-shell} $ruby
# gitlab-shell will try to read its config relative to the source
# code by default which doesn't work in nixos because it's a
# read-only filesystem
substituteInPlace $ruby/vendor/gitlab-shell/lib/gitlab_config.rb --replace \
substituteInPlace $ruby/gitlab-shell/lib/gitlab_config.rb --replace \
"File.join(ROOT_PATH, 'config.yml')" \
"'/run/gitlab/shell-config.yml'"
'';

Loading…
Cancel
Save