Skip to content

Add a Version_ module which does not depend on install dirs #3909

Closed
@sophie-h

Description

@sophie-h

I am using Paths_ (version) to output the version number in my project. However, the

bindir, libdir, datadir, libexecdir, sysconfdir :: FilePath

is making the binary non-reproducible. If this section can't be changed due to compatibility issues, there should be a new reproducible Buildconstants_ or what ever API.

By the way: It would be useful to export name and synopsis too, since they often appear in --version or --help.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions