Skip to content

Commit

Permalink
Switch back to tar on non-OpenBSD (#2283)
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaisorblade committed Aug 6, 2016
1 parent 90ecd0c commit cdd20ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stack/Setup.hs
Expand Up @@ -809,7 +809,7 @@ installGHCPosix version _ archiveFile archiveType destDir = do
let tarDep =
case (platform, archiveType) of
(Platform _ Cabal.OpenBSD, TarXz) -> checkDependency "gtar"
_ -> checkDependency "gtar" <|> checkDependency "tar"
_ -> checkDependency "tar"
(zipTool, makeTool, tarTool) <- checkDependencies $ (,,)
<$> checkDependency zipTool'
<*> (checkDependency "gmake" <|> checkDependency "make")
Expand Down

0 comments on commit cdd20ad

Please sign in to comment.