I run IHP on a mac with M1 processor so now that they're finally supported I'm getting an error when I try to update using the following command:
Command: nix-shell --run 'make -B .envrc build/ihp-lib'
Error I'm getting error: cycle detected in build of '/nix/store/jqfx8z69709v0mh0qg4ybiahiwzv5zlb-ghcid-0.8.7.drv' in the references of output 'bin' from output 'out'
Could you set withHoogle = false
temporarly and also remove the mongoDB
, and then try to build it again? Maybe on of those settings is causing the error
Thanks for the quick response. Tried that but still same error unfortunately
Ah i overlooked something. Could you try to remove the ghcid
dependency?
Nice so IHP loads now! Although when I click to load my app I get the error with the logs below:
{{"Problems found while compiling.
GHCi, version 8.10.7: https://www.haskell.org/ghc/ :? for help package flags have changed, resetting and loading new packages. Loaded GHCi configuration from .ghci..."}}. And after that it just compiles all 51 items.
Guessing this is because the app might be dependent on the ghcid I removed from the default.nix file?
This is very strange. Do you have a recent nix version installed?