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
Describe the bug post-checkout-command option for source-repository-package option in the cabal.project file causes cabal to crash when the post-checkout-command returns exit status 0. The correct behaviour should be to not crash and keep building.
To Reproduce
Create a new cabal project with a cabal.project file with a post-checkout-command. Here's I'm using hpack:
Describe the bug
post-checkout-command
option forsource-repository-package
option in the cabal.project file causes cabal to crash when thepost-checkout-command
returns exit status 0. The correct behaviour should be to not crash and keep building.To Reproduce
Create a new cabal project with a
cabal.project
file with apost-checkout-command
. Here's I'm usinghpack
:Run
Expected behavior
Cabal should fetch the source dependency, run the
post-checkout-command
(hpack
), and then successfully build the project.System information
cabal
: 3.6.0,ghc
: 9.0.1Additional context
The failure is caused by the code here. The correct code should be
The text was updated successfully, but these errors were encountered: