This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- 09 Jul, 2020 2 commits
-
-
Jan Hrček authored
-
John Ericson authored
Google uses `armv7-none-linux-androideabi`, analogous to `armv7-unknown-linux-gnueabi` for e.g. a 32-bit regular linux. The existing alias it not a mistake, it is the right one for 64 bit. Google for that use `aarch64-linux-android`, analogous to `aarch64-unknown-linux-android` for a 64-bi regular linux. See https://developer.android.com/ndk/guides/standalone_toolchain for evidence/details.
-
- 08 Jul, 2020 3 commits
-
-
Oleg Grenrus authored
-
Oleg Grenrus authored
-
Oleg Grenrus authored
-
- 04 Jul, 2020 1 commit
-
-
Adam Sandberg Eriksson authored
-
- 30 Jun, 2020 1 commit
-
-
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).
-
- 29 Jun, 2020 1 commit
-
-
Oleg Grenrus authored
Rework verbosity parsing too and add tests.
-
- 27 Jun, 2020 1 commit
-
-
Jan Hrček authored
-
- 24 Jun, 2020 1 commit
-
-
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.
-
- 23 Jun, 2020 1 commit
-
-
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
-
- 22 Jun, 2020 1 commit
-
-
Oleg Grenrus authored
-
- 18 Jun, 2020 1 commit
-
-
Oleg Grenrus authored
-
- 15 Jun, 2020 1 commit
-
-
Tamar Christina authored
-
- 12 Jun, 2020 5 commits
-
-
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
-
Oleg Grenrus authored
-
- 07 Jun, 2020 1 commit
-
-
Oleg Grenrus authored
-
- 06 Jun, 2020 2 commits
-
-
Oleg Grenrus authored
Also change generator to generate only `= True` equations, for licenseIsFsfLibre and licenseIsOsiApproved.
-
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
-
- 03 Jun, 2020 2 commits
-
-
Oleg Grenrus authored
-
Oleg Grenrus authored
-
- 02 Jun, 2020 1 commit
-
-
Oleg Grenrus authored
If we need localeEncoding, that can be set outside. Also add rawSystemIOWithEnvAndAction to allow draining the spawned process output without async (in a simple case of single output Handle).
-
- 28 May, 2020 2 commits
-
-
Oleg Grenrus authored
Now it re-exports a collection of modules, not individual symbols.
-
Oleg Grenrus authored
-
- 23 May, 2020 2 commits
-
-
Vít Šefl authored
-
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.
-
- 22 May, 2020 1 commit
-
-
kristenk authored
-
- 20 May, 2020 1 commit
-
-
Vít Šefl authored
-
- 18 May, 2020 2 commits
-
-
Oleg Grenrus authored
I.e. find out where we don't yet used `Distribution.Client.Compat.Prelude`. - If the module is small I added direct `Prelude` imports. - Add Exception, deepseq stuff to Cabal Prelude - Add Parsec, Pretty and Verbosity to Client Prelude - use for, for_, traverse and traverse_ (removes need for Control.Monad)
-
Oleg Grenrus authored
-
- 15 May, 2020 3 commits
-
-
Oleg Grenrus authored
-
Oleg Grenrus authored
To get exact match you can % cabal list ^QuickCheck$ -I * QuickCheck Synopsis: Automatic testing of Haskell programs ... But not the prefix/suffix/regexp matching is in your power for searching. e.g. % cabal list ^Cabal * Cabal Synopsis: A framework for packaging Haskell software ... * cabal-install Synopsis: The command-line interface for Cabal and Hackage. ... and many others
-
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?
-
- 14 May, 2020 2 commits
-
-
Oleg Grenrus authored
-
Oleg Grenrus authored
-
- 13 May, 2020 1 commit
-
-
Oleg Grenrus authored
Move Described functionality there, out of Cabal the library. Similarly cabal-install doesn't contain Described instances, they are only in tests.
-
- 12 May, 2020 1 commit
-
-
Oleg Grenrus authored
This makes type-signatures awful, but using _ one can infer them. Parsing performance doesn't seem to be affected. Also move Newtypes to Distribution.FieldGrammar.Newtypes as that is more correct place.
-