Skip to content

Commit

Permalink
changelog/docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gbaz committed Sep 20, 2022
1 parent c10bc15 commit a856621
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions changelog.d/pr-8358
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
synopsis: Update and sdist now only check for compiler when project file has conditionals
packages: cabal-install
prs: #8358
issues: #8352

description: {

- Cabal update and sdist will not require a ghc in path unless the project has conditionals that require it

}
5 changes: 5 additions & 0 deletions doc/cabal-project.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ freeze files. As a usage example:

import: /absolutepath/some-project.project

Using conditionals will force cabal to find a ghc to derive
architecture and version information from, which will force some
commands (update, sdist) to require ghc present where otherwise it
would not be necessitated.

Specifying the local packages
-----------------------------

Expand Down

0 comments on commit a856621

Please sign in to comment.