flipstone / json-fleece

Extensible JSON Schemas for Haskell
MIT License
2 stars 1 forks source link

Not compatible with latest Shrubbery #24

Closed ysangkok closed 7 months ago

ysangkok commented 9 months ago
janus ~/flipstone/json-fleece
 % cabal repl json-fleece-aeson
Build profile: -w ghc-9.4.8 -O1
In order, the following will be built (use -v for more details):
 - json-fleece-core-0.5.6.0 (lib) (first run)
 - semialign-1.3 (lib) (requires build)
 - witherable-0.4.2 (lib) (requires build)
 - aeson-2.1.2.1 (lib) (requires build)
 - json-fleece-aeson-0.3.3.0 (lib) (first run)
Starting     semialign-1.3 (lib)
Starting     witherable-0.4.2 (lib)
Preprocessing library for json-fleece-core-0.5.6.0..
Building library for json-fleece-core-0.5.6.0..
[2 of 6] Compiling Fleece.Core.Class ( src/Fleece/Core/Class.hs, /home/janus/flipstone/json-fleece/dist-newstyle/build/x86_64-linux/ghc-9.4.8/json-fleece-core-0.5.6.0/build/Fleece/Core/Class.o, /home/janus/flipstone/json-fleece/dist-newstyle/build/x86_64-linux/ghc-9.4.8/json-fleece-core-0.5.6.0/build/Fleece/Core/Class.dyn_o )

src/Fleece/Core/Class.hs:47:28: error:
    Module ‘Shrubbery.TypeList’ does not export ‘AppendTypes’
   |
47 | import Shrubbery.TypeList (AppendTypes, Length)
   |                            ^^^^^^^^^^^
Building     witherable-0.4.2 (lib)
Building     semialign-1.3 (lib)
Installing   semialign-1.3 (lib)
Installing   witherable-0.4.2 (lib)
Completed    semialign-1.3 (lib)
Completed    witherable-0.4.2 (lib)
Error: cabal: Failed to build json-fleece-core-0.5.6.0 (which is required by
json-fleece-aeson-0.3.3.0).

janus ~/flipstone/json-fleece
 % cat cabal.project 
packages: json-fleece-core json-fleece-aeson

source-repository-package
  type: git
  location: https://github.com/flipstone/shrubbery
  tag: main
qxjit commented 7 months ago

This was fixed in 1bf8a291f003d997f7f06044ddd72e20f3842e14