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
When using versions of servant higher than 0.16.2 I get the following error when I compile
gogol-core > [6 of 6] Compiling Network.Google.Prelude
gogol-core >
gogol-core > /run/user/1000/stack-ad522337ea560fac/gogol-core-0.5.0/src/Network/Google/Prelude.hs:31:1: error:
gogol-core > Could not find module ‘Servant.Utils.Links’
gogol-core > Use -v (or `:set -v` in ghci) to see a list of the files searched for.
gogol-core > |
gogol-core > 31 | import Servant.Utils.Links as Export hiding (Link)
gogol-core > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gogol-core >
The reason is that Servant.Utils.Links is not available in servant-0.17.0 and above. I got it to compile by putting this into stack.yaml
extra-deps:
- servant-0.16.2
The text was updated successfully, but these errors were encountered:
Since I'm using Nix, my workaround was to first generate a nix file for core library, cabal2nix https://github.com/brendanhay/gogol --subpath core
and then for the specific API I'm using cabal2nix https://github.com/brendanhay/gogol --subpath gogol-shopping-content
When using versions of servant higher than 0.16.2 I get the following error when I compile
The reason is that
Servant.Utils.Links
is not available inservant-0.17.0
and above. I got it to compile by putting this intostack.yaml
The text was updated successfully, but these errors were encountered: