Skip to content

Provide a way to upgrade the msys install coming with ghcup. #1228

Open
@AndreasPK

Description

@AndreasPK

I've recently learned that ghcup comes with a msys install, but it does not provide a built in way to upgrade it.

I discovered this through a unrelated bug where a binary from this msys version has managed to make it's way into the ghc build system.

While a bug on it's own, it made me realize that ghcup (and configure via cabal as a result) was using a 5 year old version of bash which can cause issues with newer configure scripts. (As happened for libffi in ghc's case).

Perhaps ghcup could provide some sort of "upgrade msys" command, and record the time of the last update and record that as a sort of version number.

But I understand that a reasonable UI here is challenging given how msys works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions