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/haskell-modules/configuration-common.nix | |
parent | ea1aae15ae62c59641cfb84f1138a8a0d3b365e2 (diff) | |
download | nixpkgs-671db18e2221371e856e659d47842d96191fbbd6.tar nixpkgs-671db18e2221371e856e659d47842d96191fbbd6.tar.gz nixpkgs-671db18e2221371e856e659d47842d96191fbbd6.tar.bz2 nixpkgs-671db18e2221371e856e659d47842d96191fbbd6.tar.lz nixpkgs-671db18e2221371e856e659d47842d96191fbbd6.tar.xz nixpkgs-671db18e2221371e856e659d47842d96191fbbd6.tar.zst nixpkgs-671db18e2221371e856e659d47842d96191fbbd6.zip |
haskellPackages.hledger-flow: do not build static
Fixes #68840
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 7 |
1 files changed, 7 insertions, 0 deletions
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 |