Merge pull request #85293 from petabyteboy/feature/gitlab-12-9-x
gitlab: 12.8.10 -> 12.10.6
This commit is contained in:
@@ -19,19 +19,21 @@ let
|
||||
};
|
||||
};
|
||||
in buildGoPackage rec {
|
||||
version = "12.8.10";
|
||||
version = "12.10.8";
|
||||
pname = "gitaly";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "gitlab-org";
|
||||
repo = "gitaly";
|
||||
rev = "v${version}";
|
||||
sha256 = "1vhnpyggh2ch93i75np11rjzvq8d6pwv2kzvwh7ak3fa02w9qdfs";
|
||||
sha256 = "02dih35j97q80kzi46pkf9f9r1sffw11i5zmpjs2rr96al426g8q";
|
||||
};
|
||||
|
||||
# Fix a check which assumes that hook files are writeable by their
|
||||
# owner.
|
||||
patches = [ ./fix-executable-check.patch ];
|
||||
patches = [
|
||||
./fix-executable-check.patch
|
||||
];
|
||||
|
||||
goPackagePath = "gitlab.com/gitlab-org/gitaly";
|
||||
|
||||
@@ -52,8 +54,8 @@ in buildGoPackage rec {
|
||||
# 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 \
|
||||
"File.join(ROOT_PATH, 'config.yml')" \
|
||||
"'/run/gitlab/shell-config.yml'"
|
||||
"ROOT_PATH.join('config.yml')" \
|
||||
"Pathname.new('/run/gitlab/shell-config.yml')"
|
||||
'';
|
||||
|
||||
outputs = [ "out" "ruby" ];
|
||||
|
||||
Reference in New Issue
Block a user