!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

703 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://nixos.org/manual/nixpkgs/unstable/#haskell | Current PR: https://github.com/nixos/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Ahaskell-updates | Maintainer Docs: https://github.com/NixOS/nixpkgs/blob/haskell-updates/pkgs/development/haskell-modules/HACKING.md | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org | Merger Schedule: https://cloud.maralorn.de/apps/calendar/p/H6migHmKX7xHoTFa/dayGridMonth/now | Join #haskell.nix:libera.chat for question about the alternative haskell.nix infrastructure139 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
28 Aug 2025
@thibaut:fsl.shThibautit's not enough23:15:42
29 Aug 2025
@luna-null:matrix.org@luna-null:matrix.org left the room.02:40:19
@zeorin:matrix.org@zeorin:matrix.org left the room.07:03:56
@sternenseemann:systemli.orgsternidowngrading data-default is not a good option anyways since it is likely to cause issues elsewhere10:41:45
@sternenseemann:systemli.orgsterniWe can do the bound adjustment via patches/overrides as well, we don't need to wait for upstream10:43:00
@dandart:matrix.orgEmber VoidUghh I've had terrible trouble with data-default-class vs data-default. Had to update bounds for another package because of the incompatible update.10:58:40
@thibaut:fsl.shThibaut

despite the patches, jailbreaks, I end up with this issue:

       > src/Dhall/LSP/Util.hs:16:16: error: [GHC-87543]
       >     Ambiguous occurrence ‘show’.
       >     It could refer to
       >        either ‘Prelude.show’,
       >               imported from ‘Prelude’ at src/Dhall/LSP/Util.hs:3:8-21
       >               (and originally defined in ‘ghc-internal-9.1002.0:GHC.Internal.Show’),
       >            or ‘Data.Text.show’,
       >               imported from ‘Data.Text’ at src/Dhall/LSP/Util.hs:11:1-16.
       >    |
       > 16 | tshow = pack . show

is it fine if I patch it as tshow = pack . Prelude.show?

11:15:33
@artem.types:matrix.orgArtem
In reply to @thibaut:fsl.sh

despite the patches, jailbreaks, I end up with this issue:

       > src/Dhall/LSP/Util.hs:16:16: error: [GHC-87543]
       >     Ambiguous occurrence ‘show’.
       >     It could refer to
       >        either ‘Prelude.show’,
       >               imported from ‘Prelude’ at src/Dhall/LSP/Util.hs:3:8-21
       >               (and originally defined in ‘ghc-internal-9.1002.0:GHC.Internal.Show’),
       >            or ‘Data.Text.show’,
       >               imported from ‘Data.Text’ at src/Dhall/LSP/Util.hs:11:1-16.
       >    |
       > 16 | tshow = pack . show

is it fine if I patch it as tshow = pack . Prelude.show?

This is a problem with many packages :-(
11:22:57
@sternenseemann:systemli.orgsterniThe best solution is probably to submit a proper patch for this to upstream, using CPP. You'd want to use Text.show for text >= 2.1.2 and keep the current code for Text < 2.1.2.11:32:49

Show newer messages


Back to Room ListRoom Version: 6