haskell/cabal — pull request #1834 by hvr (2014-05-01 10:07:17+00:00)
Title: Add OS and arch to HTTP user-agent string

This makes the HTTP user-agent field look like so:

User-Agent: cabal-install/1.21.0.0 (linux; x86_64)

This allows us to gather more statistics about our user-base as
with the current user-agent string we can only do a rough break-down by
cabal-install version numbers.