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
Commits
812d804c
Commit
812d804c
authored
1 year ago
by
Ben Gamari
Browse files
Options
Downloads
Patches
Plain Diff
ci: Add ghc-exactprint
parent
561e6bd3
No related branches found
No related tags found
Loading
Pipeline
#84596
failed
1 year ago
Stage: test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ci/config.sh
+17
-2
17 additions, 2 deletions
ci/config.sh
with
17 additions
and
2 deletions
ci/config.sh
+
17
−
2
View file @
812d804c
...
@@ -46,6 +46,19 @@ function extra_package() {
...
@@ -46,6 +46,19 @@ function extra_package() {
EXTRA_OPTS
=
"
$EXTRA_OPTS
--extra-package=
$pkg_name
==
$version
"
EXTRA_OPTS
=
"
$EXTRA_OPTS
--extra-package=
$pkg_name
==
$version
"
}
}
function
extra_git_package
()
{
local
pkg_name
=
"
$1
"
local
repo_url
=
"
$2
"
local
f
=
"
$(
pwd
)
/extra-
$pkg_name
.cabal.project"
echo
"source-repository-package"
>
$f
echo
" type: git"
>>
$f
echo
" url:
$repo_url
"
>>
$f
echo
"Adding
$pkg_name
from
$repo_url
to extra package set"
EXTRA_OPTS
=
"
$EXTRA_OPTS
--extra-package=
$pkg_name
--extra-cabal-fragment=
$f
"
}
# Mark a package to be declared with build-tool-depends, not build-depends.
# Mark a package to be declared with build-tool-depends, not build-depends.
# This is necessary for packages that do not have a library component.
# This is necessary for packages that do not have a library component.
function
build_tool_package
()
{
function
build_tool_package
()
{
...
@@ -104,12 +117,14 @@ case $version in
...
@@ -104,12 +117,14 @@ case $version in
broken hgeometry 23938
broken hgeometry 23938
broken hgeometry-combinatorial 23938
broken hgeometry-combinatorial 23938
broken hgeometry-ipe 23938
broken hgeometry-ipe 23938
extra_package ghc-exactprint 1.7.0.1
extra_git_package ghc-exactprint https://github.com/alanz/ghc-exactprint
;;
;;
9.9.
*
)
9.9.
*
)
# package ticket
# package ticket
extra_package ghc-exactprint 1.7.0.1
extra_git_package ghc-exactprint https://github.com/alanz/ghc-exactprint
;;
;;
*
)
*
)
...
...
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