Skip to content

Commit ab12c8a

Browse files
authored
fix: add version field to localSrc definition for go-mobile nix build (#22041)
1 parent 8b21d6a commit ab12c8a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

nix/status-go/source.nix

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ let
1313
repo = "status-go";
1414
rev = "unknown";
1515
shortRev = rev;
16-
rawVersion = "develop";
17-
cleanVersion = rawVersion;
16+
version = "unknown";
17+
cleanVersion = version;
1818
goPackagePath = "github.com/${owner}/${repo}";
1919
# We use builtins.path so that we can name the resulting derivation,
2020
# Normally the name would not be deterministic, taken from the checkout directory.
@@ -43,7 +43,6 @@ let
4343
inherit (versionJSON) owner repo version;
4444
rev = versionJSON.commit-sha1;
4545
shortRev = strings.substring 0 7 rev;
46-
rawVersion = versionJSON.version;
4746
cleanVersion = lib.sanitizeVersion versionJSON.version;
4847
# Need to pretend this is from status-im to let Go build it.
4948
goPackagePath = "github.com/status-im/${repo}";

0 commit comments

Comments
 (0)