This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- 06 Oct, 2016 1 commit
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- 26 Sep, 2016 1 commit
-
-
Herbert Valerio Riedel authored
-
- 24 Sep, 2016 1 commit
-
-
Herbert Valerio Riedel authored
-
- 18 Sep, 2016 1 commit
-
-
Brendan Hay authored
- Excludes provenance from all roundtrip tests - Inserting explicit provenance when read from file - Special cases for bad package errors arising from implicit project configuration
-
- 07 Sep, 2016 1 commit
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- 06 Sep, 2016 2 commits
-
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
-
- 03 Sep, 2016 1 commit
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- 21 Aug, 2016 2 commits
-
-
Edward Z. Yang authored
Described in: https://github.com/ghc-proposals/ghc-proposals/pull/4 ./Setup configure now takes an argument to specify a specific component name that should solely be configured. Most of the gyrations in Configure are all about making it so that we can feed in internal dependencies via --dependency. I dropped the package name match sanity check to handle convenience library package name munging. Consider an internal library named 'q' in package 'p'. When we install it to the package database, we munged the package name into 'z-p-z-q', so that it doesn't conflict with the actual package named 'q'. Now consider when we feed it in with --dependency q=p-0.1-hash-q. Previously, Cabal checked that the 'q' in --dependency matched the package name in the database... which it doesn't. So I dropped the check. I also had to make register/copy unconditionally install internal libraries; otherwise you can't refer to them from later builds. Also a miscellaneous refactor: convenience libraries are printed with a "header" stanza now (not really a stanza header). Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- 24 Jul, 2016 1 commit
-
-
Edward Z. Yang authored
This is primarily intended for use with the Cabal test suite (allowing us to easily specify multiple Cabal packages for the same Haskell source files), but maybe some end-users will find it useful as well. If there are multiple Cabal files in the current working directory, --cabal-file (for configure) allows you to disambiguate which one to build with. There's a big hack to handle the BOM check, as it is inconvenient to plumb the flag value all the way to the check code. Some bigger refactoring needed, see #3552. Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- 23 Jul, 2016 1 commit
-
-
Herbert Valerio Riedel authored
This implements the flag `--allow-older` which is the analogous to `--allow-newer` acting on lower bounds.
-
- 11 Jul, 2016 1 commit
-
-
Herbert Valerio Riedel authored
This also adds a not yet used `AllowOlder` newtype This is a preparatory refactoring propsed in #3466 for supporting `--allow-older`
-
- 02 Jul, 2016 1 commit
-
-
Andres Löh authored
-
- 03 Jun, 2016 1 commit
-
-
Duncan Coutts authored
For both install and new-build.
-
- 06 May, 2016 2 commits
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- 27 Apr, 2016 1 commit
-
-
bardur.arantsson authored
-
- 10 Apr, 2016 3 commits
-
-
Duncan Coutts authored
We need to be able to specify program options and locations on a per-pakage basis. Of course we can still specify them for all local packages. Note that these options are not actually used yet, which is why this patch can be so small. Using them is next.
-
Duncan Coutts authored
Move the FlagAssignment from the project-wide all-packages config to the per-package config. Initially it had been easier to do it globally since it gets used as a solver setting rather than as the other per-package config items, but obviously it is supposed to be per-package. So the flags field in the config top-level now applies to all local packages. And it can also be specified in package-specific sections. We don't yet check that any of the flags specified actually make sense for either the local packages or for the specific packages.
-
Duncan Coutts authored
It's a Map PackageName PackageConfig (or LegacyPackageConfig) so the correct monoid instance is to merge the PackageConfig values.
-
- 27 Mar, 2016 1 commit
-
-
And extend the project config print/parse tests to cover quoted strings. (cherry picked from commit 72b93d91)
-
- 17 Mar, 2016 1 commit
-
-
This defines the new cabal.project files and introduces the notion of a project root (and the logic for finding it). Also has support for implicit projects when no cabal.project file is defined. Supports both reading and writing project files or fragments. The printing & parsing round trips correctly. QC tests to follow. This is a key part of the new nix-local-build branch approach, based around projects with clear configuration state held in a project file (or extra files). This has support for file and dirs as packages within a project, including by glob. It supports both globs that much match a target, and optional globs that are allowed to match nothing. It has partial support for local tarball, remote http tarball and remote source repo packages. (cherry picked from commit 324b3240)
-