-
-
Notifications
You must be signed in to change notification settings - Fork 412
Description
HLS tries to resolve dependencies from cabal.project file form parent folder, nonetheless child sub package don't have any reference these deps nor siblings.
Configuration is affected by cabal.project at '/home/don/pro/haskell/copilot'.
git clone https://github.com/Copilot-Language/copilot.git
cd copilot/copilot-core
cat<<EOF > hie.yaml
cradle:
multi:
- path: "./src"
config:
cradle:
cabal:
- path: "./tests"
config:
cradle:
cabal:
EOF
haskell-language-server --debug
2025-11-11T11:44:25.815271Z | Info | haskell-language-server version: 2.11.0.0 (GHC: 9.12.2) (PATH: /nix/store/aa9bya2glnbp40i96niclgp7jpa2hqy3-haskell-language-server-2.11.0.0/bin/.haskell-language-server-9.12.2-unwrapped)
2025-11-11T11:44:25.816463Z | Info | Directory: /home/don/pro/haskell/copilot/copilot-core
2025-11-11T11:44:25.816840Z | Info | Logging heap statistics every 60.00s
ghcide setup tester in /home/don/pro/haskell/copilot/copilot-core.
Report bugs at https://github.com/haskell/haskell-language-server/issuesStep 1/4: Finding files to test in /home/don/pro/haskell/copilot/copilot-core
Found 11 filesStep 2/4: Looking for hie.yaml files that control setup
Found 1 cradle
(/home/don/pro/haskell/copilot/copilot-core/hie.yaml)Step 3/4: Initializing the IDE
2025-11-11T11:44:25.905913Z | Debug | Initializing exports map from hiedb
2025-11-11T11:44:25.906511Z | Debug | Shake session initializedSte2025-11-11T11:44:25.906724Z | Debug | Done initializing exports map from hiedb. Size: 0
p 4/4: Type checking the files
2025-11-11T11:44:25.909140Z | Info | Cradle path: src/Copilot/Core/Spec.hs
2025-11-11T11:44:25.909786Z | Debug | Cradle: Cradle{ cradleRootDir = "/home/don/pro/haskell/copilot/copilot-core", cradleOptsProg = CradleAction: Cabal}
2025-11-11T11:44:25.909868Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache)
2025-11-11T11:44:25.909949Z | Debug | Requested to load Cabal cradle using single file mode
2025-11-11T11:44:25.919340Z | Debug | cabal --numeric-version
2025-11-11T11:44:26.004113Z | Debug | cabal path --output-format=json
2025-11-11T11:44:26.051777Z | Debug | /nix/store/kpjx1qkw8sgzb9787xx5bx4zvhl4vp36-ghc-9.12.2-with-packages/bin/ghc --numeric-version
2025-11-11T11:44:26.052005Z | Info | Load cabal cradle using single file
2025-11-11T11:44:26.052113Z | Debug | Cabal Loading file /home/don/pro/haskell/copilot/copilot-core/src/Copilot/Core/Spec.hs
from project: [ /home/don/pro/haskell/copilot/copilot-core/tests
, /home/don/pro/haskell/copilot/copilot-core/src ]
with prefixes:
with actual loading files: [ /home/don/pro/haskell/copilot/copilot-core/src/Copilot/Core/Spec.hs ]
2025-11-11T11:44:26.055126Z | Info | cabal v2-repl --keep-temp-files --with-repl /home/don/.cache/hie-bios/repl-wrapper-fae20739a232ed1b9dcdf40eca9cf71e /home/don/pro/haskell/copilot/copilot-core/src/Copilot/Core/Spec.hs
Environment Variables
HIE_BIOS_OUTPUT: /tmp/nix-shell-3234045-401997632/HIE_BIOS_OUTPUT3234156-0
2025-11-11T11:44:26.085871Z | Debug | Configuration is affected by cabal.project at '/home/don/pro/haskell/copilot'.
2025-11-11T11:44:26.383983Z | Debug | Warning: The package list for 'hackage.haskell.org' does not exist. Run 'cabal
2025-11-11T11:44:26.384146Z | Debug | update' to download it.
2025-11-11T11:44:26.421263Z | Debug | Resolving dependencies...
2025-11-11T11:44:26.422644Z | Debug | Error: [Cabal-7107]
2025-11-11T11:44:26.422758Z | Debug | Could not resolve dependencies:
2025-11-11T11:44:26.422877Z | Debug | [__0] trying: copilot-bluespec-4.6 (user goal)