Skip to content

SetupWrapper.hs: Ambiguous occurrence ‘exeExtension’ #19

@juhp

Description

@juhp

When trying to build hoodle in Stackage Nightly (commercialhaskell/stackage#1662):

> /tmp/stackage-build9/poppler-0.14.0$ runghc -clear-package-db -global-package-db -package-db=/home/stackage/work/builds/nightly/pkgdb Setup configure --package-db=clear --package-db=global --package-db=/home/stackage/work/builds/nightly/pkgdb --libdir=/home/stackage/work/builds/nightly/lib --bindir=/home/stackage/work/builds/nightly/bin --datadir=/home/stackage/work/builds/nightly/share --libexecdir=/home/stackage/work/builds/nightly/libexec --sysconfdir=/home/stackage/work/builds/nightly/etc --docdir=/home/stackage/work/builds/nightly/doc/poppler-0.14.0 --htmldir=/home/stackage/work/builds/nightly/doc/poppler-0.14.0 --haddockdir=/home/stackage/work/builds/nightly/doc/poppler-0.14.0 --flags=

SetupWrapper.hs:60:49: error:
    Ambiguous occurrence ‘exeExtension’
    It could refer to either ‘Distribution.Simple.BuildPaths.exeExtension’,
                             imported from ‘Distribution.Simple.BuildPaths’ at SetupWrapper.hs:11:40-51
                          or ‘System.Directory.exeExtension’,
                             imported from ‘System.Directory’ at SetupWrapper.hs:23:1-23
                             (and originally defined in ‘directory-1.2.6.2:System.Directory.Internal.Config’)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions