gitaly: fix build
This commit is contained in:
parent
d237c8a182
commit
2ec5786a4d
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue