Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
head.hackage
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
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
Glasgow Haskell Compiler
head.hackage
Merge requests
!327
You need to sign in or sign up before continuing.
ci: Probe boot packages from package db
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
ci: Probe boot packages from package db
wip/T93
into
master
Overview
8
Commits
4
Pipelines
5
Changes
10
Open
Ben Gamari
requested to merge
wip/T93
into
master
1 year ago
Overview
8
Commits
4
Pipelines
5
Changes
10
Expand
Addresses
#93
.
Edited
1 year ago
by
Ben Gamari
0
0
Merge request reports
Compare
master
version 3
2732e19e
1 year ago
version 2
57723df4
1 year ago
version 1
3670d9c2
1 year ago
master (base)
and
latest version
latest version
0d0e51c1
4 commits,
1 year ago
version 3
2732e19e
3 commits,
1 year ago
version 2
57723df4
2 commits,
1 year ago
version 1
3670d9c2
1 commit,
1 year ago
10 files
+
235
−
26
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
10
Search (e.g. *.vue) (Ctrl+P)
ci/Main.hs
+
8
−
2
Options
@@ -7,6 +7,7 @@ import Control.Monad
import
Options.Applicative
import
qualified
TestPatches
import
qualified
MakeConstraints
import
System.FilePath
mode
::
Parser
(
IO
()
)
mode
=
hsubparser
$
mconcat
@@ -16,8 +17,13 @@ mode = hsubparser $ mconcat
where
testPatches
=
TestPatches
.
testPatches
<$>
TestPatches
.
config
makeConstraints
=
(
MakeConstraints
.
makeConstraints
>=>
print
)
<$>
argument
str
(
metavar
"DIR"
<>
help
"patches directory"
)
f
<$>
option
str
(
short
'w'
<>
long
"with-compiler"
<>
metavar
"GHC"
<>
help
"ghc path"
)
<*>
argument
str
(
metavar
"DIR"
<>
help
"patches directory"
)
f
ghcPath
patchesDir
=
do
let
ghcPkgPath
=
replaceFileName
ghcPath
"ghc-pkg"
MakeConstraints
.
makeConstraints
patchesDir
ghcPkgPath
>>=
print
main
::
IO
()
main
=
do
Loading