Skip to content

Cabal exec, hc-pkg do not take configure flags into account #2278

Closed

Description

@luite

The following does not make cabal hc-pkg use ghcjs-pkg, since it only looks at the cabal config files, not the persistent build info:

cabal sandbox init
cabal configure --ghcjs
cabal sandbox hc-pkg list

To make it use ghcjs-pkg, the configuration has to be modified, which is rather inconvenient:

cabal sandbox init
echo "compiler: ghcjs" > cabal.config
cabal install
cabal sandbox hc-pkg list

The same goes for the cabal exec command

Activity

  1. added this to the milestone on Apr 24, 2015
  2. added a commit that references this issue on Oct 11, 2015
    a447de5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions