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.
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 failurepkgs.projectto add bcabal build exe:b-- Observe failurecabal.projectby adding a newlinecabal build exe:b-- Observe successThis affects cabal development due to the many uses of imports.