packages/Cabal.git
98 min agoAdd default for v2-install (#6092) master
Alexis Williams [Thu, 20 Jun 2019 20:00:04 +0000 (13:00 -0700)] 
Add default for v2-install (#6092)

* Add default for v2-install
* Add changelog entry

104 min agoUpdate changelog
Alexis Williams [Thu, 20 Jun 2019 19:54:01 +0000 (12:54 -0700)] 
Update changelog

2 hours agoOnly build what's necessary for `v2-install` (#6091)
Alexis Williams [Thu, 20 Jun 2019 18:54:18 +0000 (11:54 -0700)] 
Only build what's necessary for `v2-install` (#6091)

2 days agoMerge pull request #6088 from haskell/issue-6082-foldr1
Oleg Grenrus [Tue, 18 Jun 2019 15:50:20 +0000 (17:50 +0200)] 
Merge pull request #6088 from haskell/issue-6082-foldr1

Fix #6082: Use pseudo-NonEmpty

2 days agoFix #6082: Use pseudo-NonEmpty
Oleg Grenrus [Tue, 18 Jun 2019 09:59:12 +0000 (12:59 +0300)] 
Fix #6082: Use pseudo-NonEmpty

3 days agoFix breakage with base<4.8 in C.D.C.ResponseFile
Herbert Valerio Riedel [Mon, 17 Jun 2019 09:49:37 +0000 (11:49 +0200)] 
Fix breakage with base<4.8 in C.D.C.ResponseFile

5 days agoMerge pull request #6077 from haskell/rename-generate
Oleg Grenrus [Fri, 14 Jun 2019 21:55:47 +0000 (00:55 +0300)] 
Merge pull request #6077 from haskell/rename-generate

Rename generate(s) to be greppable

6 days agoRename generate(s) to be greppable
Oleg Grenrus [Fri, 14 Jun 2019 12:11:50 +0000 (15:11 +0300)] 
Rename generate(s) to be greppable

8 days agoMerge pull request #6075 from codetriage-readme-bot/codetriage-badge
Mikhail Glushenkov [Wed, 12 Jun 2019 09:11:49 +0000 (10:11 +0100)] 
Merge pull request #6075 from codetriage-readme-bot/codetriage-badge

Add CodeTriage badge to haskell/cabal

8 days agoAdd CodeTriage badge to haskell/cabal
codetriage-readme-bot [Wed, 12 Jun 2019 04:12:17 +0000 (23:12 -0500)] 
Add CodeTriage badge to haskell/cabal

Adds a badge showing the number of people helping this repo on CodeTriage.

[![Open Source Helpers](https://www.codetriage.com/haskell/cabal/badges/users.svg)](https://www.codetriage.com/haskell/cabal)

## What is CodeTriage?

CodeTriage is an Open Source app that is designed to make contributing to Open Source projects easier. It works by sending subscribers a few open issues in their inbox. If subscribers get busy, there is an algorithm that backs off issue load so they do not get overwhelmed

[Read more about the CodeTriage project](https://www.codetriage.com/what).

## Why am I getting this PR?

Your project was picked by the human, @schneems. They selected it from the projects submitted to https://www.codetriage.com and hand edited the PR. How did your project get added to [CodeTriage](https://www.codetriage.com/what)? Roughly over 3 years ago, [qizwiz](https://github.com/qizwiz) added this project to CodeTriage in order to start contributing. Since then, 15 people have subscribed to help this repo.

## What does adding a badge accomplish?

Adding a badge invites people to help contribute to your project. It also lets developers know that others are invested in the longterm success and maintainability of the project.

You can see an example of a CodeTriage badge on these popular OSS READMEs:

- [![Email clients like GMAIL do not render SVG images](https://www.codetriage.com/rails/rails/badges/users.svg)](https://www.codetriage.com/rails/rails) https://github.com/rails/rails
- [![Email clients like GMAIL do not render SVG images](https://www.codetriage.com/crystal-lang/crystal/badges/users.svg)](https://www.codetriage.com/crystal-lang/crystal) https://github.com/crystal-lang/crystal

## Have a question or comment?

While I am a bot, this PR was manually reviewed and monitored by a human - @schneems. My job is writing commit messages and handling PR logistics.

If you have any questions, you can reply back to this PR and they will be answered by @schneems. If you do not want a badge right now, no worries, close the PR, you will not hear from me again.

Thanks for making your project Open Source! Any feedback is greatly appreciated.

13 days agoMerge pull request #6073 from bgamari/T6068
Ben Gamari [Fri, 7 Jun 2019 14:29:28 +0000 (10:29 -0400)] 
Merge pull request #6073 from bgamari/T6068

Simple.SrcDist: Fix search for DistPref

2 weeks agoSimple.SrcDist: Fix search for DistPref
Ben Gamari [Thu, 6 Jun 2019 17:56:04 +0000 (13:56 -0400)] 
Simple.SrcDist: Fix search for DistPref

Previously we would look at directly at the sDistDistPref flag. However,
this may not be set, resulting in #6068. We should rather be using
findDistPrefOrDefault to find the DistPref directory.

2 weeks agoMerge pull request #6063 from zw3rk/feature/response-file-support
Josh Meredith [Mon, 3 Jun 2019 07:58:05 +0000 (17:58 +1000)] 
Merge pull request #6063 from zw3rk/feature/response-file-support

Pass `@...` as a literal argument if the response file does not exist and support recursive response files

2 weeks agoSupport recursively expanding response files, within a recursion limit
Josh Meredith [Sun, 2 Jun 2019 13:24:49 +0000 (23:24 +1000)] 
Support recursively expanding response files, within a recursion limit

2 weeks agoMerge pull request #6065 from baig/patch-1
Oleg Grenrus [Sat, 1 Jun 2019 22:03:06 +0000 (01:03 +0300)] 
Merge pull request #6065 from baig/patch-1

Update installing-packages.rst

2 weeks agoUpdate installing-packages.rst
Wasif Hasan Baig [Sat, 1 Jun 2019 20:47:15 +0000 (13:47 -0700)] 
Update installing-packages.rst

Corrected a typo.

2 weeks agoRemove stderr warning message when ignoring non-existent response files
Josh Meredith [Sat, 1 Jun 2019 13:46:07 +0000 (23:46 +1000)] 
Remove stderr warning message when ignoring non-existent response files

2 weeks agoPass `@...` as a literal argument if the response file does not exist
Josh Meredith [Fri, 31 May 2019 07:32:05 +0000 (17:32 +1000)] 
Pass `@...` as a literal argument if the response file does not exist

3 weeks agoMerge pull request #6058 from erikd/erikd/enable-tests-error-msg
Erik de Castro Lopo [Sun, 26 May 2019 23:27:29 +0000 (09:27 +1000)] 
Merge pull request #6058 from erikd/erikd/enable-tests-error-msg

Improve error message for 'new-test' command

3 weeks agoMerge pull request #6057 from erikd/topic/spelling
Erik de Castro Lopo [Sun, 26 May 2019 23:13:09 +0000 (09:13 +1000)] 
Merge pull request #6057 from erikd/topic/spelling

Fix spelling error

3 weeks agoImprove error message for 'new-test' command
Erik de Castro Lopo [Sun, 26 May 2019 07:00:38 +0000 (17:00 +1000)] 
Improve error message for 'new-test' command

Suggest adding '--enable-tests'. [ci skip]

3 weeks agoFix spelling error
Erik de Castro Lopo [Sun, 26 May 2019 06:33:40 +0000 (16:33 +1000)] 
Fix spelling error

[ci skip]

3 weeks agoMerge pull request #6055 from zw3rk/fix-datadir
Josh Meredith [Fri, 24 May 2019 12:03:35 +0000 (22:03 +1000)] 
Merge pull request #6055 from zw3rk/fix-datadir

Fix datadir path in generated `Paths_` file

4 weeks agoFactor out the common paths from generated `Paths_` file and install command
Josh Meredith [Wed, 22 May 2019 14:52:05 +0000 (00:52 +1000)] 
Factor out the common paths from generated `Paths_` file and install command

4 weeks agoFix the datadir path in generated `Paths_*` file to maintain consistency with install...
Josh Meredith [Wed, 22 May 2019 04:19:58 +0000 (14:19 +1000)] 
Fix the datadir path in generated `Paths_*` file to maintain consistency with install location

4 weeks agoDon't expand @response-files after first '--'.
Mikhail Glushenkov [Fri, 17 May 2019 14:41:25 +0000 (15:41 +0100)] 
Don't expand @response-files after first '--'.

Fixes #6050.

4 weeks agooutdated: Make --v2-freeze-file the preferred name.
Mikhail Glushenkov [Fri, 17 May 2019 14:09:03 +0000 (15:09 +0100)] 
outdated: Make --v2-freeze-file the preferred name.

Fixes #5986.

5 weeks agoFix the meta check.
Mikhail Glushenkov [Tue, 14 May 2019 10:18:18 +0000 (11:18 +0100)] 
Fix the meta check.

5 weeks agoWhitespace. [ci skip]
Mikhail Glushenkov [Fri, 10 May 2019 19:34:59 +0000 (20:34 +0100)] 
Whitespace. [ci skip]

5 weeks agoDisable all warnings in IdrisSetup.hs, we absolutely don't care.
Mikhail Glushenkov [Fri, 10 May 2019 17:34:10 +0000 (18:34 +0100)] 
Disable all warnings in IdrisSetup.hs, we absolutely don't care.

5 weeks agoAllow network-3.1 and hashable-1.3.
Mikhail Glushenkov [Fri, 10 May 2019 17:32:38 +0000 (18:32 +0100)] 
Allow network-3.1 and hashable-1.3.

5 weeks agoMerge pull request #6042 from toonn/unexpected_response_typo
Mikhail Glushenkov [Fri, 10 May 2019 10:17:38 +0000 (11:17 +0100)] 
Merge pull request #6042 from toonn/unexpected_response_typo

Fix typo in "Unexpected response" message

5 weeks agoFix typo in "Unexpected response" message
Toon Nolten [Fri, 10 May 2019 09:23:43 +0000 (09:23 +0000)] 
Fix typo in "Unexpected response" message

[ci skip]

6 weeks agoFix inconsistent order of tags in file extensions in GHCJS flavour
Luite Stegeman [Thu, 9 May 2019 08:08:39 +0000 (01:08 -0700)] 
Fix inconsistent order of tags in file extensions in GHCJS flavour

dyn_js_hi -> js_dyn_hi
dyn_js_o  -> js_dyn_o

6 weeks agoMerge pull request #6037 from haskell/autogen-includes
Oleg Grenrus [Wed, 8 May 2019 13:34:15 +0000 (16:34 +0300)] 
Merge pull request #6037 from haskell/autogen-includes

Add autogen-includes field

6 weeks agoAdd autogen-includes field
Oleg Grenrus [Tue, 7 May 2019 10:14:03 +0000 (13:14 +0300)] 
Add autogen-includes field

autogen-includes aren't searched nor packages by `sdist`.

This is relatively small code patch, but there are
- change in file-format
- short documentation of the field
- `cabal check`
- test-suite noise due new field in `BuildInfo`

6 weeks agoMerge pull request #6040 from haskell/local-autogen-includes
Oleg Grenrus [Wed, 8 May 2019 06:48:41 +0000 (09:48 +0300)] 
Merge pull request #6040 from haskell/local-autogen-includes

Add autogen include directories for inplace packages

6 weeks agoAdd autogen include directories for inplace packages
Oleg Grenrus [Tue, 7 May 2019 20:09:40 +0000 (23:09 +0300)] 
Add autogen include directories for inplace packages

Local packages may have include heades in
- `inplaceDir </> d` (bundled, in source tree)
- `inplaceDir </> libTargetDir </> d` (autogenerated, somewhere in
  builddir)

We need both, for dependant packages to work.

The simple reproduce case is to have `unix` and `process`
locally in the project and try to build `process`.

6 weeks agoMerge pull request #6025 from zw3rk/update-ghcjs
Josh Meredith [Tue, 7 May 2019 04:23:47 +0000 (14:23 +1000)] 
Merge pull request #6025 from zw3rk/update-ghcjs

Update ghcjs

6 weeks agoAdd a British spelling synonym for GeneralizedNewtypeDeriving.
Mikhail Glushenkov [Mon, 6 May 2019 10:08:20 +0000 (11:08 +0100)] 
Add a British spelling synonym for GeneralizedNewtypeDeriving.

Fixes #6032.

6 weeks agoMerge pull request #6020 from haskell/first-last-deprecations
Mikhail Glushenkov [Mon, 6 May 2019 09:54:32 +0000 (10:54 +0100)] 
Merge pull request #6020 from haskell/first-last-deprecations

Stop using Data.Monoid.{First,Last}

6 weeks agoMerge branch 'master' into update-ghcjs
Josh Meredith [Mon, 6 May 2019 04:26:50 +0000 (14:26 +1000)] 
Merge branch 'master' into update-ghcjs

6 weeks agoMerge pull request #6022 from 23Skidoo/cabal-3.0-remove-deprecated
Mikhail Glushenkov [Mon, 6 May 2019 02:45:09 +0000 (03:45 +0100)] 
Merge pull request #6022 from 23Skidoo/cabal-3.0-remove-deprecated

 Remove a bunch of previously deprecated stuff in preparation for the 3.0 release.

6 weeks agoAdd versions of Data.Semigroup.{First,Last,Option}
Simon Jakobi [Fri, 3 May 2019 01:24:53 +0000 (03:24 +0200)] 
Add versions of Data.Semigroup.{First,Last,Option}

This should give better forward compatibility with the real deals.

6 weeks agoUse tree-diff for config roundtrip tests.
Mikhail Glushenkov [Fri, 3 May 2019 15:20:32 +0000 (16:20 +0100)] 
Use tree-diff for config roundtrip tests.

6 weeks agoRemove a bunch of previously deprecated stuff.
Mikhail Glushenkov [Tue, 30 Apr 2019 20:47:18 +0000 (21:47 +0100)] 
Remove a bunch of previously deprecated stuff.

6 weeks agoWhitespace.
Mikhail Glushenkov [Tue, 30 Apr 2019 14:50:05 +0000 (15:50 +0100)] 
Whitespace.

6 weeks agoMerge pull request #5996 from zw3rk/feature/response-file-support
Josh Meredith [Fri, 3 May 2019 09:50:23 +0000 (19:50 +1000)] 
Merge pull request #5996 from zw3rk/feature/response-file-support

Support @response-files

6 weeks agoMerge pull request #6028 from haskell/haddock-pass-reexport
Oleg Grenrus [Fri, 3 May 2019 07:17:09 +0000 (10:17 +0300)] 
Merge pull request #6028 from haskell/haddock-pass-reexport

Pass --rexport for reexported-modules to haddock

7 weeks agoMerge pull request #6023 from sboosali/master
Mikhail Glushenkov [Thu, 2 May 2019 20:59:31 +0000 (21:59 +0100)] 
Merge pull request #6023 from sboosali/master

cleanup (bash-completion)

7 weeks agoPass --rexport for reexported-modules to haddock
Oleg Grenrus [Thu, 2 May 2019 20:25:23 +0000 (23:25 +0300)] 
Pass --rexport for reexported-modules to haddock

7 weeks agoFix unused definitions warnings
Josh Meredith [Thu, 2 May 2019 07:23:43 +0000 (17:23 +1000)] 
Fix unused definitions warnings

7 weeks agoFix name warnings
Josh Meredith [Thu, 2 May 2019 06:48:33 +0000 (16:48 +1000)] 
Fix name warnings

7 weeks agoRemove unused imports
Josh Meredith [Thu, 2 May 2019 06:34:30 +0000 (16:34 +1000)] 
Remove unused imports

7 weeks agoMerge branch 'master' into update-ghcjs
Josh Meredith [Thu, 2 May 2019 05:45:43 +0000 (15:45 +1000)] 
Merge branch 'master' into update-ghcjs

7 weeks agoMerge branch 'master' into feature/response-file-support
Josh Meredith [Wed, 1 May 2019 05:25:31 +0000 (15:25 +1000)] 
Merge branch 'master' into feature/response-file-support

7 weeks agoChangelog
Josh Meredith [Wed, 1 May 2019 05:20:44 +0000 (15:20 +1000)] 
Changelog

7 weeks agoDocument the requirement of response file support for custom setups
Josh Meredith [Wed, 1 May 2019 05:20:35 +0000 (15:20 +1000)] 
Document the requirement of response file support for custom setups

7 weeks agoAdd a link to base license file
Josh Meredith [Wed, 1 May 2019 04:14:31 +0000 (14:14 +1000)] 
Add a link to base license file

7 weeks agocleanup (bash-completion)
Sam Boosalis [Tue, 30 Apr 2019 23:54:21 +0000 (16:54 -0700)] 
cleanup (bash-completion)

7 weeks agoMerge pull request #5995 from zw3rk/feature/test-wrapper
Josh Meredith [Tue, 30 Apr 2019 09:42:17 +0000 (19:42 +1000)] 
Merge pull request #5995 from zw3rk/feature/test-wrapper

Add test-wrapper option to wrap test execution

7 weeks agoMerge pull request #6021 from haskell/sjakobi-patch-1
Mikhail Glushenkov [Tue, 30 Apr 2019 07:17:13 +0000 (08:17 +0100)] 
Merge pull request #6021 from haskell/sjakobi-patch-1

PR template: Fix link to coding conventions

7 weeks agoExpand response files in cabal-install:cabal executable
Josh Meredith [Tue, 30 Apr 2019 06:44:16 +0000 (16:44 +1000)] 
Expand response files in cabal-install:cabal executable

7 weeks agoUse GHC.ResponseFile implementation of expandResponse via a compat module
Josh Meredith [Tue, 30 Apr 2019 06:42:26 +0000 (16:42 +1000)] 
Use GHC.ResponseFile implementation of expandResponse via a compat module

7 weeks agoupdate ghcjs support
Luite Stegeman [Tue, 16 Apr 2019 14:16:58 +0000 (07:16 -0700)] 
update ghcjs support

7 weeks agoWhitespace
Simon Jakobi [Tue, 30 Apr 2019 02:23:55 +0000 (04:23 +0200)] 
Whitespace

[ci skip]

7 weeks agoSimply use Last' instead of Last
Simon Jakobi [Tue, 30 Apr 2019 02:21:53 +0000 (04:21 +0200)] 
Simply use Last' instead of Last

7 weeks agoPR template: Fix link to coding conventions
Simon Jakobi [Tue, 30 Apr 2019 01:54:41 +0000 (03:54 +0200)] 
PR template: Fix link to coding conventions

[ci skip]

7 weeks agoStop using Data.Monoid.{First,Last}
Simon Jakobi [Tue, 30 Apr 2019 01:10:28 +0000 (03:10 +0200)] 
Stop using Data.Monoid.{First,Last}

Both will be deprecated in GHC 8.8.

This is part of https://gitlab.haskell.org/ghc/ghc/merge_requests/842.

7 weeks agoFix round trip print/parse tests
Josh Meredith [Mon, 29 Apr 2019 14:20:19 +0000 (00:20 +1000)] 
Fix round trip print/parse tests

7 weeks agoClarify documentation
Josh Meredith [Mon, 29 Apr 2019 03:35:07 +0000 (13:35 +1000)] 
Clarify documentation

7 weeks agoFix unnecessary export/dodgy import
Josh Meredith [Mon, 29 Apr 2019 03:28:22 +0000 (13:28 +1000)] 
Fix unnecessary export/dodgy import

7 weeks agoMerge pull request #6018 from 23Skidoo/fix-todo
Mikhail Glushenkov [Sun, 28 Apr 2019 06:03:37 +0000 (07:03 +0100)] 
Merge pull request #6018 from 23Skidoo/fix-todo

Fix a TODO.

7 weeks agoMerge pull request #6015 from quasicomputational/extension-empty-data-deriving
Mikhail Glushenkov [Fri, 26 Apr 2019 22:34:54 +0000 (23:34 +0100)] 
Merge pull request #6015 from quasicomputational/extension-empty-data-deriving

Add EmptyDataDeriving as an Extension constructor.

7 weeks agoFix a TODO.
Mikhail Glushenkov [Fri, 26 Apr 2019 19:22:11 +0000 (20:22 +0100)] 
Fix a TODO.

We require containers > 0.5.6.2 now.

7 weeks agoMerge pull request #5964 from tuncer/bootstrap-fix-v1-command
Mikhail Glushenkov [Fri, 26 Apr 2019 16:30:25 +0000 (17:30 +0100)] 
Merge pull request #5964 from tuncer/bootstrap-fix-v1-command

bootstrap: fix v1 command

7 weeks agoAdd EmptyDataDeriving as an Extension constructor.
quasicomputational [Fri, 26 Apr 2019 15:34:38 +0000 (16:34 +0100)] 
Add EmptyDataDeriving as an Extension constructor.

This was added in GHC 8.4 but apparently either no-one's missed its
absence since then, or users have been suffering in silence with the
warnings.

7 weeks agoDocumentation and changelog
Josh Meredith [Fri, 26 Apr 2019 04:33:54 +0000 (14:33 +1000)] 
Documentation and changelog

7 weeks agoAdd filterTestFlags
Josh Meredith [Fri, 26 Apr 2019 04:33:17 +0000 (14:33 +1000)] 
Add filterTestFlags

7 weeks agoFix test suite compile errors
Josh Meredith [Fri, 26 Apr 2019 04:32:35 +0000 (14:32 +1000)] 
Fix test suite compile errors

8 weeks agoMerge pull request #6010 from haskell/changes-2019-04-23
Oleg Grenrus [Wed, 24 Apr 2019 06:31:51 +0000 (09:31 +0300)] 
Merge pull request #6010 from haskell/changes-2019-04-23

Changes 2019 04 23

8 weeks agoExpose test-wrapper option through the cabal-install package client
Josh Meredith [Wed, 24 Apr 2019 04:02:20 +0000 (14:02 +1000)] 
Expose test-wrapper option through the cabal-install package client

8 weeks agoSwap arguments in Newtype class, for better DeriveAnyClass experience
Oleg Grenrus [Tue, 23 Apr 2019 19:41:23 +0000 (22:41 +0300)] 
Swap arguments in Newtype class, for better DeriveAnyClass experience

8 weeks agoManually implement Binary LicenseId
Oleg Grenrus [Tue, 23 Apr 2019 19:40:20 +0000 (22:40 +0300)] 
Manually implement Binary LicenseId

- Add tests that implementation is the same as Generic
- We save few seconds for people who don't compile tests
- Resolves #6001

8 weeks agoAdd showFields note [ci skip]
Oleg Grenrus [Tue, 23 Apr 2019 18:12:02 +0000 (21:12 +0300)] 
Add showFields note [ci skip]

8 weeks agoFix compilation error for cabal-install package
Josh Meredith [Tue, 23 Apr 2019 13:02:38 +0000 (23:02 +1000)] 
Fix compilation error for cabal-install package

8 weeks agoCabal: don't use normalise for copyFile on Windows (#6008)
Tamar Christina [Sun, 21 Apr 2019 15:49:24 +0000 (16:49 +0100)] 
Cabal: don't use normalise for copyFile on Windows (#6008)

* Cabal: don't use normalise for copyFile.

2 months agoMerge pull request #5994 from haskell/hide-read
Oleg Grenrus [Tue, 16 Apr 2019 08:57:22 +0000 (11:57 +0300)] 
Merge pull request #5994 from haskell/hide-read

Don't export 'read': panic explicitly

2 months agoUpdate docs for write-ghc-environment-files. [ci skip]
Mikhail Glushenkov [Mon, 15 Apr 2019 22:37:44 +0000 (23:37 +0100)] 
Update docs for write-ghc-environment-files. [ci skip]

2 months agoDon't export 'read': panic explicitly
Oleg Grenrus [Tue, 9 Apr 2019 10:36:43 +0000 (13:36 +0300)] 
Don't export 'read': panic explicitly

2 months agoSplit contributing guidelines into its own file. [ci skip]
Mikhail Glushenkov [Fri, 12 Apr 2019 15:46:31 +0000 (16:46 +0100)] 
Split contributing guidelines into its own file. [ci skip]

This follows GitHub's conventions: https://help.github.com/en/articles/setting-guidelines-for-repository-contributors

2 months agoREADME: add a logo. [ci skip]
Mikhail Glushenkov [Fri, 12 Apr 2019 13:12:48 +0000 (14:12 +0100)] 
README: add a logo. [ci skip]

2 months agoMore testWrapper.
Moritz Angermann [Wed, 10 Apr 2019 15:23:28 +0000 (23:23 +0800)] 
More testWrapper.

2 months agoUpdate ProjectPlanning.hs
Moritz Angermann [Wed, 10 Apr 2019 09:37:51 +0000 (17:37 +0800)] 
Update ProjectPlanning.hs

2 months agoUpdate Setup.hs
Moritz Angermann [Wed, 10 Apr 2019 03:45:13 +0000 (11:45 +0800)] 
Update Setup.hs

2 months agoSupport @response-files
Moritz Angermann [Wed, 10 Apr 2019 03:00:08 +0000 (11:00 +0800)] 
Support @response-files

This adds support to cabal for reading in arguments via
@response-files. This issue mostly comes up when passing large sets of
arguments to cabal (e.g. --constraints for many packages, or lots of
custom include and header dirs).  Using response files (writing the
arguments into a file and then passing that file as @file to cabal)
allows us to work around argument max length issues.

2 months agoAdd test-wrapper option to wrap test execution
Moritz Angermann [Wed, 10 Apr 2019 02:50:41 +0000 (10:50 +0800)] 
Add test-wrapper option to wrap test execution

Sometimes we need to run the test ins some prebuild context, for
these cases we now allow a script/application to be passed as
`--test-wrapper`, which will obtain the execution arguments and
be responsible for running the test in the environment.

A test-wrapper could for example do the following to execute a
test through wine:

```
set -euo pipefail
WINEDLLOVERRIDES="winemac.drv=d" \
  WINEDEBUG=-all+error \
  LC_ALL=en_US.UTF-8 \
  WINEPREFIX=$(mktemp -d) \
  /path/to/bin/wine64 $@*
```

2 months agoMerge pull request #5992 from haskell/support-window-8.8
Oleg Grenrus [Tue, 9 Apr 2019 11:35:58 +0000 (14:35 +0300)] 
Merge pull request #5992 from haskell/support-window-8.8

Support window 8.8

2 months agoAdd commented GHC-8.8.1 job to travis
Oleg Grenrus [Mon, 8 Apr 2019 20:58:47 +0000 (23:58 +0300)] 
Add commented GHC-8.8.1 job to travis

2 months agoExtend support-window to accomodate GHC 8.9 and HEAD
Oleg Grenrus [Mon, 8 Apr 2019 20:54:48 +0000 (23:54 +0300)] 
Extend support-window to accomodate GHC 8.9 and HEAD

8.8 is soon alpha, and GHC HEAD is atm 8.9