1. 21 Jul, 2014 4 commits
    • Edward Z. Yang's avatar
      [ghc-pkg] Fix #5442 by using the flag db stack to modify packages. · d7c807f7
      Edward Z. Yang authored
      
      
      Summary:
      Previously, the full database stack was used for ghc-pkg to
      modify packages, which meant that commands like
      'ghc-pkg unregister --user' worked the same as 'ghc-pkg unregister'.
      Since package modification is a "read and write" operation, we
      should use the flag db stack (which is currently used for reads)
      to determine which database to update.
      
      There is also a new flag --user-package-db, which lets you explicitly
      set the user database (as seen by --user).  This was mostly added
      to aid in testing, but could be useful for end users as well.
      Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
      
      Test Plan: validate
      
      Reviewers: simonmar, hvr, austin
      
      Subscribers: simonmar, relrod, carter
      
      Differential Revision: https://phabricator.haskell.org/D84
      d7c807f7
    • Edward Z. Yang's avatar
      Make 'ghc' a wired in package. · bb06e2a8
      Edward Z. Yang authored
      
      
      Summary:
      Previously, the GHC API was "semi" wired-in: it was installed with a
      version number, but that version number was hard-coded into the compiler
      and it wasn't really possible to install other copies of the GHC API.
      This patch makes the GHC API more similar to existing wired-in packages
      such as ghc-prim, and will be helpful when we start extending the amount
      of information passed to -package-name.
      Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
      
      Test Plan: validate
      
      Reviewers: simonmar, simonpj, hvr, austin
      
      Subscribers: simonmar, relrod, carter
      
      Differential Revision: https://phabricator.haskell.org/D78
      bb06e2a8
    • Gabor Greif's avatar
      Typos in note · 4dd7ae62
      Gabor Greif authored
      4dd7ae62
    • Joachim Breitner's avatar
      Revert "travis: Install process via cabal" · d3277f4f
      Joachim Breitner authored
      This reverts commit c41b716d.
      
      With the Cabal bump reverted, this should build again, and we aim to
      keep it buildable like this.
      d3277f4f
  2. 20 Jul, 2014 36 commits