Skip to content

Commit 23a1150

Browse files
authored
Merge pull request #6790 from phadej/more-weeder-roots
Add more weeder roots
2 parents fa74c1b + 54280f5 commit 23a1150

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

cabal-install/Distribution/Client/CmdRun.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ runCommand = CommandUI
143143
++ " Build with '-O2' and run the program, passing it extra arguments.\n\n"
144144

145145
++ cmdCommonHelpTextNewBuildBeta
146-
, commandDefaultFlags = defaultNixStyleFlags mempty
146+
, commandDefaultFlags = defaultNixStyleFlags defaultClientRunFlags
147147
, commandOptions = nixStyleOptions clientRunOptions
148148
}
149149

weeder.dhall

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1-
{ roots = [ "^Main.main$" ], type-class-roots = True }
1+
{ roots =
2+
[ "^Main\\.main$"
3+
, "^Hackage\\.Security\\."
4+
, "^Text\\.JSON\\.Canonical\\."
5+
, "Paths_Cabal\\."
6+
, "Paths_cabal_install\\."
7+
]
8+
, type-class-roots = True
9+
}

0 commit comments

Comments
 (0)