diff options
author | Christian Lütke-Stetzkamp <christian@lkamp.de> | 2020-02-08 20:52:00 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2020-02-28 20:31:20 +0100 |
commit | 671db18e2221371e856e659d47842d96191fbbd6 (patch) | |
tree | 44eb4376ac8f33508d8fca85f7e3e106346f44dc /pkgs/development | |
parent | ea1aae15ae62c59641cfb84f1138a8a0d3b365e2 (diff) | |
download | nixlib-671db18e2221371e856e659d47842d96191fbbd6.tar nixlib-671db18e2221371e856e659d47842d96191fbbd6.tar.gz nixlib-671db18e2221371e856e659d47842d96191fbbd6.tar.bz2 nixlib-671db18e2221371e856e659d47842d96191fbbd6.tar.lz nixlib-671db18e2221371e856e659d47842d96191fbbd6.tar.xz nixlib-671db18e2221371e856e659d47842d96191fbbd6.tar.zst nixlib-671db18e2221371e856e659d47842d96191fbbd6.zip |
haskellPackages.hledger-flow: do not build static
Fixes #68840
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 7 | ||||
-rw-r--r-- | pkgs/development/haskell-modules/configuration-hackage2nix.yaml | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index dcf858e61550..91e61abf1bc1 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 4958a8bddc7e..95dbcea342e3 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 |