Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | scripts: Use new stackage-snapshots repo for update-stack-resolvers | Daniel Gröber | 2021-02-12 | 1 | -15/+13 |
| | |||||
* | Bump upper bounds on dependencies | Siva Mahadevan | 2020-06-24 | 1 | -3/+2 |
| | | | Also removes the dependency on semigroups since it has been added to base as of 4.9.0.0 and this package dependends on base >= 4.9.1.0. | ||||
* | Allow cabal-plan compatible with ghc-8.10 | jneira | 2020-06-01 | 1 | -1/+1 |
| | |||||
* | Remove allow-newer for cabal-plan | jneira | 2020-05-25 | 1 | -3/+0 |
| | |||||
* | Use existing functions to handle .exe | jneira | 2020-05-20 | 1 | -8/+5 |
| | |||||
* | Fix programs-test in windows | jneira | 2020-05-20 | 1 | -7/+17 |
| | |||||
* | Add .exe in win to cabal-helper executable | jneira | 2020-05-20 | 1 | -2/+2 |
| | |||||
* | Re-export RelativePath related binders for DistDirStack | Daniel Gröber | 2020-05-17 | 1 | -0/+2 |
| | | | | Fixes #118 | ||||
* | Refactor Program versions handling | Daniel Gröber | 2020-05-10 | 7 | -37/+39 |
| | | | | | | This mainly renames the program version getters to get* and make them consistenly return Version directly. Such that wrappers like GhcVersion have to be added at the callsites of the relevant functions. | ||||
* | Add suffix V1 to make it explicit | jneira | 2020-05-10 | 1 | -3/+3 |
| | |||||
* | Use forward compatible v1 prefix if available | jneira | 2020-05-10 | 1 | -1/+3 |
| | |||||
* | Release version 1.1.0.0 | Daniel Gröber | 2020-05-02 | 1 | -1/+1 |
| | |||||
* | Fix helper usage message | Daniel Gröber | 2020-05-02 | 1 | -1/+1 |
| | |||||
* | Only pass pjUnits to compile module instead of whole PlanJson | Daniel Gröber | 2020-05-02 | 3 | -9/+9 |
| | |||||
* | Fix Cabal version selection for build-type:Custom | Daniel Gröber | 2020-05-02 | 12 | -104/+176 |
| | | | | | | | | | | | | | | | | Previously we would pick up Stack's Cabal version with ghc-pkg on the global package-db. This however ignores that Stack also supports custom Setup.hs with the Cabal version from the snapshot instead. In cabal v2-build we have a similar problem. We used to assume that plan.json's cabal-lib-version is used uniformly across units but this is similarly untrue. To fix both of these we re-stage the cabal version query to after reconfiguring a unit, then we can just lookup the Cabal version in setup-config. Fixes #95 | ||||
* | Ignore setup components from plan.json in readUnitInfo | Daniel Gröber | 2020-05-02 | 3 | -7/+22 |
| | | | | | | Cabal includes the Setup.hs executable as a component in plan.json, however there isn't a target to build it directly so we just ignore it for not when reading unit info. | ||||
* | Move CabalVersion and related types into a new module | Daniel Gröber | 2020-05-02 | 9 | -42/+74 |
| | |||||
* | ghc-session: Fix stackBuiltinCabalVersion when snapshot-db has Cabal | Daniel Gröber | 2020-05-02 | 1 | -1/+1 |
| | | | | | | | Stackage can get into the situation where they have a different Cabal version from what was shipped with GHC. This is usually not a problem but when stack installs any package with build-type:custom this pulls in the Stackage Cabal version! | ||||
* | Fix cabal projects using source-repository-package | Daniel Gröber | 2020-05-02 | 9 | -34/+81 |
| | | | | | | | | | | | Apparently we can get source-repo-packages in plan.json even when filtering for `"style": "local"`(`UnitTypeLocal`). It's possible the root cause here is a cabal bug as source-repository-package should really be treated more like a tarball than a local package. Regardless we simply filter units by actually checking for `uPkgSrc=Just LocalUnpackedPackage` instead of relying on "style". This fixes #99 | ||||
* | Run v2-install in '/' instead of /tmp | Daniel Gröber | 2020-05-01 | 1 | -2/+1 |
| | | | | See #89 | ||||
* | Add call to addDependentFile to track TH dependencies | Daniel Gröber | 2020-05-01 | 1 | -2/+4 |
| | | | | | | Cabal still doesn't really know about these depencies and will only start GHC if it needs to rebuild for other reasons. However! Since all the files we pull in are source files for the library anyways it all works out. | ||||
* | Update CI images for GHC 8.10.1 and 8.8.3 | Daniel Gröber | 2020-05-01 | 2 | -9/+22 |
| | |||||
* | Support GHC 8.10 | jneira | 2020-05-01 | 4 | -6/+20 |
| | |||||
* | Require Cabal-3.0.1.* on windows for dropExeExtension fix | Daniel Gröber | 2020-04-18 | 1 | -0/+2 |
| | |||||
* | Update test data | Daniel Gröber | 2020-04-18 | 2 | -1/+4 |
| | |||||
* | Fix building with Cabal-3.2.0.0 | Daniel Gröber | 2020-04-18 | 1 | -1/+1 |
| | |||||
* | Fix datestamp Cabal HEAD version being too long | Daniel Gröber | 2020-04-18 | 1 | -14/+3 |
| | | | | | | | Cabal's versionDigitParser limits the version nuber to nine digits, this used to not be checked for and used to just overflow the resulting Word. See 7d4eee68fcb3 ("Limit version number parts to be 9 digits") | ||||
* | Revert "Fix Cabal version selection for Stack (esp. build-type:Custom)" | Daniel Gröber | 2020-02-11 | 4 | -53/+66 |
| | | | | This reverts commit 04c2d34f1874bc198288d33c784bc26f89280ee2. | ||||
* | Fix patchBuildToolProgs when haddock cannot be found | Javier Neira | 2020-02-10 | 3 | -14/+19 |
| | | | | Cabal's GHC.configure doesn't demand haddock exist, so we have to handle the case where it's not installed. | ||||
* | Turn private library into common stanza | unknown | 2020-02-08 | 1 | -15/+20 |
| | | | | | | | | | | | | Private libraries have a bunch of bugs in cabal currently: * https://github.com/haskell/cabal/issues/6211 * https://github.com/haskell/cabal/issues/6483 and devs of haskell-ide-engine are encountering this bug frequently. To mitigate this issue, remove usage of private libraries and use a common stanza to have the same re-use as before. This change can be undone when the mentioned issues have been resolved. | ||||
* | ci: Allow check-upd job to fail | Daniel Gröber | 2020-02-08 | 1 | -0/+3 |
| | |||||
* | Fix invokeGhc when using relative paths | Daniel Gröber | 2020-01-11 | 1 | -4/+8 |
| | |||||
* | Fix Cabal version selection for Stack (esp. build-type:Custom) | Daniel Gröber | 2020-01-11 | 4 | -66/+53 |
| | | | | | | Previously we would pick up Stack's Cabal version with ghc-pkg on the global package-db. This however ignores that Stack also supports custom Setup.hs with the Cabal version from the snapshot instead. | ||||
* | Unset GHC_ENVIRONMENT and GHC_PACKAGE_PATH before invocing GHC | Daniel Gröber | 2020-01-11 | 3 | -19/+20 |
| | | | | | | | | | | | | 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 | ||||
* | Update stack-resolvers | Daniel Gröber | 2020-01-11 | 1 | -1/+1 |
| | |||||
* | ghc-session: Get GHC libdir from --print-libdir command | Daniel Gröber | 2019-12-29 | 3 | -7/+11 |
| | | | | | | 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. | ||||
* | Fix unused argument warning | Daniel Gröber | 2019-12-29 | 1 | -4/+4 |
| | |||||
* | compile-test: Add program commandline options | Daniel Gröber | 2019-12-29 | 4 | -28/+42 |
| | |||||
* | Fix Cabal HEAD | Daniel Gröber | 2019-12-29 | 3 | -12/+14 |
| | |||||
* | Add GHC 8.8 support | Daniel Gröber | 2019-12-29 | 3 | -4/+10 |
| | |||||
* | ci: Switch to unified CI image | Daniel Gröber | 2019-12-28 | 2 | -5/+115 |
| | |||||
* | Update stack-resolvers | Daniel Gröber | 2019-12-28 | 1 | -1/+1 |
| | |||||
* | scripts: Add sdist to bump.sh | Daniel Gröber | 2019-12-28 | 1 | -1/+3 |
| | |||||
* | Release version 1.0.0.0 | Daniel Gröber | 2019-12-27 | 0 | -0/+0 |
| | |||||
* | Fix check-testdata.sh exit code propagation | Daniel Gröber | 2019-12-27 | 1 | -4/+15 |
| | |||||
* | Update stack-resolvers | Daniel Gröber | 2019-12-27 | 1 | -1/+1 |
| | |||||
* | Fix README typos | Daniel Gröber | 2019-12-26 | 1 | -3/+3 |
| | |||||
* | Fix GitLab pipeline badge URL | Daniel Gröber | 2019-12-26 | 1 | -1/+1 |
| | |||||
* | Tweak README and cabal description | Daniel Gröber | 2019-12-26 | 2 | -56/+49 |
| | |||||
* | Always include cabal-v2 project in discover | Luke Lau | 2019-12-21 | 1 | -2/+2 |
| |