File tree Expand file tree Collapse file tree
Cabal/src/Distribution/Simple
tests/UnitTests/Distribution/Client Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55- ignore : {name: "Hoist not"} # 16 hints
66- ignore : {name: "Move filter"} # 4 hints
77- ignore : {name: "Redundant $!"} # 3 hints
8- - ignore : {name: "Redundant bracket"} # 4 hints
98- ignore : {name: "Redundant guard"} # 1 hint
109- ignore : {name: "Redundant if"} # 6 hints
1110- ignore : {name: "Redundant lambda"} # 16 hints
Original file line number Diff line number Diff line change @@ -717,7 +717,7 @@ relocatableInstalledPackageInfo pkg abi_hash lib lbi clbi pkgroot =
717717 bi = libBuildInfo lib
718718
719719 installDirs =
720- (( " ${pkgroot}" </> ) . shortRelativePath (getSymbolicPath pkgroot) ) <$> absoluteComponentInstallDirs pkg lbi (componentUnitId clbi) NoCopyDest
720+ (" ${pkgroot}" </> ) . shortRelativePath (getSymbolicPath pkgroot) <$> absoluteComponentInstallDirs pkg lbi (componentUnitId clbi) NoCopyDest
721721
722722-- -----------------------------------------------------------------------------
723723-- Unregistration
Original file line number Diff line number Diff line change @@ -300,7 +300,8 @@ pruneInstallPlan installPlan pkgSpecifiers =
300300freezePackages :: Package pkg => Verbosity -> GlobalFlags -> [pkg ] -> IO ()
301301freezePackages verbosity globalFlags pkgs = do
302302 pkgEnv <-
303- (createPkgEnv . addFrozenConstraints) <$> loadUserConfig
303+ createPkgEnv . addFrozenConstraints
304+ <$> loadUserConfig
304305 verbosity
305306 " "
306307 (flagToMaybe . globalConstraintsFile $ globalFlags)
Original file line number Diff line number Diff line change @@ -1271,7 +1271,7 @@ getPackageSourceHashes verbosity withRepoCtx solverPlan = do
12711271 --
12721272 hashesFromRepoMetadata <-
12731273 Sec. uncheckClientErrors -- TODO: [code cleanup] wrap in our own exceptions
1274- ( ( Map. fromList . concat )
1274+ ( Map. fromList . concat
12751275 <$> sequence
12761276 -- Reading the repo index is expensive so we group the packages by repo
12771277 [ repoContextWithSecureRepo repoctx repo $ \ secureRepo ->
Original file line number Diff line number Diff line change @@ -236,9 +236,8 @@ arbitraryInstallPlan
236236 -> Gen (InstallPlan. GenericInstallPlan ipkg srcpkg )
237237arbitraryInstallPlan mkIPkg mkSrcPkg ipkgProportion graph = do
238238 (ipkgvs, srcpkgvs) <-
239- ( bimap (map fst ) (map fst )
240- . partition snd
241- ) <$> sequenceA
239+ bimap (map fst ) (map fst ) . partition snd
240+ <$> sequenceA
242241 [ do
243242 isipkg <-
244243 if isRoot
You can’t perform that action at this time.
0 commit comments