Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. Dec 31, 2022
  2. Dec 30, 2022
  3. Dec 28, 2022
  4. Dec 27, 2022
  5. Dec 26, 2022
  6. Dec 23, 2022
  7. Dec 22, 2022
    • Byron Johnson's avatar
      Fix project-local build flags being ignored. · b547ead5
      Byron Johnson authored
      I noticed that running ‘cabal install’ with two separate sets of dynamic /
      static build flags (e.g. one with none, and one with ‘--enable-shared
      --enable-executable-dynamic --disable-library-vanilla’) produced packages with
      the same hash, instead of different hashes.
      
      After debugging this issue I found that this command (with no explicit cabal
      project file) was resulting in these build configuration flags being ignored,
      because in ProjectPlanning.hs, the sdist was not considered a local package, so
      the (non-shared) local-package-only configuration was being dropped.
      
      This fix ensures that these command-line arguments properly make it through to
      where they belong in cases like this.
      
      Additionally, adjust the ‘style’ attribute in plan.json so that globally
      installed packages are designated as global even if they are local to the
      project.  (Without this adjustment to ‘style2str’, the T5782Diamond test fails,
      because it looks up ‘dist-dirs’ in plan.json, where ‘dist-dirs’ is absent from
      the JSON.)
      
      Finally, take into account elabDynExe and configDynExe to provide GHC with
      ‘-dynamic’ appropriately rather than going about it with static linking.
      b547ead5
  8. Dec 21, 2022
  9. Dec 17, 2022
  10. Dec 16, 2022
  11. Dec 15, 2022
  12. Dec 10, 2022
  13. Dec 07, 2022
  14. Dec 04, 2022
    • Jappie Klooster's avatar
      Add upper bound check to all (#8361) · 5d43746f
      Jappie Klooster authored
      * Add check for upper bound on any package
      
      fixes https://github.com/haskell/cabal/issues/8291
      presumably this will make it nag at anyone for forgetting
      to add upper bounds to their packages.
      
      add changelog
      
      (presumably)
      
      wait what?
      
      move toDependencyVersionsMap to utils section
      
      add nicer error message
      
      simplify checking logic, add more comments
      
      only emit missing upper bounds if bigger then one
      
      don't add bound to internal libraries
      
      filter out self from the dependency map
      
      I think this is an external library so it needs an upper bound now?
      
      add test for multilib
      
      fix test suite by ignoring the warning
      
      ... probably not the best approach
      
      change link to pvp instead of parsonsmatt
      
      better wording on missing upper bound error
      
      remove spurious parenthesis
      
      change map creation from monad to list comprehension
      
      use foldmap to get rid of maybe, fix compile error
      
      rewrite from do notation to list comprehension
      
      fix test suite failing
      
      fix compile error
      
      factor out double filter call in a && expression
      
      * set expectation
      
      * Modify test so it gives a list of expected libs
      
      rename public-multilib-3 to all-upper-bound
      the test had little to do with multilib.
      
      * Update comment on ignoring warnigns
      
      * use map instead of if
      
      * Undo map change
      
      add comment on why that doesn't work
      
      * Add description and maintainer fields
      
      * make description longer then synopsis in all-upper-bound.cabal
  15. Dec 01, 2022
  16. Nov 30, 2022
  17. Nov 21, 2022
  18. Nov 20, 2022
  19. Nov 19, 2022
Loading