From d1f97a0dfb208ec20f982860c5740cd08dd35ef2 Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Tue, 25 May 2021 17:30:16 +0200 Subject: [PATCH] haskellPackages.ap-normalize: 0.1.0.0 -> 0.1.0.1 Manually upgrade for darwin build fix. --- .../haskell-modules/configuration-common.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index c09448e77391..08372141b7a4 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1969,4 +1969,15 @@ EOT editedCabalFile = null; }); + # 2021-05-25: Fixes darwin build: https://gitlab.com/lysxia/ap-normalize/-/issues/1 + ap-normalize = + assert pkgs.lib.versionOlder super.ap-normalize.version "0.1.0.1"; + overrideSrc super.ap-normalize rec { + version = "0.1.0.1"; + src = pkgs.fetchurl { + url = "https://hackage.haskell.org/package/ap-normalize-${version}/ap-normalize-${version}.tar.gz"; + sha256 = "1212zxc4qn6msk0w13yhrza2qjs79h78misllb4chng75jqi61l2"; + }; + }; + } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super