When attempting to install a single executable component, all of them are installed
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
**Describe the bug**
When trying to install a single executable component from a package then all executables are installed.
**To Reproduce**
Steps to reproduce the behavior:
```
git clone https://github.com/eyeinsky/tmp-nZbGqMAOG0-cdtemp
cd tmp-nZbGqMAOG0-cdtemp
mkdir bin
cabal install --installdir=bin tmp-nZbGqMAOG0-cdtemp:exe:first
find bin -type l -executable
```
Results in
```
bin/first
bin/second
```
**Expected behavior**
Should list only `first`
**System information**
nixos-version
23.05.4603.3e10c80821de (Stoat)
cabal --version
cabal-install version 3.10.1.0
compiled using version 3.10.1.0 of the Cabal library
ghc --version
The Glorious Glasgow Haskell Compilation System, version 9.2.8
**Additional context**
Created a repository to reproduce this (it's used above): https://github.com/eyeinsky/tmp-nZbGqMAOG0-cdtemp
Contributor guide
Assessment
This issue has not been assessed yet.