Skip to content

Commit

Permalink
Replace missing x86_64 link for nimbus
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolmin committed Dec 10, 2024
1 parent 3b07aee commit a699a61
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dependencies/clients/nimbus2.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,13 @@ func (n *Nimbus2Client) ParseUrl(tag, commitHash string) (url string) {
urlSystem = "Linux"
}

if arch == "arm" || arch == "aarch64" {
if (arch == "arm" || arch == "aarch64") && system.Os == system.Ubuntu {
arch = "arm64v8"
}
if arch == "x86_64" {
// x86_64 not present as a released tar - default to amd64 instead
arch = "amd64"
}

url = n.baseUrl
url = strings.ReplaceAll(url, "|TAG|", tag)
Expand Down

0 comments on commit a699a61

Please sign in to comment.