Skip to content

Commit d1c40ae

Browse files
committed
hlint fixes
1 parent 8f61b8c commit d1c40ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Stack/Ghci.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ wantedPackageComponents _ (TargetComps cs) _ = cs
589589
wantedPackageComponents bopts (TargetAll ProjectPackage) pkg = S.fromList $
590590
(case packageLibraries pkg of
591591
NoLibraries -> []
592-
HasLibraries _names -> CLib : []) ++ -- FIXME. This ignores sub libraries and foreign libraries. Is that OK?
592+
HasLibraries _names -> [CLib]) ++ -- FIXME. This ignores sub libraries and foreign libraries. Is that OK?
593593
map CExe (S.toList (packageExes pkg)) <>
594594
(if boptsTests bopts then map CTest (M.keys (packageTests pkg)) else []) <>
595595
(if boptsBenchmarks bopts then map CBench (S.toList (packageBenchmarks pkg)) else [])

src/Stack/Package.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ packageFromPackageDescription packageConfig pkgFlags (PackageDescriptionPair pkg
336336
return (componentModules, componentFiles, buildFiles <> dataFiles', warnings)
337337
pkgId = package pkg
338338
name = fromCabalPackageName (pkgName pkgId)
339-
deps = M.filterWithKey (const . (not . isMe)) (M.union
339+
deps = M.filterWithKey (const . not . isMe) (M.union
340340
(packageDependencies pkg)
341341
-- We include all custom-setup deps - if present - in the
342342
-- package deps themselves. Stack always works with the

0 commit comments

Comments
 (0)