Skip to content

Commit c8dbe4f

Browse files
committed
Fix #5639 Backport efficient ghc-pkg unregister
1 parent 6489923 commit c8dbe4f

File tree

5 files changed

+1246
-9
lines changed

5 files changed

+1246
-9
lines changed

.hlint.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
# Stack's code generally avoids the use of C preprocessor (CPP) directives.
7474
- name: CPP
7575
within:
76+
- GHC.Utils.GhcPkg.Main.Compat
7677
- Stack.BuildInfo
7778
- Stack.Constants
7879
# The following list provides an inventory of the small number of modules
@@ -90,6 +91,14 @@
9091
name:
9192
- CPP
9293
- PackageImports
94+
# GHC.Utils.GhcPkg.Main.Compat's code largely comes from the GHC repository.
95+
- within: GHC.Utils.GhcPkg.Main.Compat
96+
name:
97+
- FlexibleInstances
98+
- KindSignatures
99+
- MultiParamTypeClasses
100+
- ScopedTypeVariables
101+
- TupleSections
93102

94103
# Not considered useful hints
95104
- ignore:

package.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ dependencies:
8282
- filepath
8383
- fsnotify >= 0.4.1
8484
- generic-deriving
85+
- ghc-boot
8586
- hi-file-parser >= 0.1.4.0
8687
- hpack >= 0.35.3
8788
- hpc

0 commit comments

Comments
 (0)