Skip to content

Commit

Permalink
Merge branch 'stable'
Browse files Browse the repository at this point in the history
  • Loading branch information
mpilgrem committed Sep 30, 2024
2 parents de71a3e + 2b3d21b commit 0257684
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions doc/configure/yaml/non-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -433,9 +433,10 @@ build with this compiler depends on such global packages because Stack may not
be able to find versions of those packages (on Hackage, etc.) that are
compatible with the compiler.

The easiest way to deal with this issue is to drop the offending packages as
follows. Instead of using the packages specified in the snapshot, the global
packages bundled with GHC will be used.
The easiest way to deal with this issue is to use the
[`drop-packages`](project.md#drop-packages) project-specific configuration
option to drop the offending packages as follows. Instead of using the packages
specified in the snapshot, the global packages bundled with GHC will be used.

~~~yaml
drop-packages:
Expand All @@ -444,8 +445,9 @@ drop-packages:
~~~

Another way to deal with this issue is to add the relevant packages as
`extra-deps` built from source. To avoid mismatching versions, you can use
exactly the same commit id you used to build GHC as follows:
[`extra-deps`](project.md#extra-deps) built from source. To avoid mismatching
versions, you can use exactly the same commit id you used to build GHC as
follows:

~~~
extra-deps:
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ theme:
primary: 'deep purple'
accent: 'deep purple'
icon:
logo: material/language-haskell
logo: simple/haskell
features:
- content.code.annotate
- content.code.copy
Expand Down

0 comments on commit 0257684

Please sign in to comment.