Commit e4a087d0 authored by Duncan Coutts's avatar Duncan Coutts

Don't generate #! lines in Setup.hs files in cabal init

We don't want to encourage multiple ways of invoking Setup
The one true (cross-platform) way is: runghc Setup
parent e571e780
......@@ -375,8 +375,7 @@ writeSetupFile flags = do
writeFile "Setup.hs" setupFile
where
setupFile = unlines
[ "#!/usr/bin/env runhaskell"
, "import Distribution.Simple"
[ "import Distribution.Simple"
, "main = defaultMain"
]
......
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