Make "stack setup" recover for GHCJS build #1874
This commit is contained in:
parent
cb1ad6c762
commit
2bf17fbc2e
1 changed files with 1 additions and 0 deletions
|
@ -848,6 +848,7 @@ installGHCJS si archiveFile archiveType destDir = do
|
|||
$logDebug $ "ziptool: " <> T.pack zipTool
|
||||
$logDebug $ "tar: " <> T.pack tarTool
|
||||
return $ do
|
||||
ignoringAbsence (removeDirRecur destDir)
|
||||
ignoringAbsence (removeDirRecur unpackDir)
|
||||
readInNull destDir tarTool menv ["xf", toFilePath archiveFile] Nothing
|
||||
innerDir <- expectSingleUnpackedDir archiveFile destDir
|
||||
|
|
Loading…
Reference in a new issue