addDevPkgs does not modify DynFlags if packages are an empty list.
This commit is contained in:
parent
a491927ef6
commit
d58c11bcc3
@ -207,6 +207,7 @@ setCabalPkg dflag = dopt_set dflag Opt_BuildingCabalPackage
|
|||||||
----------------------------------------------------------------
|
----------------------------------------------------------------
|
||||||
|
|
||||||
addDevPkgs :: DynFlags -> [Package] -> DynFlags
|
addDevPkgs :: DynFlags -> [Package] -> DynFlags
|
||||||
|
addDevPkgs df [] = df
|
||||||
addDevPkgs df pkgs = df''
|
addDevPkgs df pkgs = df''
|
||||||
where
|
where
|
||||||
#if __GLASGOW_HASKELL__ >= 707
|
#if __GLASGOW_HASKELL__ >= 707
|
||||||
|
Loading…
Reference in New Issue
Block a user