Skip to content

Commit

Permalink
Just check if arm is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
ire4ever1190 committed Apr 27, 2024
1 parent b0a2a34 commit 4d09ba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/choosenimpkg/builder.nim
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ proc build*(extractDir: string, version: Version, params: CliParams) =

var success = false
try:
if fileExists(getCurrentDir() / "bin" / "nim".addFileExt(ExeExt)) and not getArch().startsWith("arm"):
if fileExists(getCurrentDir() / "bin" / "nim".addFileExt(ExeExt)) and not defined(arm):
if not version.isDevel() or not params.latest:
display("Compiler:", "Already built", priority = HighPriority)
success = true
Expand Down

0 comments on commit 4d09ba9

Please sign in to comment.