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
I see that this behavior is consistent with shell command test -e cabal.project. However, with the current behavior, a subtly wrong symlink can easily be overlooked, especially in an automated build environment (which is actually where I stumbled over it). Hence, I suggest having an existence test more like test -e FILE || test -h FILE.
System information
Arch Linux
cabal-install version 3.10.3.0 compiled using version 3.10.3.0 of the Cabal library
The Glorious Glasgow Haskell Compilation System, version 9.4.8
The text was updated successfully, but these errors were encountered:
When a configuration file like
cabal.project
,cabal.project.local
, orcabal.project.freeze
is a broken symlink, it is silently ignored.For example:
The last step succeeds unexpectedly.
I see that this behavior is consistent with shell command
test -e cabal.project
. However, with the current behavior, a subtly wrong symlink can easily be overlooked, especially in an automated build environment (which is actually where I stumbled over it). Hence, I suggest having an existence test more liketest -e FILE || test -h FILE
.System information
cabal-install version 3.10.3.0
compiled using version 3.10.3.0 of the Cabal library
The Glorious Glasgow Haskell Compilation System, version 9.4.8
The text was updated successfully, but these errors were encountered: