diff --git a/elm.hcl b/elm.hcl index ea4e3ad2..d2def7f8 100644 --- a/elm.hcl +++ b/elm.hcl @@ -12,7 +12,7 @@ linux { } } -darwin { +platform darwin amd64 { source = "https://github.com/elm/compiler/releases/download/${version}/binary-for-mac-64-bit.gz" on "unpack" { @@ -23,6 +23,17 @@ darwin { } } +platform darwin arm64 { + source = "https://github.com/elm/compiler/releases/download/${version}/binary-for-mac-64-bit-ARM.gz" + + on "unpack" { + rename { + from = "${root}/binary-for-mac-64-bit-ARM" + to = "${root}/elm" + } + } +} + version "0.19.1" { auto-version { github-release = "elm/compiler"