From 76db3f6e63ecb5d06ee8dfa24ec739f89a82106a Mon Sep 17 00:00:00 2001 From: Michael Alan Dorman Date: Mon, 30 May 2016 18:24:38 -0400 Subject: [PATCH] esqueleto: fix dependencies --- .../development/haskell-modules/configuration-common.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index b1c004f2483..d2aeda8d49c 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1011,4 +1011,13 @@ self: super: { # Tools that use gtk2hs-buildtools now depend on them in a custom-setup stanza cairo = addBuildTool super.cairo self.gtk2hs-buildtools; pango = addBuildTool super.pango self.gtk2hs-buildtools; + + # esqueleto requires an older version of the persistent library, and + # corresponding versions of -template and -sqlite for for its test + # suite. + esqueleto = super.esqueleto.overrideScope (self: super: { + persistent-template = super.persistent-template_2_1_8_1; + persistent-sqlite = super.persistent-sqlite_2_2_1; + persistent = super.persistent_2_2_4_1; + }); }