From 3b8667939916a9650fd1b3414c081a991f7c8b51 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Fri, 20 Mar 2020 22:20:00 +0100 Subject: [PATCH] Resolve NonEmpty import warning --- arion-compose.cabal | 2 +- src/haskell/exe/Main.hs | 2 -- src/haskell/lib/Arion/Nix.hs | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/arion-compose.cabal b/arion-compose.cabal index 26d04c7..df6acb3 100644 --- a/arion-compose.cabal +++ b/arion-compose.cabal @@ -36,7 +36,7 @@ common common , process , temporary , text - , protolude + , protolude >= 0.2 , unix ghc-options: -Wall diff --git a/src/haskell/exe/Main.hs b/src/haskell/exe/Main.hs index 6f806c6..eeb6731 100644 --- a/src/haskell/exe/Main.hs +++ b/src/haskell/exe/Main.hs @@ -17,8 +17,6 @@ import Control.Monad.Fail import qualified Data.Text as T import qualified Data.Text.IO as T -import Data.List.NonEmpty (NonEmpty(..)) - import System.Posix.User (getRealUserID) data CommonOptions = diff --git a/src/haskell/lib/Arion/Nix.hs b/src/haskell/lib/Arion/Nix.hs index dbc9103..cdd3761 100644 --- a/src/haskell/lib/Arion/Nix.hs +++ b/src/haskell/lib/Arion/Nix.hs @@ -22,7 +22,6 @@ import Paths_arion_compose import qualified Data.Text.IO as T import qualified Data.List.NonEmpty as NE -import Data.List.NonEmpty ( NonEmpty(..) ) import Control.Arrow ( (>>>) ) import System.IO.Temp ( withTempFile )