Skip to content

Commit

Permalink
Add more weeder roots
Browse files Browse the repository at this point in the history
  • Loading branch information
phadej committed May 12, 2020
1 parent fa74c1b commit 54280f5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cabal-install/Distribution/Client/CmdRun.hs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ runCommand = CommandUI
++ " Build with '-O2' and run the program, passing it extra arguments.\n\n"

++ cmdCommonHelpTextNewBuildBeta
, commandDefaultFlags = defaultNixStyleFlags mempty
, commandDefaultFlags = defaultNixStyleFlags defaultClientRunFlags
, commandOptions = nixStyleOptions clientRunOptions
}

Expand Down
10 changes: 9 additions & 1 deletion weeder.dhall
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
{ roots = [ "^Main.main$" ], type-class-roots = True }
{ roots =
[ "^Main\\.main$"
, "^Hackage\\.Security\\."
, "^Text\\.JSON\\.Canonical\\."
, "Paths_Cabal\\."
, "Paths_cabal_install\\."
]
, type-class-roots = True
}

0 comments on commit 54280f5

Please sign in to comment.