gitlab: 12.10.8 -> 13.0.3
https://about.gitlab.com/releases/2020/05/22/gitlab-13-0-released/ https://about.gitlab.com/releases/2020/05/27/security-release-13-0-1-released/ https://about.gitlab.com/releases/2020/05/29/gitlab-13-0-3-released/ The gitaly gitlab-shell config has moved into gitaly.toml. See https://gitlab.com/gitlab-org/gitaly/-/issues/2182 for more info.
This commit is contained in:
@@ -19,14 +19,14 @@ let
|
||||
};
|
||||
};
|
||||
in buildGoPackage rec {
|
||||
version = "12.10.8";
|
||||
version = "13.0.3";
|
||||
pname = "gitaly";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "gitlab-org";
|
||||
repo = "gitaly";
|
||||
rev = "v${version}";
|
||||
sha256 = "02dih35j97q80kzi46pkf9f9r1sffw11i5zmpjs2rr96al426g8q";
|
||||
sha256 = "0dvgi1pgn3pv7d6fkfmrp5y61inv9zgrw0224v44w00wm7sv9xi1";
|
||||
};
|
||||
|
||||
# Fix a check which assumes that hook files are writeable by their
|
||||
@@ -49,13 +49,6 @@ in buildGoPackage rec {
|
||||
postInstall = ''
|
||||
mkdir -p $ruby
|
||||
cp -rv $src/ruby/{bin,lib,proto,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/gitlab-shell/lib/gitlab_config.rb --replace \
|
||||
"ROOT_PATH.join('config.yml')" \
|
||||
"Pathname.new('/run/gitlab/shell-config.yml')"
|
||||
'';
|
||||
|
||||
outputs = [ "out" "ruby" ];
|
||||
|
||||
Reference in New Issue
Block a user