You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to reload both components in case of change to ./servant/stack.yaml but only one for changes to ./servant/servant-server/servant-server.cabal, ./servant/servant-server/package.yaml and ./servant/servant-docs/servant-docs.cabal, ./servant/servant-docs/package.yaml respectively.
A proposed solution:
Change the API of cradle dependencies in hie-bios to give absolute paths since this is the only location where we can know this. (Another breaking change, yay)
Unfortunately, this does not play nicely with the latest breaking change to extend a CradleError with the dependencies of the component, since we dont know the component dir in that case :(
The text was updated successfully, but these errors were encountered:
fendor
changed the title
Make Cradle Depencies absolute
Make Cradle Dependencies absolute
Jun 14, 2020
Original issue: https://github.com/digital-asset/ghcide/issues/633
The dependencies could be relative to the
cradleRootDir
or tocomponentRootDir
e.g.We need to reload both components in case of change to
./servant/stack.yaml
but only one for changes to./servant/servant-server/servant-server.cabal
,./servant/servant-server/package.yaml
and./servant/servant-docs/servant-docs.cabal
,./servant/servant-docs/package.yaml
respectively.A proposed solution:
Change the API of cradle dependencies in hie-bios to give absolute paths since this is the only location where we can know this. (Another breaking change, yay)
Unfortunately, this does not play nicely with the latest breaking change to extend a CradleError with the dependencies of the component, since we dont know the component dir in that case :(
The text was updated successfully, but these errors were encountered: