-
Notifications
You must be signed in to change notification settings - Fork 711
Cannot install only one of many executables in a package. #8614
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
Comments
have you tried using |
I tied various combinations of component selectors. It is not clear what the syntax of component selectors is in the first place. Last time I checked, the spelling and meaning of component selectors was not well documented.
— Neither of these work as expected. I say all the ways to select the same component should work, and work to the same outcome. If you are saying that some of them work one way and others another, I say it is unexpected and confusing behaviour. |
#6369 was probably for remote packages. Can you try a package from hackage (or any other repo)? |
Yes, for packages on Hackage it works as expected… sorta… It does not accept the selector of form
|
Maintainers, please indicate to me the status of this issue. I answered your questions to the best of my ability. Now I need to know whether this issue will be worked on and what else I can do to help. |
@kindaro: metadata changes may not show up in notifications, so let me turn your attention to ^^^ We'd very much welcome a PR and it has some chance to get merged to cabal 3.10, depending on the review cycle. |
I can also repro this. This is an issue in Docker, where I'm only copying files related to |
Do you have any updates on this? I met same problems on version |
Describe the bug
I cannot install only one of many executables in a package. All of them get built and installed at once.
To Reproduce
Steps to reproduce the behavior:
Create a trivial package with 2 executables. Ask Cabal to install some one of them.
I never asked for
example2
!Expected behavior
Exactly one executable that I named is built and installed.
System information
cabal-install version 3.8.1.0
.Additional context
This should have been solved in #6369?…
The text was updated successfully, but these errors were encountered: