Skip to content

Commit

Permalink
Fix imports for new mtl
Browse files Browse the repository at this point in the history
mtl decided to un-export `Control.Monad` and `Data.Monoid`, which in
itself is fine, but of course it breaks everything.
  • Loading branch information
Profpatsch committed Jul 21, 2024
1 parent 2dae563 commit f189069
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/PureNix/Convert.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

module PureNix.Convert (convert, ModuleInfo (..)) where

import Control.Monad
import Data.Bitraversable
import qualified Data.Map as M
import Data.Set (Set)
Expand Down
1 change: 1 addition & 0 deletions src/PureNix/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import qualified System.Exit as Sys
import System.FilePath ((</>))
import qualified System.FilePath as FP
import System.IO
import Control.Monad

Check warning on line 20 in src/PureNix/Main.hs

View workflow job for this annotation

GitHub Actions / Cabal GHC 9.2.3 on ubuntu-latest

The import of ‘Control.Monad’ is redundant

Check warning on line 20 in src/PureNix/Main.hs

View workflow job for this annotation

GitHub Actions / Cabal GHC 9.2.3 on macos-latest

The import of ‘Control.Monad’ is redundant

defaultMain :: IO ()
defaultMain = do
Expand Down

0 comments on commit f189069

Please sign in to comment.