#8245: ghc-pkg list --simple-output prints packages in non-alphabetical order -------------------------------------+------------------------------------ Reporter: nh2 | Owner: Type: bug | Status: patch Priority: normal | Milestone: 7.8.1 Component: Compiler | Version: 7.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by Austin Seipp <aseipp@…>): In [changeset:021b1f8991850a20c2c8ace1c9282251e10fda03/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="021b1f8991850a20c2c8ace1c9282251e10fda03" Fix ghc-pkg list --simple-output not being alphabetical (#8245). It was sorted by version number so far. I also added a sort to the normal output (without --simple-output) since the source it comes from does not guarantee sortedness. Signed-off-by: Austin Seipp <aseipp@pobox.com> }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8245#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler