Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal.git. Pull mirroring updated .
  1. Nov 23, 2024
  2. Nov 22, 2024
  3. Nov 21, 2024
  4. Nov 18, 2024
    • mergify[bot]'s avatar
      Backport #10548: Print info about current project file in use to stderr and... · 281927c1
      mergify[bot] authored
      Backport #10548: Print info about current project file in use to stderr and ignore the imports by default (#10550)
      
      * Print info about current project file in use to stderr and ignore the imports by default (#10548)
      
      * Print info about current project file in use to stderr (fix #10547)
      
      * only report top-level project config files in the default verbosity
      
      in verbose mode report imported files too
      
      * fix tests
      
      * don't print anything when provenance is empty
      
      * fix tests
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarffaf1 <fa-ml@ariis.it>
      
      ---------
      
      Co-authored-by: default avatarffaf1 <fa-ml@ariis.it>
      (cherry picked from commit 7de199ad)
      
      # Conflicts:
      #	cabal-testsuite/PackageTests/ConditionalAndImport/cabal.out
      
      * fixup! fix conflicts
      
      ---------
      
      Co-authored-by: default avatarArtem Pelenitsyn <a.pelenitsyn@gmail.com>
      281927c1
  5. Nov 10, 2024
  6. Nov 08, 2024
  7. Nov 07, 2024
  8. Nov 06, 2024
  9. Nov 05, 2024
    • mergify[bot]'s avatar
      fix `cabal install --program-suffix/prefix` (fix #10290 and #10476) (#10483) (#10510) · 460375d7
      mergify[bot] authored
      
      * fix cabal install --program-suffix/prefix (fix #10290 and #10476)
      
      When checking for existing installations, cabal would not account for
      an affix (suffix or prefix). So, if you had a `hello` binary installed, installing a
      second one with a non-empty affix (a perfectly legal operation) would
      fail.
      
      The reason seemed to be a typo in
      09c04e9a, which passed the arguments to
      the Symlink structure in a wrong order.
      
      When failing to install a binary because of an existing one, cabal would
      report suffix-less existing target even if a suffix was set.
      
      * Add regression tests for overwrite policies and porgram-affixes
      
      Add regression tests for the `program-prefix` and `program-suffix` flags
      combined with the overwrite-policy.
      In short, the overwrite-policy needs to take potential program affixes
      into account when deciding whether it will need to overwrite a program
      path during installation.
      
      ---------
      
      Co-authored-by: default avatarFendor <fendor@posteo.de>
      (cherry picked from commit ee3c3139)
      
      Co-authored-by: default avatarArtem Pelenitsyn <a.pelenitsyn@gmail.com>
      460375d7
  10. Oct 31, 2024
  11. Oct 29, 2024
  12. Oct 27, 2024
  13. Oct 26, 2024
    • Brandon S. Allbery's avatar
      add new non-compile-affecting options for ghc 9.12 · 9b994d6f
      Brandon S. Allbery authored
      - ghc 9.12 adds several new command line options, divided between
        `LANGUAGE`s (already added), warnings, new preprocessor control options,
        and compilation control options. Two options needed to be added to the
        list of options requiring `Int` parameters.
      
        The new options, excluding warning and language options, are:
      
        * `-fexpose-overloaded-unfoldings`
        * `-fmax-forced-spec-args=N`
        * `-fno-expose-overloaded-unfoldings`
        * `-fno-object-determinism`
        * `-fobject-determinism`
        * `-fwrite-if-compression=N`
        * `-optCmmP…`
        * `-optJSP…`
        * `-pgmCmmP`
        * `-pgmJSP`
      
        As they all affect compilation and store hashes, the only necessary
        change was to list the two numeric options so they will be parsed
        correctly. To the best of our understanding, `-pgm*` and `-opt*`
        options are already handled as a group.
      
      (cherry picked from commit 6578978c)
      9b994d6f
  14. Oct 08, 2024
  15. Oct 07, 2024
  16. Oct 04, 2024
    • Matthew Pickering's avatar
      Cabal: Take into account compilerBuildWay when computing final library ways · 851772e1
      Matthew Pickering authored
      In the profiling dynamic patch I made a mistake when computing the
      needed ways for a build.
      
      When building an executable, the Haskell modules need to be built
      
      * For the final link way
      * For the build way of the compiler if TH is enabled
      
      Before this patch, the modules were being built for all the configured
      library ways, which built modules in more configurations than the
      previous version of Cabal.
      
      Fixes #10418
      
      (cherry picked from commit 27c26688)
      851772e1
  17. Oct 02, 2024
  18. Sep 16, 2024
Loading