mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
gitlab-workhorse: 3.0.0 -> 3.2.0
This commit is contained in:
parent
c9bb6ac1fd
commit
fa0148abf8
2 changed files with 4 additions and 4 deletions
|
@ -1,14 +1,14 @@
|
|||
{ stdenv, fetchFromGitLab, git, go }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "3.0.0";
|
||||
version = "3.2.0";
|
||||
name = "gitlab-workhorse-${version}";
|
||||
|
||||
srcs = fetchFromGitLab {
|
||||
owner = "gitlab-org";
|
||||
repo = "gitlab-workhorse";
|
||||
rev = "v${version}";
|
||||
sha256 = "0lz3bgwww640c7gh97vf40a8h6cz4znscl0r00z6iiwkc0xxzp7j";
|
||||
sha256 = "1ivqlhvmxhdb8359yh469zl45j00n94b53naqi8jx06kijfsdz4r";
|
||||
};
|
||||
|
||||
buildInputs = [ git go ];
|
||||
|
|
|
@ -2,11 +2,11 @@ diff --git a/internal/git/command.go b/internal/git/command.go
|
|||
index 0e5496c..5778294 100644
|
||||
--- a/internal/git/command.go
|
||||
+++ b/internal/git/command.go
|
||||
@@ -16,6 +16,7 @@ func gitCommand(gl_id string, name string, args ...string) *exec.Cmd {
|
||||
@@ -19,6 +19,7 @@ func gitCommand(gl_id string, name string, args ...string) *exec.Cmd {
|
||||
cmd.Env = []string{
|
||||
fmt.Sprintf("HOME=%s", os.Getenv("HOME")),
|
||||
fmt.Sprintf("PATH=%s", os.Getenv("PATH")),
|
||||
+ fmt.Sprintf("GITLAB_SHELL_CONFIG_PATH=%s", os.Getenv("GITLAB_SHELL_CONFIG_PATH")),
|
||||
fmt.Sprintf("LD_LIBRARY_PATH=%s", os.Getenv("LD_LIBRARY_PATH")),
|
||||
fmt.Sprintf("GL_ID=%s", gl_id),
|
||||
fmt.Sprintf("GL_PROTOCOL=http"),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue