From 02feb90d4e2bd9f2ad000a1a5a4a1d621f79aea9 Mon Sep 17 00:00:00 2001 From: Arian van Putten Date: Mon, 10 Sep 2018 13:34:28 +0200 Subject: [PATCH] safe-money: Fix dependencies for safe-money-* They all depend on safe-money-0.7, but hackage2nix made them incorrectly depend on safe-money-0.6 We should be able to remove this 'hack' as soon as the new Stackage LTS comes out, as safe-money-0.7 will then be the default version. --- pkgs/development/haskell-modules/configuration-common.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index ef55272d6e97..2e293f1031b0 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1130,4 +1130,12 @@ self: super: { # https://github.com/snapframework/xmlhtml/pull/37 xmlhtml = doJailbreak super.xmlhtml; + + # https://github.com/NixOS/nixpkgs/issues/46467 + safe-money-aeson = super.safe-money-aeson.override { safe-money = self.safe-money_0_7; }; + safe-money-store = super.safe-money-store.override { safe-money = self.safe-money_0_7; }; + safe-money-cereal = super.safe-money-cereal.override { safe-money = self.safe-money_0_7; }; + safe-money-serialise = super.safe-money-serialise.override { safe-money = self.safe-money_0_7; }; + safe-money-xmlbf = super.safe-money-xmlbf.override { safe-money = self.safe-money_0_7; }; + } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super