nix: fix building of status-go forks with different GH owner
Resolves: https://github.com/status-im/status-react/issues/11637 Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
46d430b69c
commit
eb1f1bf587
|
@ -44,7 +44,8 @@ let
|
||||||
shortRev = strings.substring 0 7 rev;
|
shortRev = strings.substring 0 7 rev;
|
||||||
rawVersion = versionJSON.version;
|
rawVersion = versionJSON.version;
|
||||||
cleanVersion = utils.sanitizeVersion 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 {
|
src = fetchFromGitHub {
|
||||||
inherit rev owner repo sha256;
|
inherit rev owner repo sha256;
|
||||||
name = "${repo}-${shortRev}-source";
|
name = "${repo}-${shortRev}-source";
|
||||||
|
|
Loading…
Reference in New Issue