NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.35k stars 13.58k forks source link

aeson 1.5 tracking issue #167859

Open sternenseemann opened 2 years ago

sternenseemann commented 2 years ago

We are still building some packages with aeson 1.5 which is a slight annoyance, so let's make a list and migrate them to 2.0 one by one!

Packages still using aeson 1.5:

Packages that are failing because they don't support aeson 2.0 (but also haven't been overridden to use 1.5):

cc @NixOS/haskell

nixos-discourse commented 2 years ago

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/cant-rebuild-on-nixos-unstable-because-a-package-is-marked-as-broken-should-i-fix-it-or-ditch-it/18668/3

AleXoundOS commented 1 year ago

nix-linter is still using aeson 1.5:

$ NIXPKGS_ALLOW_BROKEN=1 nix shell --impure github:nixos/nixpkgs#nix-linter
error: builder for '/nix/store/iry15ddwhh1nxk68bnxl3641m1alsr6f-aeson-1.5.6.0.drv' failed with exit code 1;
       last 10 log lines:
       >     Ambiguous occurrence ‘scientific’
       >     It could refer to
       >        either ‘B.scientific’,
       >               imported from ‘Data.ByteString.Builder’ at src/Data/Aeson/Encoding/Builder.hs:45:1-35
       >               (and originally defined in ‘Data.ByteString.Builder.RealFloat’)
       >            or ‘Data.Aeson.Encoding.Builder.scientific’,
       >               defined at src/Data/Aeson/Encoding/Builder.hs:138:1
       >    |
       > 68 | encodeToBuilder (Number n) = scientific n
       >    |                              ^^^^^^^^^^
       For full logs, run 'nix log /nix/store/iry15ddwhh1nxk68bnxl3641m1alsr6f-aeson-1.5.6.0.drv'.
error: 1 dependencies of derivation '/nix/store/pnlhysmk7l30vb59rcq5zmklhnsbi5cn-nix-linter-0.2.0.4.drv' failed to build
sternenseemann commented 4 months ago

305970