sheaf
sheaf
This work-in-progress PR contains the implementation of the new `Hooks` build-type, as described in [the Haskell Foundation Tech Proposal](https://github.com/haskellfoundation/tech-proposals/pull/60). It builds on several previous PRs. For review, you should only...
Commit f70fc980dca50e7e62c5e803f56d2ef0c9fc7e18 appears to have changed the behaviour of the installation of executables in packages with Custom setups. It seems that, when building a package `pkg` that depends on the...
This change means that we can refer to `BuildTarget` in `Cabal` error constructors. (Attempting to do so before this change would cause cyclic imports.)
In #7581, a call to `makeRelativeToCurrentDirectory` was added in an attempt to shorten command lines. However, in practice, [this call](https://github.com/haskell/cabal/blob/3c06125115c2a86324e9f72f615f381278bb107b/Cabal/src/Distribution/Simple/GHC/Build.hs#L100) to `makeRelative` will fail to make the path relative. For...
`cabal-install` inconsistently looks through symlinks. Suppose for instance that one has a Cabal project in `/public/pkg` and that `public` is a symlink to `private`. Then, because `establishProjectBaseContext` canonicalizes paths, when...
The `Cabal` library should be agnostic to the current working directory. That is, a build system that directly calls the Cabal library should be able to use the API exposed...
```haskell module M ( T#(f#,C#,(+#)) , Int, Bool, Char ) where ``` `(+#)` breaks highlighting in the rest of the module export list.
The following functions used to expect a list of Async computations as input, but have been generalised to work with a Foldable constraint: - waitAny, waitAnySTM, waitAnyCancel, - waitAnyCatch, waitAnyCatchSTM,...
**Template Β: This PR does not modify `cabal` behaviour (documentation, tests, refactoring, etc.)** This PR modifies `cabal-install` to directly go through the `Cabal` library when building packages, instead of the...
The --working-dir flag is only available for Cabal >= 3.13. This commit fixes an incorrect conditional: we only filtered out this flag for Cabal < 3.11, instead of < 3.13....