Closed tscholak closed 2 years ago
the latest stackage nightly has aeson 2 now.
Thanks! I'll merge for now, and would be happy to push a new version when there's a stable stack snapshot with aeson-2
Cheers!
It'd be worth a new hackage release for this.
Shipped Version 1.2.0.0 https://hackage.haskell.org/package/slick
@ChrisPenner Why is this change missing in the latest stackage release (1.2.2.2)? The source code is contains the old code, see: https://www.stackage.org/haddock/lts-18.28/slick-1.1.2.2/src/Slick.Pandoc.html#loadUsingMeta
This causes the package to be broken on nix.
Why is this change missing in the latest stackage release (1.2.2.2)?
The latest version on Hackage is 1.2.0.0. Your link goes to version 1.1.2.2.
Why is this change missing in the latest stackage release (1.2.2.2)?
The latest version on Hackage is 1.2.0.0. Your link goes to version 1.1.2.2.
You are right. Thanks for the quick update and sorry for the confusion.
I noticed with the newer nixpkgs slick is updated and no longer broken, see https://github.com/NixOS/nixpkgs/commit/8e10587e#diff-db620ccbf4b3a2612bf583eadebb88f54f7ed670f5be5eaf804cbcdd51fb2db3R261053
This is a draft PR, because I did not change the package.json or stack.yaml files. Afaik, there currently is no stack release that uses both ghc 8.10.7 and aeson 2. However, this fix may still be useful for people who use slick without stack. I publish the changes here for improved visibility.