Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. Sep 12, 2022
  2. Apr 04, 2020
  3. Nov 03, 2019
    • Edward Z. Yang's avatar
      Compute correct install directories for instantiated Backpack components (#6317) · 129775a7
      Edward Z. Yang authored
      
      * Restructure Includes3 tests so that I can also test Hackage case.
      
      Signed-off-by: default avatarEdward Z. Yang <ezyang@mit.edu>
      
      * Compute correct install directories for instantiated Backpack components
      
      Previously, we would compute elabInstallDirs once when configuring a
      component, and then reuse the exactly same install directories for
      every instantiation of the package.  But this is wrong, since we're
      installing the header/object files for each instantiation to a different
      directory.  We refactor install directory computation into a helper
      function and then call it again at instantiation time to refresh
      the install directories.
      
      For some reason, this bug ONLY manifests for packages installed from
      Hackage; it seems install dirs are not respected for inplace packages.
      
      Fixes #6005
      
      Signed-off-by: default avatarEdward Z. Yang <ezyang@mit.edu>
      
      * Test fix
      
      Signed-off-by: default avatarEdward Z. Yang <ezyang@mit.edu>
      
      * Copy backpack version-guard from other backpack testcases
      129775a7
  4. Feb 19, 2017
  5. Oct 31, 2016
  6. Oct 06, 2016
  7. Feb 15, 2016
  8. Nov 17, 2015
  9. Oct 14, 2015
  10. Oct 23, 2014
  11. Jul 16, 2014
    • Edward Z. Yang's avatar
      Implement "reexported-modules" field, towards fixing GHC bug #8407. · 62450f9a
      Edward Z. Yang authored
      
      Re-exported modules allow packages to reexport modules from their
      dependencies without having to create stub files.  Reexports of the same
      original module don't count as ambiguous imports when module finding
      occurs.  The syntax is:
      
          "orig-pkg" OrigName as NewName
      
      You can omit 'as NewName', in which case it is reexported as the same
      name.  Self referential aliases work too; however, they're only visible
      to packages which depend on this package.
      
      Left to future work: just provide a module name 'OrigName', where ghc-pkg
      figures out what the source package is.
      
      Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
      62450f9a
Loading