Skip to content
Snippets Groups Projects
Commit a6975db9 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Comment out the add_ghc_options typesig as it differs in older Cabals

parent 30579e2f
No related branches found
Tags 1_0_release 6_6_1_release
No related merge requests found
......@@ -44,7 +44,9 @@ removePrefix (x:xs) (y:ys)
type Hook a = PackageDescription -> LocalBuildInfo -> UserHooks -> a -> IO ()
add_ghc_options :: [String] -> Hook a -> Hook a
-- We can't give a type signature as Cabal < 1.1.7 has Maybe UserHooks
-- where we have UserHooks.
-- add_ghc_options :: [String] -> Hook a -> Hook a
add_ghc_options args f pd lbi uhs x
= do let lib' = case library pd of
Just lib ->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment