about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorPhilip Potter <philip.g.potter@gmail.com>2018-06-19 20:33:32 +0100
committerPhilip Potter <philip.g.potter@gmail.com>2018-06-19 20:33:32 +0100
commit5a2e2db7b27c1dd7892d746164fa31c997d8ee8c (patch)
tree390a87e70c7455384c469b9cec9a5887afc85293 /pkgs/development/haskell-modules/configuration-common.nix
parentd2c633f55dc0ebb1186ff8e391ab1b82c3df3433 (diff)
downloadnixlib-5a2e2db7b27c1dd7892d746164fa31c997d8ee8c.tar
nixlib-5a2e2db7b27c1dd7892d746164fa31c997d8ee8c.tar.gz
nixlib-5a2e2db7b27c1dd7892d746164fa31c997d8ee8c.tar.bz2
nixlib-5a2e2db7b27c1dd7892d746164fa31c997d8ee8c.tar.lz
nixlib-5a2e2db7b27c1dd7892d746164fa31c997d8ee8c.tar.xz
nixlib-5a2e2db7b27c1dd7892d746164fa31c997d8ee8c.tar.zst
nixlib-5a2e2db7b27c1dd7892d746164fa31c997d8ee8c.zip
dhall-json_1_2_0: fix dependencies
dhall-json 1.2.0 requires dhall's version to be at least 1.14.0 and less
than 1.15.0.  The package wasn't building for me because `dhall` is at
version 1.11.1; pinning to `dhall_1_14_0` fixed it.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index eb55be69188d..69d98f761bdd 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -1051,6 +1051,8 @@ self: super: {
     strictDeps = true;
   });
 
+  # dhall-json requires a very particular dhall version
+  dhall-json_1_2_0 = super.dhall-json_1_2_0.override { dhall = self.dhall_1_14_0; };
 }
 
 //