Don't try non-musl bindists for Alpine Linux

This commit is contained in:
Julian Ospald 2020-07-20 20:47:45 +02:00
parent 14c91bdd78
commit 22a5ad739e
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -270,7 +270,10 @@ getDownloadInfo :: Tool
getDownloadInfo t v (PlatformRequest a p mv) dls = maybe
(Left NoDownload)
Right
(with_distro <|> without_distro_ver <|> without_distro)
(case p of
-- non-musl won't work on alpine
Linux Alpine -> with_distro <|> without_distro_ver
_ -> with_distro <|> without_distro_ver <|> without_distro)
where
with_distro = distro_preview id id