Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move CabalVersion and related types into a new module | Daniel Gröber | 2020-05-02 | 1 | -1/+1 |
| | |||||
* | Fix invokeGhc when using relative paths | Daniel Gröber | 2020-01-11 | 1 | -4/+8 |
| | |||||
* | Unset GHC_ENVIRONMENT and GHC_PACKAGE_PATH before invocing GHC | Daniel Gröber | 2020-01-11 | 1 | -1/+4 |
| | | | | | | | | | | | | When we are invoked under Stack (as part of HIE's test suite for example) our choice of Cabal library when invoking GHC gets interferred with by the GHC_ENVIRONMENT variable. Since we're just using boot packages simply unsetting GHC package related envvars seems like a fairly decent fix here. See the issue below for more details. Fixes #78 | ||||
* | ghc-session: Get GHC libdir from --print-libdir command | Daniel Gröber | 2019-12-29 | 1 | -0/+4 |
| | | | | | | Using ghc-paths bypasses cabal's rebuild checks though, for example, installing the compiler into a different directory will change the libdir but cabal won't recompile ghc-paths. | ||||
* | Change license to Apache2 | Daniel Gröber | 2019-09-29 | 1 | -11/+6 |
| | | | | | | | | All contributors have agreed on public record at https://github.com/DanielG/cabal-helper/issues/76 Fixes #76 | ||||
* | Fix some import warnings | Daniel Gröber | 2019-09-17 | 1 | -1/+0 |
| | |||||
* | Allow passing override-env to process functions | Daniel Gröber | 2019-09-17 | 1 | -2/+2 |
| | | | | | 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?). | ||||
* | Merge CompPrograms back into Programs | Daniel Gröber | 2019-09-17 | 1 | -9/+9 |
| | | | | | We need to support passing down the path to ghc to new-build/stack in order to support using a non-default 'ghc' executable. | ||||
* | Make compilerVersion accessor project-scope for V1 projects | Daniel Gröber | 2019-04-01 | 1 | -1/+1 |
| | |||||
* | Fix empty package-db being interpreted as "existing" | Daniel Gröber | 2019-02-14 | 1 | -0/+1 |
| | |||||
* | Make Cabal-HEAD lib v2-build cachable | Daniel Gröber | 2019-02-14 | 1 | -2/+2 |
| | |||||
* | compile: v2-install --libs needs GHC >=8.0 | Daniel Gröber | 2019-01-26 | 1 | -0/+1 |
| | |||||
* | Fix package-envs conflicting with -package flags | Daniel Gröber | 2019-01-22 | 1 | -5/+8 |
| | |||||
* | Make most record fields strict | Daniel Gröber | 2019-01-22 | 1 | -8/+8 |
| | | | | | This lets GHC give better error messages when forgetting to initialize a field when using the `let field = _ in DataType{..}` RecordWildcards syntax. | ||||
* | Refactor Compile (for v2-install) | Daniel Gröber | 2019-01-22 | 1 | -17/+48 |
| | |||||
* | Split up Compile.hs into multiple modules | Daniel Gröber | 2018-10-27 | 1 | -0/+125 |