Skip to content

Commit

Permalink
Mirror only form the specified mirror
Browse files Browse the repository at this point in the history
(rather than using the mirrors from mirrors.json)
  • Loading branch information
edsko committed Dec 30, 2015
1 parent 1c44e50 commit 8dba414
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Distribution/Client/Mirror/Repo/Secure.hs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ withSourceRepo verbosity httpLib uri cacheDir threshold keys callback = do
}

repoOpts :: Sec.Remote.RepoOpts
repoOpts = Sec.Remote.defaultRepoOpts
repoOpts = Sec.Remote.defaultRepoOpts {
Sec.Remote.repoAllowAdditionalMirrors = False
}

logger :: Sec.LogMessage -> IO ()
logger msg = when (verbosity >= verbose) $
Expand Down

0 comments on commit 8dba414

Please sign in to comment.