haskell-nix / hnix

A Haskell re-implementation of the Nix expression language
https://hackage.haskell.org/package/hnix
BSD 3-Clause "New" or "Revised" License
741 stars 114 forks source link

Build failure in `hnix-0.2.0` with `data-fix >= 0.3` #1075

Closed sjakobi closed 2 years ago

sjakobi commented 2 years ago
Nix/Parser.hs:189:22: error:
    • No instance for (Data.Functor.Classes.Show1 NExprF)
        arising from a use of ‘notFollowedBy’
    • In the first argument of ‘(*>)’, namely ‘notFollowedBy nixUri’
      In the expression: notFollowedBy nixUri *> identifier
      In an equation for ‘identifierNotUri’:
          identifierNotUri = notFollowedBy nixUri *> identifier
    |
189 |   identifierNotUri = notFollowedBy nixUri *> identifier
    |                      ^^^^^^^^^^^^^^^^^^^^
Error: cabal: Failed to build hnix-0.2.0

As a Hackage trustee I have revised v0.2.0 to prevent users from encountering this error: https://hackage.haskell.org/package/hnix-0.2.0/revisions/

This issue is just FYI.