gitaly: fix build
This commit is contained in:
parent
d237c8a182
commit
2ec5786a4d
@ -27,12 +27,12 @@ in buildGoPackage rec {
|
|||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $ruby
|
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
|
# 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
|
# code by default which doesn't work in nixos because it's a
|
||||||
# read-only filesystem
|
# 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')" \
|
"File.join(ROOT_PATH, 'config.yml')" \
|
||||||
"'/run/gitlab/shell-config.yml'"
|
"'/run/gitlab/shell-config.yml'"
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user