Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. Jul 18, 2024
  2. Apr 13, 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
  4. Jan 16, 2018
    • Herbert Valerio Riedel's avatar
      Implement preliminary support for new forward-compat scheme · 538f1269
      Herbert Valerio Riedel authored and Oleg Grenrus's avatar Oleg Grenrus committed
      This provides a provisional (i.e. hacky) retrofitted implementation of
      the forward-compat scheme described in #4899 for the cabal-2.2 branch
      
      This hack works by constructing a dummy package description in case
      the package description fails to be parsed via the standard parser,
      and we detect a new-style cabal-spec declaration.
      538f1269
  5. Feb 19, 2017
  6. Oct 31, 2016
  7. Oct 06, 2016
Loading