Skip to content

esqueleto does not compile #19247

@vandenoever

Description

@vandenoever

Issue description

Installing haskellPackages.esqueleto from NixOS 16.09 gives a compile error.

Steps to reproduce

$ nix-env -iA haskellPackages.esqueleto
...
src/Database/Esqueleto.hs:437:13: error:
    • Couldn't match type ‘BaseBackend (PersistEntityBackend val)’
                     with ‘PersistEntityBackend val’
        arising from a use of ‘Database.Persist.delete’
    • In the expression: Database.Persist.delete
      In an equation for ‘deleteKey’: deleteKey = Database.Persist.delete
    • Relevant bindings include
        deleteKey :: Key val -> ReaderT (PersistEntityBackend val) m ()
          (bound at src/Database/Esqueleto.hs:437:1)
builder for ‘/nix/store/56wp6f0ami15p60mr2hrgzy3jj50chcs-esqueleto-2.4.3.drv’ failed with exit code 1
error: build of ‘/nix/store/56wp6f0ami15p60mr2hrgzy3jj50chcs-esqueleto-2.4.3.drv’ failed

Technical details

  • System: (NixOS: nixos-version, Ubuntu/Fedora: lsb_release -a, ...)
  • Nix version: (run nix-env --version)
  • Nixpkgs version: (run nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion)
$ nixos-version
16.09.677.0dc31e8 (Flounder)
$ lsb_release -a
LSB Version:    n/a
Distributor ID: n/a
Description:    (none)
Release:        n/a
Codename:       n/a
$ nix-env --version
nix-env (Nix) 1.11.4
$ nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion"16.09.677.0dc31e8"

Metadata

Metadata

Assignees

No one assigned

    Labels

    6.topic: haskellGeneral-purpose, statically typed, purely functional programming language

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions