Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build-depends of buildable:False stanzas are still required #2602

Closed
snoyberg opened this issue May 21, 2015 · 1 comment
Closed

build-depends of buildable:False stanzas are still required #2602

snoyberg opened this issue May 21, 2015 · 1 comment

Comments

@snoyberg
Copy link
Collaborator

Here's a sample session. Note how, even though the bench flag is disabled by default and therefore the vector-algorithms-bench stanza won't be built, Cabal (the library) is still requiring that its dependencies (in this case, mtl and mwc-random) be installed.

vagrant@vagrant-ubuntu-trusty-64:~/Desktop$ cabal unpack vector-algorithms
cUnpacking to vector-algorithms-0.7/
vagrant@vagrant-ubuntu-trusty-64:~/Desktop$ cd vector-algorithms-0.7/
vagrant@vagrant-ubuntu-trusty-64:~/Desktop/vector-algorithms-0.7$ cabal sandbox init
Writing a default package environment file to
/home/vagrant/Desktop/vector-algorithms-0.7/cabal.sandbox.config
Creating a new sandbox at
/home/vagrant/Desktop/vector-algorithms-0.7/.cabal-sandbox
vagrant@vagrant-ubuntu-trusty-64:~/Desktop/vector-algorithms-0.7$ cabal install vector
Resolving dependencies...
Notice: installing into a sandbox located at
/home/vagrant/Desktop/vector-algorithms-0.7/.cabal-sandbox
Configuring primitive-0.6...
Building primitive-0.6...
Installed primitive-0.6
Configuring vector-0.10.12.3...
Building vector-0.10.12.3...
cabal configure
Installed vector-0.10.12.3
vagrant@vagrant-ubuntu-trusty-64:~/Desktop/vector-algorithms-0.7$ cabal configure
Resolving dependencies...
Configuring vector-algorithms-0.7...
cabal: At least the following dependencies are missing:
mtl -any, mwc-random -any
@23Skidoo
Copy link
Member

Duplicate of #1725.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants