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
I can't seem to get a set of flags for ghcide on an Apple M1 native build using GHC 8.10.5 and cabal-install 3.4.0.0.
$ hie-bios flags ghcide/src/Development/IDE.hs
Failed to show flags for "ghcide/src/Development/IDE.hs": ["Failed to parse result of calling cabal","Build profile: -w ghc-8.10.5 -O1\nIn order, the following will be built (use -v for more details):\n - hls-plugin-api-1.1.0.1 (lib) (first run)\n - ghcide-1.3.0.0 (lib) (first run)\nPreprocessing library for hls-plugin-api-1.1.0.1..\nBuilding library for hls-plugin-api-1.1.0.1..\n","clang: error: no such file or directory: '/Users/pepe/.cache/hie-bios/dist-haskell-language-server-1cd490e0e56bf98948803756c8fcabc9/build/aarch64-osx/ghc-8.10.5/hls-plugin-api-1.1.0.1/build/Ide/Plugin/Config.dyn_o'\n`gcc' failed in phase `Linker'. (Exit code: 1)\ncabal: Failed to build hls-plugin-api-1.1.0.1 (which is required by\nghcide-1.3.0.0).\n\n",""]
And indeed, the .dyn files for Ide.Plugin.Config are missing:
$ ll /Users/pepe/.cache/hie-bios/dist-haskell-language-server-1cd490e0e56bf98948803756c8fcabc9/build/aarch64-osx/ghc-8.10.5/hls-plugin-api-1.1.0.1/build/Ide/Plugin/
total 2352
-rw-r--r-- 1 pepe staff 85K Jun 6 19:30 Config.hi
-rw-r--r-- 1 pepe staff 372K Jun 6 19:30 Config.o
-rw-r--r-- 1 pepe staff 16K Jun 6 19:31 ConfigUtils.dyn_hi
-rw-r--r-- 1 pepe staff 109K Jun 6 19:31 ConfigUtils.dyn_o
-rw-r--r-- 1 pepe staff 16K Jun 6 19:31 ConfigUtils.hi
-rw-r--r-- 1 pepe staff 109K Jun 6 19:31 ConfigUtils.o
-rw-r--r-- 1 pepe staff 35K Jun 6 19:30 Properties.dyn_hi
-rw-r--r-- 1 pepe staff 186K Jun 6 19:30 Properties.dyn_o
-rw-r--r-- 1 pepe staff 35K Jun 6 19:30 Properties.hi
-rw-r--r-- 1 pepe staff 186K Jun 6 19:30 Properties.o
This is unexpected, because cabal build ghcide works fine and so does hie-bios flags hls-plugin-api/src/Ide/Types.hs
The text was updated successfully, but these errors were encountered:
I can't seem to get a set of flags for
ghcide
on an Apple M1 native build using GHC 8.10.5 and cabal-install 3.4.0.0.And indeed, the
.dyn
files forIde.Plugin.Config
are missing:This is unexpected, because
cabal build ghcide
works fine and so doeshie-bios flags hls-plugin-api/src/Ide/Types.hs
The text was updated successfully, but these errors were encountered: