Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. Sep 08, 2021
  2. Sep 02, 2021
  3. Sep 01, 2021
  4. Aug 30, 2021
  5. Aug 29, 2021
  6. Aug 20, 2021
    • Patrick Thomson's avatar
      Add --open flag to `cabal haddock` (#7550) · d8c191d6
      Patrick Thomson authored
      Both `stack` and other package managers like `cargo` have an `--open`
      flag for the common case of opening documentation locally for
      inspection or reference. This patch adds such a flag, which when set
      tries to open the HTML file associated with the generated
      documentation, using `open` on macOS, `start` on Windows, and
      `xdg-open` on all other Unices.
      
      Fixes #7366.
      d8c191d6
  7. Aug 16, 2021
  8. Aug 14, 2021
    • Jaro Reinders's avatar
      ghcup supports Windows · 5d2634d8
      Jaro Reinders authored and Jaro Reinders's avatar Jaro Reinders committed
      Removes the special case for installing the Haskell toolchain on Windows, because ghcup now also supports Windows.
      5d2634d8
    • Alex Biehl's avatar
      Documentation update · 7f9e5de1
      Alex Biehl authored
      7f9e5de1
    • Niklas Hambüchen's avatar
      Add field to to remember libs needed for fully static linking · bf32602d
      Niklas Hambüchen authored and Alex Biehl's avatar Alex Biehl committed
      * WIP: Still need to update ghc to use the new `libraryDirsStatic` and
             `extraLibrariesStatic` fields in `InstalledPackageInfo` for linking.
      * WIP: Adding -L paths to .a libs in .conf files will likely increase nix
             closure size for dynamically linked Haskell packages because if pkg-config
             finds an `-a` file, the path to it will be remembered.
             (That only has an impact if the .a file is in a split-output from the .so file.)
             Perhaps we make the feature that `pkg-config --static` is called
             opt-outable.
             On the other hand Haskell libs always carry their .a files, so pulling
             a few system `.a` files more shouldn't make much of a difference.
             So this opt-out should probably be an extra feature for later, if at all.
      bf32602d
  9. Aug 13, 2021
  10. Aug 11, 2021
  11. Aug 09, 2021
  12. Aug 07, 2021
  13. Aug 05, 2021
  14. Jun 28, 2021
  15. Jun 23, 2021
  16. Jun 05, 2021
    • toonn's avatar
      doc: Simplify executable and library example · 0638a484
      toonn authored and Emily Pillmore's avatar Emily Pillmore committed
      Use `hs-source-dirs` for the library and change the `other-modules`
      names for the executables to avoid confusion.
      
      Lowercase the `main-is` files to make it clear the filename need not be
      a module name.
      
      Add dependency on the internal library to the prog2 executable to
      showcase common usage.
      
      [ci skip]
      0638a484
    • toonn's avatar
      doc: Annotate package examples · d391bfb5
      toonn authored and Emily Pillmore's avatar Emily Pillmore committed
      The simple package examples share module names among library and
      executable components. To avoid potential confusion these have been
      annotated to make it crystal clear the modules do not refer to the same
      entities.
      
      [ci skip]
      d391bfb5
  17. Jun 03, 2021
  18. May 31, 2021
  19. May 18, 2021
  20. May 03, 2021
  21. Apr 25, 2021
  22. Apr 18, 2021
  23. Apr 03, 2021
  24. Feb 28, 2021
  25. Jan 24, 2021
  26. Nov 09, 2020
  27. Nov 05, 2020
  28. Oct 02, 2020
  29. Sep 27, 2020
  30. Sep 24, 2020
    • Simon Marlow's avatar
      Add hsc2hs-options · 64f0b043
      Simon Marlow authored and Oleg Grenrus's avatar Oleg Grenrus committed
      Motivation: I (simonmar) want to use hsc2hs with C++, which requires
      
      ```
      hsc2hs-options: --cc=g++ --lflag=-lstdc++
      ```
      
      We pass `hsc2hs-options` before or after `--cc` and `-lflag`,
      depending on the version of `hsc2hs`.
      
      I (phadej) added a tests:
      - hsc2hs-options are passed to `hsc2hs` (but not to GHC e.g.).
      - `--cc` has expected effect
      
      `g++` tests doesn't seem to work on Windows, due mingw ncurses linkage
      issue, https://github.com/msys2/MINGW-packages/issues/3531
      We also need non-ancient hsc2hs (>= 0.68).
      64f0b043
  31. Sep 10, 2020
  32. Sep 03, 2020
Loading