Open
Description
It seems that changes to imported cabal.project fragments do not trigger rebuilds correctly.
Reproducer: https://github.com/mpickering/solid-eureka
In this project there are two packages, a and b, if you add package b to the pkgs.project fragment then it is not picked up until you add a blank line to the cabal.project.
cabal build exe:b
-- Observe failure- Modify
pkgs.project
to add b cabal build exe:b
-- Observe failure- Modify
cabal.project
by adding a newline cabal build exe:b
-- Observe success
This affects cabal development due to the many uses of imports.