Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. Jul 14, 2020
  2. Jul 13, 2020
  3. Jul 12, 2020
  4. Jul 09, 2020
  5. Jul 08, 2020
  6. Jul 07, 2020
  7. Jul 05, 2020
  8. Jul 04, 2020
  9. Jul 01, 2020
  10. Jun 30, 2020
    • 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
  11. Jun 29, 2020
  12. Jun 27, 2020
  13. Jun 24, 2020
    • 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
  14. Jun 23, 2020
Loading