Skip to content

Inform user the full path where the executable is copied/symlinked with v2-install #6575

Closed
@jneira

Description

@jneira

Actually cabal install output ends with (you can replace Copying with Symlinking)

Copying 'executable1.exe'
Copying 'executable2.exe'
...

and cabal install -v3 with:

creating D:\bin 
Copying 'executable1.exe'
Copying 'executable2.exe'
....

being D:\bin the dir where the executables are being copied/symlinked. Even when the directory already exists (but that is not the goal of this issue)!

I think it would be great show the absolute path where the artifacts are being created even with the default verbosity:

Copying 'executable1.exe' to 'D:\bin'
Copying 'executable2.exe' to 'D:\bin'

or, if all of them only could be created in one location (not sure about that)

Copying executables to 'D:\bin'
Copying 'executable1.exe'
Copying 'executable2.exe'

It seems a small change but the directory value can come from several sources and beginners not always are aware of them.
I think bug fixes should be the priority here but this seems to be easy to implement (ha! 😝)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions