Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
Pepe Iborra
GHC
Commits
4f4b83d2
Commit
4f4b83d2
authored
5 years ago
by
mnislaih
Browse files
Options
Downloads
Patches
Plain Diff
Update to hie-bios 0.3.2 style program cradle
parent
a71323ff
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
hadrian/hie-bios
+2
-1
2 additions, 1 deletion
hadrian/hie-bios
hadrian/src/Rules.hs
+1
-1
1 addition, 1 deletion
hadrian/src/Rules.hs
with
3 additions
and
2 deletions
hadrian/hie-bios
+
2
−
1
View file @
4f4b83d2
...
...
@@ -3,5 +3,6 @@
# When run, this program will output a list of arguments which are necessary to
# load the GHC library component into GHCi. The program is used by `ghcide` in
# order to automatically set up the correct GHC API session for a project.
echo
$(
TERM
=
dumb
CABFLAGS
=
-v0
$PWD
/hadrian/build.cabal.sh tool-args
-q
--build-root
=
.hie-bios
--flavour
=
ghc-in-ghci
)
-ighc
ghc/Main.hs
TERM
=
dumb
CABFLAGS
=
-v0
$PWD
/hadrian/build.cabal.sh tool-args
-q
--build-root
=
.hie-bios
--flavour
=
ghc-in-ghci
>
$HIE_BIOS_OUTPUT
echo
-ighc
>>
$HIE_BIOS_OUTPUT
This diff is collapsed.
Click to expand it.
hadrian/src/Rules.hs
+
1
−
1
View file @
4f4b83d2
...
...
@@ -60,7 +60,7 @@ toolArgsTarget = do
-- Find out the arguments that are needed to load a module into the
-- session
arg_list
<-
interpret
fake_target
getArgs
liftIO
$
putStrLn
(
intercalate
"
"
arg_list
)
liftIO
$
putStrLn
(
intercalate
"
\n
"
arg_list
)
allStages
::
[
Stage
]
allStages
=
[
minBound
..
maxBound
]
...
...
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