aboutsummaryrefslogtreecommitdiff
path: root/src/CabalHelper/Compiletime/Cabal.hs
Commit message (Collapse)AuthorAgeFilesLines
* Change license to Apache2Daniel Gröber2019-09-291-11/+6
| | | | | | | | All contributors have agreed on public record at https://github.com/DanielG/cabal-helper/issues/76 Fixes #76
* Add support for symlink farming as a workaround for StackDaniel Gröber2019-09-291-0/+9
| | | | | | | | We want to be able to have the build tool use exactly the compiler and related executables we choose. Stack doesn't really like that mode of operation and insists on getting everything from PATH itself so this commit adds support for creating a temporary symlink farm to convince Stack to use the executables we want it to use.
* Fix some warningsDaniel Gröber2019-09-171-1/+0
|
* Allow passing override-env to process functionsDaniel Gröber2019-09-171-3/+3
| | | | | Unfortunately we need this to pass a custom GHC executable path to stack, since it doesn't have an option to override it on the commandline (yet?).
* Flesh out project discovery APIDaniel Gröber2019-09-171-4/+13
|
* Make compilerVersion accessor project-scope for V1 projectsDaniel Gröber2019-04-011-3/+21
|
* Fix datecode padding in unpackCabalHEADDaniel Gröber2019-04-011-1/+2
|
* Don't insist on an odd major version in unpackCabalHEADDaniel Gröber2019-04-011-3/+4
| | | | Super-major version bumps like Cabal-2.5.0.0 -> Cabal-3.0.0.0 violate that rule.
* Fix replaceVersionDecl for Cabal HEADDaniel Gröber2019-03-311-1/+3
| | | | It breaks when there's a `cabal-version:` delaration in the file.
* Make Cabal-HEAD lib v2-build cachableDaniel Gröber2019-02-141-16/+53
|
* Shortcut helper compilation when Cabal version is already availableDaniel Gröber2019-02-091-2/+5
| | | | | This is mostly an optimization for Nix which already sets up the environment correctly, so we should reward its users :)
* Fix module descriptionDaniel Gröber2019-01-301-1/+1
| | | | [ci skip]
* Fix cabal-file path for multi package v2 projectsDaniel Gröber2019-01-221-1/+1
|
* Refactor Compile (for v2-install)Daniel Gröber2019-01-221-22/+61
|
* Formatting/indent changesDaniel Gröber2019-01-221-21/+19
| | | | [ci skip]
* Split up Compile.hs into multiple modulesDaniel Gröber2018-10-271-0/+180