This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 09 Jul, 2020 3 commits
  2. 08 Jul, 2020 4 commits
  3. 04 Jul, 2020 1 commit
  4. 30 Jun, 2020 1 commit
    • Oleg Grenrus's avatar
      Add list-bin command · 17e5e073
      Oleg Grenrus authored
      This is partial solution to #6807, because we invoke solver.
      The follow-up will be to modify Rebuild monad so,
      that it can be run without rebuilding (i.e. fail if cache is cold).
      17e5e073
  5. 29 Jun, 2020 1 commit
  6. 27 Jun, 2020 1 commit
  7. 24 Jun, 2020 1 commit
    • Luke Lau's avatar
      Fix ghci being launched before other sources were built · e3d26087
      Luke Lau authored
      This looks like an accident from a6e427ac
      It causes cases like this to fail:
      
      $ cat foo.c
      int foo() { return 42; }
      $ cat Lib.hs
      module Lib where
      
      foreign import ccall "foo" foo :: Int
      
      bar = foo
      $ cat cabal-csrc-repl.cabal
      cabal-version:      2.4
      name:               cabal-csrc-repl
      version:            0.1.0.0
      library
          exposed-modules:  Lib
          build-depends:    base ^>=4.14.0.0
          C-sources:        foo.c
          default-language: Haskell2010
      $ cabal v2-repl
      Resolving dependencies...
      Build profile: -w ghc-8.10.1 -O1
      In order, the following will be built (use -v for more details):
       - cabal-csrc-repl-0.1.0.0 (lib) (first run)
      Configuring library for cabal-csrc-repl-0.1.0.0..
      Preprocessing library for cabal-csrc-repl-0.1.0.0..
      GHCi, version 8.10.1: https://www.haskell.org/ghc/  :? for help
      [1 of 1] Compiling Lib              ( Lib.hs, interpreted )
      Ok, one module loaded.
      *Lib> foo
      ghc: ^^ Could not load '_foo', dependency unresolved. See top entry above.
      e3d26087
  8. 23 Jun, 2020 1 commit
    • Oleg Grenrus's avatar
      Resolve #6288 · e42e5462
      Oleg Grenrus authored
      - Add availableSince to language/extension fields
         - Also autogen-modules once we are on that.
      - Remove default-language check for cabal-version: 3.4
      
      We cannot make the field `uniqueFieldAlaDef`, as that would require
      specifying `default-language` in each subconditional.
      I leave it for https://github.com/haskell/cabal/issues/6925
      
      Note: the default language is whatever is the compiler's default.
      The GHC-8.10 default is its variant of Haskell2010
      with NondecreasingIndentation and without DatatypeContexts
      e42e5462
  9. 22 Jun, 2020 1 commit
  10. 21 Jun, 2020 1 commit
  11. 18 Jun, 2020 1 commit
  12. 15 Jun, 2020 1 commit
  13. 12 Jun, 2020 5 commits
  14. 11 Jun, 2020 1 commit
  15. 07 Jun, 2020 1 commit
  16. 06 Jun, 2020 2 commits
    • Oleg Grenrus's avatar
      Add licenceIsFsfLibre · 50f19787
      Oleg Grenrus authored
      Also change generator to generate only `= True` equations,
      for licenseIsFsfLibre and licenseIsOsiApproved.
      50f19787
    • Luke Lau's avatar
      Fix ambiguous file target selectors causing an internal error · 6bef4d34
      Luke Lau authored
      These should have been returning an error message but instead were
      causing an internal error because disambiguateTargetSelectors was
      rendering syntax and rematching on it, which isn't equivalent. Due to
      the way syntaxForm1File renders, it does not add a FileStatus to its
      TargetStringFileStatus and so cannot be matched upon again.
      The fix is to just copy over the FileStatus from the match input.
      This fixes #6874
      6bef4d34
  17. 03 Jun, 2020 2 commits
  18. 02 Jun, 2020 1 commit
  19. 28 May, 2020 2 commits
  20. 23 May, 2020 2 commits
    • Vít Šefl's avatar
      Use appDir/getGhcAppDir consistently. · f1e706bc
      Vít Šefl authored
      f1e706bc
    • Francesco Gazzetta's avatar
      Override Cabal's library visibility check on GHC <8.8 · 19f5aabd
      Francesco Gazzetta authored
      GHC <8.8 isn't able to read the "visibility" field from the package
      database, since it's built against an older Cabal. For this reason,
      using multiple public libraries with it did not work (all sublibraries
      appeared as private).
      
      This patch makes cabal-install override Cabal's library visibility
      checks when GHC is older than 8.8, extending the multiple libraries
      feature compatibiliy to older GHCs.
      19f5aabd
  21. 22 May, 2020 1 commit
  22. 20 May, 2020 3 commits
  23. 18 May, 2020 2 commits
  24. 15 May, 2020 1 commit