• Artem Pelenitsyn's avatar
    Don't reload environment files on every setSessionDynFlags · d880d6b2
    Artem Pelenitsyn authored
    Makes `interpretPackageEnv` (which loads envirinment files) a part of
    `parseDynamicFlags` (parsing command-line arguments, which is typically
    done once) instead of `setSessionDynFlags` (which is typically called
    several times). Making several (transitive) calls to `interpretPackageEnv`,
    as before, caused #18125 #16318, which should be fixed now.
    d880d6b2
Code owners : Ben Gamari
GHC.hs 65.7 KB