From 08943dadca8e8f8a790ae54b783cf1dd616b1266 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Fri, 26 Feb 2021 16:06:08 +0100 Subject: [PATCH] Fix validation --- app/ghcup-gen/Validate.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ghcup-gen/Validate.hs b/app/ghcup-gen/Validate.hs index 32c2d8f..33aa3a5 100644 --- a/app/ghcup-gen/Validate.hs +++ b/app/ghcup-gen/Validate.hs @@ -99,7 +99,7 @@ validate dls = do -- (although it could be static) when (not $ any (== Linux Alpine) pspecs) $ case t of - GHCup -> (lift $ $(logError) [i|Linux Alpine missing for #{t} #{v'} #{arch}|]) >> addError + GHCup | arch `elem` [A_64, A_32] -> (lift $ $(logError) [i|Linux Alpine missing for #{t} #{v'} #{arch}|]) >> addError Cabal | v > [vver|2.4.1.0|] , arch `elem` [A_64, A_32] -> (lift $ $(logError) [i|Linux Alpine missing for #{t} #{v'} #{arch'}|]) >> addError GHC | Latest `elem` tags || Recommended `elem` tags