crystal: remove unused binaryUrl conditional from < 1.2.0

This commit is contained in:
Donovan Glover
2025-02-13 07:52:27 -05:00
parent 70d2302106
commit a5456d1c7f
@@ -49,8 +49,6 @@ let
binaryUrl = version: rel:
if arch == archs.aarch64-linux then
"https://dev.alpinelinux.org/archive/crystal/crystal-${version}-aarch64-alpine-linux-musl.tar.gz"
else if arch == archs.x86_64-darwin && lib.versionOlder version "1.2.0" then
"https://github.com/crystal-lang/crystal/releases/download/${version}/crystal-${version}-${toString rel}-darwin-x86_64.tar.gz"
else
"https://github.com/crystal-lang/crystal/releases/download/${version}/crystal-${version}-${toString rel}-${arch}.tar.gz";