Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
c4e91c94
Commit
c4e91c94
authored
Oct 02, 2016
by
Edward Z. Yang
Committed by
GitHub
Oct 02, 2016
Browse files
Merge pull request #3924 from ezyang/pr/legacy-install-no-exes
Don't solve for executables in legacy install codepath.
parents
7378066d
bf54fac5
Changes
1
Hide whitespace changes
Inline
Side-by-side
cabal-install/Distribution/Client/Install.hs
View file @
c4e91c94
...
...
@@ -107,6 +107,7 @@ import Distribution.Client.JobControl
import
qualified
Distribution.Solver.Types.ComponentDeps
as
CD
import
Distribution.Solver.Types.ConstraintSource
import
Distribution.Solver.Types.Settings
import
Distribution.Solver.Types.LabeledPackageConstraint
import
Distribution.Solver.Types.OptionalStanza
import
qualified
Distribution.Solver.Types.PackageIndex
as
SourcePackageIndex
...
...
@@ -423,6 +424,10 @@ planPackages comp platform mSandboxPkgInfo solver
.
(
if
reinstall
then
reinstallTargets
else
id
)
-- Don't solve for executables, the legacy install codepath
-- doesn't understand how to install them
.
setSolveExecutables
(
SolveExecutables
False
)
$
standardInstallPolicy
installedPkgIndex
sourcePkgDb
pkgSpecifiers
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment