-
Notifications
You must be signed in to change notification settings - Fork 233
Open
Description
Summary
Hoogle was temporarily disabled in nix/haskell.nix during the cardano-node 10.6.1 dependency bump due to a haskell.nix bug with typed-protocols sublibraries.
Problem
The typed-protocols-1.0.0.0 package has internal sublibraries (cborg, stateful, stateful-cborg) where the cborg sublibrary name shadows the external cborg hackage package. When haskell.nix tries to build typed-protocols:stateful-cborg, it generates invalid configure flags:
--dependency=cborg=cborg-0.2.10.0-...
--dependency=cborg=typed-protocols-1.0.0.0-...-cborg
This causes the build to fail with: Error: Dependency on unbuildable package cborg
Workaround Applied
Disabled hoogle in nix/haskell.nix:
- Set
withHoogle = false - Commented out hoogle from tools
Resolution Path
- Check if newer haskell.nix versions fix the sublibrary name collision issue
- Alternatively, wait for a typed-protocols release that renames internal sublibraries
- Once fixed, restore
withHoogle = trueand re-add hoogle to tools
Related
- haskell.nix sublibrary handling
- typed-protocols internal library structure
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels