Skip to content

Commit

Permalink
squash! Hackport.Env: Fix warnings message
Browse files Browse the repository at this point in the history
Use 'unless' from Control.Monad

Give more explicit imports to help with compatibility between major GHC
versions. This requires some tweaking to imports in other files.
  • Loading branch information
hololeap committed Sep 22, 2024
1 parent ec7773a commit 70339a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Hackport/Env.hs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ module Hackport.Env
, WritesMetadata (..)
, UseHackageRemote
-- * Re-exports
, module Control.Monad.IO.Class
, module Control.Monad.Reader
) where

Expand Down
2 changes: 1 addition & 1 deletion src/Overlays.hs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import System.FilePath ((</>), splitPath, joinPath)
import Error
import Portage.Host
import Util (info)
import Hackport.Env hiding (local)
import Hackport.Env

-- getOverlayPath :: forall m. (HasGlobalEnv m, MonadIO m) => m String
getOverlayPath :: Env env String
Expand Down

0 comments on commit 70339a8

Please sign in to comment.