Closed
Description
Commit f70fc98 appears to have changed the behaviour of the installation of executables in packages with Custom setups.
It seems that, when building a package pkg
that depends on the library component of the dep
package which also contains an executable, we no longer build and install the executable. On the face of it this seems sensible – after all, if we depend on the library, why should we also build the executable? – but it can break workflows, for instance if dep
has a custom Setup script which runs the executable (such is the case for Agda
).
A reproducer is to depend on a local tarball package with Custom build type and whose copy hook runs the executable.