Skip to content

Commit

Permalink
Do the write thing for 32-bit android
Browse files Browse the repository at this point in the history
See haskell/cabal#6301 for all the details. I'd
say it's safe to merge before the Cabal PR as the only people affected
by this bug would need to work around things anyways.
  • Loading branch information
Ericson2314 committed Oct 18, 2019
1 parent f382c3d commit af921eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Cabal2nix.hs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ ghcConvertOS os = case os of
"watchos" -> "ios"
"tvos" -> "ios"
"linux-android" -> "linux-android"
"linux-androideabi" -> "linux-androideabi"
_ | "linux-" `isPrefixOf` os -> "linux"
_ -> fromMaybe os $ listToMaybe
[prefix | prefix <- osPrefixes, prefix `isPrefixOf` os]
Expand Down

0 comments on commit af921eb

Please sign in to comment.