Skip to content

System.Directory.Primitive - XdgDirectory problem #2867

@JacquesCarette

Description

@JacquesCarette

This is related to v2.0 and other's trouble with running the tests.

So the released stdlib 2.0 has

{-# COMPILE GHC XdgDirectory = data XdgDirectory (XdgData|XdgConfig|XdgCache) #-}

whereas released stdlib 2.1 has

{-# COMPILE GHC XdgDirectory = data XdgDirectory (XdgData|XdgConfig|XdgCache|XdgState) #-}

git blame says that this was fixed by @gallais in 307152f

This seems to be a GHC synchronization issue (that I have not tracked down in full) where XdgState was added. This is new to directory-1.3.7.0 (which itself is quite old) but it is hard to tell when that became the default for Agda / MAlonzo.

Best guess: v2.0 was released without this particular test suite being run. Probably because the release instructions do not have a make testsuite step! @MatthewDaggitt

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