This commit is contained in:
Alexandre Esteves 2020-05-12 11:45:14 +01:00 committed by GitHub
parent 903fbfd090
commit bdba57d3e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,7 @@ parseCabalExports file = do
osConfVar = case System.Info.os of
"linux" -> Just Dist.Linux
"darwin" -> Just Dist.OSX
_ -> error "Unrecgonized System.Info.os"
_ -> error "Unrecognized System.Info.os"
archConfVar = Just Dist.X86_64
evalConfVar v = Right $ case v of
OS osVar -> Just osVar == osConfVar