Commit 85530718 authored by Ben Gamari's avatar Ben Gamari 🐢

Eliminate redundant import of getArgs

parent b4305a28
......@@ -29,7 +29,7 @@ import Foreign
import Foreign.C.String
#endif
import System.Directory ( doesFileExist, findExecutable )
import System.Environment ( getProgName, getArgs )
import System.Environment ( getProgName )
import System.Exit ( ExitCode(..), exitWith )
import System.FilePath ( normalise, splitFileName, splitExtension )
import System.IO
......@@ -46,6 +46,8 @@ import System.FilePath ( takeDirectory, (</>) )
#endif
#if MIN_VERSION_base(4,12,0)
import GHC.ResponseFile ( getArgsWithResponseFiles )
#else
import GHC.Environment ( getArgs )
#endif
import Common
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment