File tree 2 files changed +16
-0
lines changed
cabal-install/src/Distribution/Client
2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -989,6 +989,9 @@ programsMonitorFiles progdb =
989
989
monitorFileSearchPath
990
990
(programMonitorFiles prog)
991
991
(programPath prog)
992
+ ++ if programId prog == " ghc" && buildOS == Windows
993
+ then [monitorFile $ programPath prog -<.> " shim" ]
994
+ else []
992
995
]
993
996
994
997
-- | Select the bits of a 'ProgramDb' to monitor for value changes.
Original file line number Diff line number Diff line change
1
+ synopsis: Monitor `ghc.shim` on Windows
2
+ packages: cabal-install
3
+ prs: #10853
4
+ issues: #10850
5
+
6
+ description: {
7
+
8
+ - On Linux it is the `ghc` executable that changes when changing compiler
9
+ version in GHCup (the symlink points to a new location) but on Windows it is
10
+ the companion `ghc.shim` file that changes. This file is now also monitored
11
+ for changes to trigger rebuilds.
12
+
13
+ }
You can’t perform that action at this time.
0 commit comments