File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ import Network.HTTP.Types.Header (hContentLength, hContentMD5)
5555import Path
5656import Prelude -- Fix AMP warning
5757import System.Directory
58- import System.FilePath ((<.>) )
58+ import qualified System.FilePath as FP ((<.>) )
5959import System.IO
6060
6161-- | A request together with some checks to perform.
@@ -243,7 +243,7 @@ verifiedDownload DownloadRequest{..} destpath progressSink = do
243243 if p then m >> return True else return False
244244
245245 fp = toFilePath destpath
246- fptmp = fp <.> " tmp"
246+ fptmp = fp FP. <.> " tmp"
247247 dir = toFilePath $ parent destpath
248248
249249 getShouldDownload = do
Original file line number Diff line number Diff line change @@ -75,7 +75,6 @@ import Stack.Types.PackageIdentifier
7575import Stack.Types.PackageIndex
7676import Stack.Types.PackageName
7777import Stack.Types.Version
78- import System.FilePath ((<.>) )
7978import qualified System.FilePath as FP
8079import System.IO
8180import System.PosixCompat (setFileMode )
@@ -561,7 +560,7 @@ fetchPackages' mdistDir toFetchAll = do
561560 let cabalFP =
562561 innerDest FP. </>
563562 packageNameString (packageIdentifierName ident)
564- <.> " cabal"
563+ FP. <.> " cabal"
565564 S. writeFile cabalFP $ tfCabal toFetch
566565
567566 atomically $ modifyTVar outputVar $ Map. insert ident destDir
You can’t perform that action at this time.
0 commit comments