summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorDennis Gosnell <cdep.illabout@gmail.com>2023-09-11 07:45:57 -0400
committerDennis Gosnell <cdep.illabout@gmail.com>2023-09-11 07:45:57 -0400
commit7fc032e5951b69de22b923e5bf64b0ca34c5b3e3 (patch)
tree12907406cba44f4333862d67a854104da388291f /pkgs/development/haskell-modules/configuration-common.nix
parent7b90ca7dff7a19da32ab6d9df5aab506a52cec7f (diff)
downloadnixpkgs-7fc032e5951b69de22b923e5bf64b0ca34c5b3e3.tar
nixpkgs-7fc032e5951b69de22b923e5bf64b0ca34c5b3e3.tar.gz
nixpkgs-7fc032e5951b69de22b923e5bf64b0ca34c5b3e3.tar.bz2
nixpkgs-7fc032e5951b69de22b923e5bf64b0ca34c5b3e3.tar.lz
nixpkgs-7fc032e5951b69de22b923e5bf64b0ca34c5b3e3.tar.xz
nixpkgs-7fc032e5951b69de22b923e5bf64b0ca34c5b3e3.tar.zst
nixpkgs-7fc032e5951b69de22b923e5bf64b0ca34c5b3e3.zip
haskellPackages.aeson_2_2_0_0: get compiling
Originally from https://github.com/NixOS/nixpkgs/pull/254189
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 3411f215615..6df27eaf6c5 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -201,6 +201,11 @@ self: super: {
     })
   ] super.aeson);
 
+  # aeson 2.2.0.0 requires th-abstraction >= 0.5 & < 0.6
+  aeson_2_2_0_0 = super.aeson_2_2_0_0.overrideScope (hfinal: hprev: {
+    th-abstraction = hfinal.th-abstraction_0_5_0_0;
+  });
+
   # 2023-06-28: Test error: https://hydra.nixos.org/build/225565149
   orbits = dontCheck super.orbits;