Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Cabal
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
Cabal
Commits
1b368d7e
Commit
1b368d7e
authored
3 years ago
by
Francesco Gazzetta
Browse files
Options
Downloads
Patches
Plain Diff
Explain why --only-download checks are there
parent
6896c6aa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cabal-install/src/Distribution/Client/ProjectBuilding.hs
+8
-0
8 additions, 0 deletions
cabal-install/src/Distribution/Client/ProjectBuilding.hs
with
8 additions
and
0 deletions
cabal-install/src/Distribution/Client/ProjectBuilding.hs
+
8
−
0
View file @
1b368d7e
...
...
@@ -653,6 +653,14 @@ rebuildTarget verbosity
sharedPackageConfig
plan
rpkg
@
(
ReadyPackage
pkg
)
pkgBuildStatus
-- Technically, doing the --only-download filtering only in this function is
-- not perfect. We could also prune the plan at an earlier stage, like it's
-- done with --only-dependencies. But...
-- * the benefit would be minimal (practically just avoiding to print the
-- "requires build" parts of the plan)
-- * we currently don't have easy access to the BuildStatus of packages
-- in the pruning phase
-- * we still have to check it here to avoid performing successive phases
|
buildSettingOnlyDownload
buildSettings
=
do
case
pkgBuildStatus
of
BuildStatusDownload
->
...
...
This diff is collapsed.
Click to expand it.
Francesco Gazzetta
@fgaz
mentioned in commit
0960c8ab
·
3 years ago
mentioned in commit
0960c8ab
mentioned in commit 0960c8ab07d269f0d5079aff480fb8c584b774ff
Toggle commit list
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