From fbe45054e4705b3e6dc14e0015915b033f0136fe Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Tue, 4 May 2021 16:56:31 +0200 Subject: [PATCH] haskellPackages.jsaddle: unbreak Luckily, only version bounds with no weird GHC failures: https://github.com/ghcjs/jsaddle/issues/123 --- 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 191b4fea7603..1b51fe615caa 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1820,4 +1820,12 @@ self: super: { extraPrefix = ""; }); + # https://github.com/ghcjs/jsaddle/issues/123 + jsaddle = overrideCabal super.jsaddle (drv: { + # lift conditional version constraint on ref-tf + postPatch = '' + sed -i 's/ref-tf.*,/ref-tf,/' jsaddle.cabal + '' + (drv.postPatch or ""); + }); + } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super