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
The "when using configuration from" message is duplicating paths on Windows but these are the same path, ignoring path separator differences.
$ ~/.ghcup/bin/cabal-3.12.1.0 build all --dry-run --project-file=else.project
...
Warning: /.../else.project,
else.project: Unrecognized section '_' on line 3
When using configuration from:
- dir-else/else.config
- else.project
The following errors occurred:
- The package location 'no-pkg-here' does not exist.
On Windows
$ cabal build all --dry-run --project-file=else.project
Warning:
C:\...\else.project,
else.project: Unrecognized section '_' on line 3
When using configuration from:
- dir-else/else.config
- dir-else\else.config
- else.project
The following errors occurred:
- The package location 'no-pkg-here' does not exist.
Expected behavior
That there'd only be one entry for each project configuration file.
System information
Operating system compared are Windows 10 Pro and Ubuntu 24.10
cabal version is 3.12.1.0 and also seeing the same problem with 3727226:
$ git rev-parse HEAD
37272267206d5962a4c61ed193ce47813cf18809
The text was updated successfully, but these errors were encountered:
Describe the bug
The "when using configuration from" message is duplicating paths on Windows but these are the same path, ignoring path separator differences.
To Reproduce
Expected behavior
That there'd only be one entry for each project configuration file.
System information
3.12.1.0
and also seeing the same problem with 3727226:The text was updated successfully, but these errors were encountered: