Skip to content

Commit

Permalink
Remove NoImplicitPrelude from cardano-git-rev
Browse files Browse the repository at this point in the history
  • Loading branch information
newhoggy committed Feb 3, 2023
1 parent 0ebb1be commit 64e7a75
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
4 changes: 1 addition & 3 deletions cardano-git-rev/cardano-git-rev.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ extra-source-files: README.md

common project-config
default-language: Haskell2010
default-extensions: NoImplicitPrelude
build-depends: base >= 4.14 && < 4.15

ghc-options: -Wall
Expand All @@ -36,8 +35,7 @@ library
exposed-modules: Cardano.Git.Rev
Cardano.Git.RevFromGit

build-depends: cardano-prelude
, file-embed
build-depends: file-embed
, process
, template-haskell
, text
4 changes: 2 additions & 2 deletions cardano-git-rev/src/Cardano/Git/Rev.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ module Cardano.Git.Rev
( gitRev
) where

import Cardano.Prelude

import Data.FileEmbed (dummySpaceWith)
import Data.Text (Text)
import qualified Data.Text as T
import Data.Text.Encoding (decodeUtf8)

import Cardano.Git.RevFromGit (gitRevFromGit)

Expand Down
5 changes: 2 additions & 3 deletions cardano-git-rev/src/Cardano/Git/RevFromGit.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ module Cardano.Git.RevFromGit
( gitRevFromGit
) where

import Cardano.Prelude
import Prelude (String)

import Control.Exception (catch)
import qualified Language.Haskell.TH as TH
import System.Exit (ExitCode (..))
import qualified System.IO as IO
import System.IO.Error (isDoesNotExistError)
import System.Process (readProcessWithExitCode)
Expand Down

0 comments on commit 64e7a75

Please sign in to comment.