gitlab-workhorse: 3.0.0 -> 3.2.0
This commit is contained in:
parent
c9bb6ac1fd
commit
fa0148abf8
@ -1,14 +1,14 @@
|
|||||||
{ stdenv, fetchFromGitLab, git, go }:
|
{ stdenv, fetchFromGitLab, git, go }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "3.0.0";
|
version = "3.2.0";
|
||||||
name = "gitlab-workhorse-${version}";
|
name = "gitlab-workhorse-${version}";
|
||||||
|
|
||||||
srcs = fetchFromGitLab {
|
srcs = fetchFromGitLab {
|
||||||
owner = "gitlab-org";
|
owner = "gitlab-org";
|
||||||
repo = "gitlab-workhorse";
|
repo = "gitlab-workhorse";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0lz3bgwww640c7gh97vf40a8h6cz4znscl0r00z6iiwkc0xxzp7j";
|
sha256 = "1ivqlhvmxhdb8359yh469zl45j00n94b53naqi8jx06kijfsdz4r";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ git go ];
|
buildInputs = [ git go ];
|
||||||
|
@ -2,11 +2,11 @@ diff --git a/internal/git/command.go b/internal/git/command.go
|
|||||||
index 0e5496c..5778294 100644
|
index 0e5496c..5778294 100644
|
||||||
--- a/internal/git/command.go
|
--- a/internal/git/command.go
|
||||||
+++ b/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{
|
cmd.Env = []string{
|
||||||
fmt.Sprintf("HOME=%s", os.Getenv("HOME")),
|
fmt.Sprintf("HOME=%s", os.Getenv("HOME")),
|
||||||
fmt.Sprintf("PATH=%s", os.Getenv("PATH")),
|
fmt.Sprintf("PATH=%s", os.Getenv("PATH")),
|
||||||
+ fmt.Sprintf("GITLAB_SHELL_CONFIG_PATH=%s", os.Getenv("GITLAB_SHELL_CONFIG_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("LD_LIBRARY_PATH=%s", os.Getenv("LD_LIBRARY_PATH")),
|
||||||
fmt.Sprintf("GL_ID=%s", gl_id),
|
fmt.Sprintf("GL_PROTOCOL=http"),
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user