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
Repro: Edit a .cabal file in recent emacs, without saving. Get errors like this on build:
Multiple .cabal files found in directory /home/mgsloan/fpco/stack/: .#stack.cabal, stack.cabal
The issue is that these lock files do not change the file extension (like backup files which postpend ~), but instead prefix the filename with .#. We have two options:
When there are multiple cabal files, ignore the ones with invalid names
When there are multiple cabal files, ignore the ones that start with .. It is not allowed in package names anyway.
I am going to go with (2), because it is less likely to mask an issue with the user's setup. Presumably editors are either going to hide such files or change the extension.
The text was updated successfully, but these errors were encountered:
Repro: Edit a .cabal file in recent emacs, without saving. Get errors like this on build:
The issue is that these lock files do not change the file extension (like backup files which postpend
~
), but instead prefix the filename with.#
. We have two options:.
. It is not allowed in package names anyway.I am going to go with (2), because it is less likely to mask an issue with the user's setup. Presumably editors are either going to hide such files or change the extension.
The text was updated successfully, but these errors were encountered: