diff --git a/src/unix/Stack/DefaultColorWhen.hs b/src/unix/Stack/DefaultColorWhen.hs index 425859f704..72c09b307b 100644 --- a/src/unix/Stack/DefaultColorWhen.hs +++ b/src/unix/Stack/DefaultColorWhen.hs @@ -5,7 +5,8 @@ module Stack.DefaultColorWhen ( defaultColorWhen ) where -import Stack.Types.Runner (ColorWhen (ColorAuto)) +import Stack.Types.Runner (ColorWhen (ColorAuto, ColorNever)) +import System.Environment (lookupEnv) -- |The default adopts the standard proposed at http://no-color.org/, that color -- should not be added by default if the @NO_COLOR@ environment variable is