From a3c72e66a674b74e3ac0294f294d4ca1579f27fa Mon Sep 17 00:00:00 2001 From: talyz Date: Mon, 23 Dec 2019 00:26:28 +0100 Subject: [PATCH] gitlab: update.py: Get go deps for gitlab-shell from the root dir GitLab Shell now has the go.mod and go.sum files in the root of the repo; the go subdirectory has been removed and all the code in it has been moved up to the root. --- pkgs/applications/version-management/gitlab/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/version-management/gitlab/update.py b/pkgs/applications/version-management/gitlab/update.py index a2231f813e82..dc2d1e29719d 100755 --- a/pkgs/applications/version-management/gitlab/update.py +++ b/pkgs/applications/version-management/gitlab/update.py @@ -195,7 +195,7 @@ def update_gitlab_shell(): for fn in ['go.mod', 'go.sum']: with open(gitlab_shell_dir / fn, 'w') as f: - f.write(repo.get_file(f"go/{fn}", f"v{gitlab_shell_version}")) + f.write(repo.get_file(fn, f"v{gitlab_shell_version}")) subprocess.check_output(['vgo2nix'], cwd=gitlab_shell_dir)