diff options
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix b/infra/libkookie/nixpkgs/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix index 6386a9cc5aa7..a0f80533caa0 100644 --- a/infra/libkookie/nixpkgs/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix +++ b/infra/libkookie/nixpkgs/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix @@ -1,31 +1,21 @@ -{ stdenv, fetchFromGitLab, git, buildGoPackage }: +{ stdenv, fetchFromGitLab, git, buildGoModule }: -buildGoPackage rec { +buildGoModule rec { pname = "gitlab-workhorse"; - version = "8.31.2"; + version = "8.54.0"; src = fetchFromGitLab { owner = "gitlab-org"; repo = "gitlab-workhorse"; rev = "v${version}"; - sha256 = "0wvhhjfb490mjdrmc9xwr3qfh3941xn3b02c757ghrvzwv329wvg"; + sha256 = "0fz00sl9q4d3vbslh7y9nsnhjshgfg0x7mv7b7a9sc3mxmabp7gz"; }; - goPackagePath = "gitlab.com/gitlab-org/gitlab-workhorse"; - goDeps = ./deps.nix; + vendorSha256 = "0wi6vj9phwh0bsdk2lrgq807nb90iivlm0bkdjkim06jq068mizj"; buildInputs = [ git ]; buildFlagsArray = "-ldflags=-X main.Version=${version}"; - - # gitlab-workhorse depends on an older version of labkit which - # contains old, vendored versions of some packages; gitlab-workhorse - # also explicitly depends on newer versions of these libraries, - # but buildGoPackage exposes the vendored versions instead, - # leading to compilation errors. Since the vendored libraries - # aren't used here anyway, we'll just remove them. - postConfigure = '' - rm -r "$NIX_BUILD_TOP/go/src/gitlab.com/gitlab-org/labkit/vendor" - ''; + doCheck = false; meta = with stdenv.lib; { homepage = "http://www.gitlab.com/"; |