From eb1f1bf587a7a6ada01ca6dc94b31ff3c1fa219e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Wed, 13 Jan 2021 14:49:55 +0100 Subject: [PATCH] nix: fix building of status-go forks with different GH owner MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolves: https://github.com/status-im/status-react/issues/11637 Signed-off-by: Jakub SokoĊ‚owski --- nix/status-go/source.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix/status-go/source.nix b/nix/status-go/source.nix index 9d72ba858f..63052563aa 100644 --- a/nix/status-go/source.nix +++ b/nix/status-go/source.nix @@ -44,7 +44,8 @@ let shortRev = strings.substring 0 7 rev; rawVersion = versionJSON.version; cleanVersion = utils.sanitizeVersion versionJSON.version; - goPackagePath = "github.com/${owner}/${repo}"; + # Need to pretend this is from status-im to let Go build it. + goPackagePath = "github.com/status-im/${repo}"; src = fetchFromGitHub { inherit rev owner repo sha256; name = "${repo}-${shortRev}-source";