Move ArchiveResult into GHCup.Utils.Tar.Types

So a module that wants to import ArchiveResult doesn't have to worry about CPP.
This commit is contained in:
Rune K. Svendsen
2024-01-09 10:19:58 +01:00
parent 2ece023c0f
commit 87ec8c756f
5 changed files with 37 additions and 26 deletions

View File

@@ -21,9 +21,6 @@ module GHCup.Errors where
import GHCup.Types
#if !defined(TAR)
import Codec.Archive
#endif
import Control.Exception.Safe
import Data.ByteString ( ByteString )
import Data.CaseInsensitive ( CI )