This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- Sep 13, 2020
-
-
Oleg Grenrus authored
I introduced TestCode which allows to report more status information than bare ExitCode.
-
- Sep 03, 2020
-
-
Oleg Grenrus authored
-
- Jul 15, 2020
-
-
Oleg Grenrus authored
-
Oleg Grenrus authored
-
- Jun 27, 2020
-
-
Jan Hrček authored
-
- Jun 24, 2020
-
-
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.
-
- Jun 23, 2020
-
-
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
-
- Jun 18, 2020
-
-
Oleg Grenrus authored
-
- Jun 16, 2020
-
-
Oleg Grenrus authored
Note: configuredPackageProblems is a mess, and there might be bugs now.
-
- Jun 12, 2020
-
-
Oleg Grenrus authored
This is preparation to solve #6083. As such, this shouldn't affect anything yet.
-
Oleg Grenrus authored
-
Oleg Grenrus authored
-
Oleg Grenrus authored
-
- Jun 06, 2020
- Jun 03, 2020
-
-
Oleg Grenrus authored
-
- May 29, 2020
-
-
Oleg Grenrus authored
It's import that flag is *True*, so it's passed without prefix-sign.
-
- May 24, 2020
-
-
Oleg Grenrus authored
-
- May 23, 2020
-
-
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.
-
- May 22, 2020
-
-
- May 15, 2020
-
-
Oleg Grenrus authored
Also add a test for current behaviour of https://github.com/haskell/cabal/issues/6083 And variant with mixin, for https://github.com/haskell/cabal/issues/6281 The tests are disable for GHC older than 8.8 Should they work?
-
- May 14, 2020
-
-
Oleg Grenrus authored
-
- May 06, 2020
-
-
Oleg Grenrus authored
Removes command and cleanups cabal-testsuite. The tests for #3199 #4099 #3436 are removed, but they seem to be sandbox specific issues. Removes Sandbox.Types, Sandbox.Index and Sandbox.Timestamp modules. The Sandbox and Sandbox.PackageEnvironment are still there as some configuration in v1-commands happens through them (~/.cabal/config vs ./cabal.config). BuildExFlags contained only sandbox specific parameter, so it's removed as well. Remove sandbox support from cabal-testsuite Remove sandbox from GlobalFlags and Sandbox unit-tests
-
- Apr 27, 2020
-
-
Oleg Grenrus authored
These constructors don't carry any additional semantics. They were used in `cabal check` implementation, but now already parser reports errors so we don't need these redundant constructors anymore. MajorBoundVersion (^>=) has slightly different semantics: we want be able to relax only `^>= x.y.z` upper bounds. Therefore it's preserved.
-
- Apr 13, 2020
-
-
Oleg Grenrus authored
-
- Apr 07, 2020
-
-
Oleg Grenrus authored
Also refactor ./Setup sdist to not do anything fancy. Now `./Setup sdist` and `v2-sdist` should produce close(r) to same tarballs.
-
- Apr 04, 2020
-
-
Oleg Grenrus authored
- We had to add gpdScannedVersion to permit solver to report about too new packages in the index. https://github.com/haskell/cabal/issues/6652 - It's hard to track what happening with Setup interface selection in ProjectPlanning. https://github.com/haskell/cabal/issues/6651 would help to make sense of it.
-
- Apr 03, 2020
-
-
Oleg Grenrus authored
The cabal command interface will drift more and more from ./Setup interface. This is first step: don't assume they are the same. This removes need to "patch" setup commands to work with cabal: the `act-as-setup` SHOULD behave as (simple) ./Setup There were few setupAndCabalTests which weren't `build-type: Simple`. For those I made a separate `cabal.test.hs`. Also added a OutputNormalizer for global tmp directory. `v2-build` sdists `build-type: Custom` packages to get the list of files to watch. I guess it's ok to have that functionality, yet it could be eventually removed, as `v2-sdist` does not invoke `./Setup.hs` script.
-
- Apr 02, 2020
-
-
Oleg Grenrus authored
-
- Mar 22, 2020
-
-
Oleg Grenrus authored
-
- Feb 20, 2020
-
-
Oleg Grenrus authored
And make it pipe output to `man -l -`.
-
- Feb 14, 2020
-
-
Oleg Grenrus authored
-
- Feb 12, 2020
-
-
Oleg Grenrus authored
Fixes #6533
-
- Jan 21, 2020
-
- Jan 20, 2020
-
-
Oleg Grenrus authored
Also split workflows into parts, helps with restarting. https://github.community/t5/GitHub-Actions/re-run-jobs/m-p/30476#M440
-
Oleg Grenrus authored
-
Oleg Grenrus authored
This reverts commit fbe7d73e, reversing changes made to f6e7cdd6.
-
- Jan 05, 2020
-
-
kristenk authored
-
- Dec 25, 2019
-
-
Oleg Grenrus authored
-
- Dec 20, 2019
-
-
Brian Wignall authored
-