You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building pandoc having unpacked most of its dependencies locally, building results in an internal error due to the component typst-test being desired but not available
componentAvailableTargetStatus: impossible; cname=test:typst-test
CallStack (from HasCallStack):
error, called at src/Distribution/Client/ProjectPlanning.hs:3075:15 in cabal-install-3.11.0.0-inplace:Distribution.Client.ProjectPlanning
The key insight is likely that typst-test is a component of a package that is gotten from a source-repository (stanza in cabal.project).
To Reproduce
Clone pandoc.
Edit cabal.project and add the following lines below the existing ones:
Describe the bug
When building
pandoc
having unpacked most of its dependencies locally, building results in an internal error due to the componenttypst-test
being desired but not availableThe key insight is likely that
typst-test
is a component of a package that is gotten from asource-repository
(stanza in cabal.project).To Reproduce
pandoc
.cabal.project
and add the following lines below the existing ones:cabal unpack
all those dependencies:cabal build
.Expected behavior
No error
System information
cabal
HEAD,ghc
9.4This came up when trying to reproduce #5220
Note that
typst
is also a source-repository-package, besides being listed inpackages
.The text was updated successfully, but these errors were encountered: