diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index dcf858e6155..91e61abf1bc 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1393,4 +1393,11 @@ self: super: { # See https://github.com/ekmett/perhaps/pull/5 perhaps = doJailbreak super.perhaps; + # it wants to build a statically linked binary by default + hledger-flow = overrideCabal super.hledger-flow ( drv: { + postPatch = (drv.postPatch or "") + '' + substituteInPlace hledger-flow.cabal --replace "-static" "" + ''; + }); + } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml index 4958a8bddc7..95dbcea342e 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml @@ -5719,7 +5719,6 @@ broken-packages: - HLearn-distributions - hledger-api - hledger-chart - - hledger-flow - hledger-irr - hledger-vty - hlibBladeRF