Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
filepath
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
Packages
filepath
Commits
a6975db9
Commit
a6975db9
authored
18 years ago
by
Ian Lynagh
Browse files
Options
Downloads
Patches
Plain Diff
Comment out the add_ghc_options typesig as it differs in older Cabals
parent
30579e2f
No related branches found
Branches containing commit
Tags
1_0_release
6_6_1_release
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Setup.hs
+3
-1
3 additions, 1 deletion
Setup.hs
with
3 additions
and
1 deletion
Setup.hs
+
3
−
1
View file @
a6975db9
...
...
@@ -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
->
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment