Skip to content

Commit

Permalink
One final windowsintegersimple fix
Browse files Browse the repository at this point in the history
  • Loading branch information
snoyberg committed Jul 2, 2015
1 parent aeaea65 commit 2668f9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/System/Process/Read.hs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ import Data.Text.Encoding.Error (lenientDecode)
import qualified Data.Text.Lazy.Encoding as LT
import qualified Data.Text.Lazy as LT
import Data.Typeable (Typeable)
import Distribution.System (OS (Windows), Platform (Platform))
import Distribution.System (OS (Windows, OtherOS), Platform (Platform))
import Path (Path, Abs, Dir, toFilePath, File, parseAbsFile)
import Prelude -- Fix AMP warning
import System.Directory (createDirectoryIfMissing, doesFileExist, getCurrentDirectory)
Expand Down Expand Up @@ -108,6 +108,7 @@ mkEnvOverride platform tm' = do
isWindows =
case platform of
Platform _ Windows -> True
Platform _ (OtherOS "windowsintegersimple") -> True
_ -> False

-- | Helper conversion function
Expand Down

0 comments on commit 2668f9b

Please sign in to comment.