haskellPackages.hadolint: fix build by disabling static linking

This commit is contained in:
Olli Helenius 2019-09-23 20:50:32 +03:00 committed by Peter Simons
parent 50d128e16c
commit 21977c055d
2 changed files with 4 additions and 1 deletions

View File

@ -5218,7 +5218,6 @@ broken-packages:
- haddock-leksah
- haddock-test
- haddocset
- hadolint
- hadoop-formats
- hadoop-rpc
- hadoop-tools

View File

@ -593,4 +593,8 @@ self: super: builtins.intersectAttrs super {
http-download = dontCheck super.http-download;
pantry = dontCheck super.pantry;
# Hadolint wants to build a statically linked binary by default.
hadolint = overrideCabal super.hadolint (drv: {
preConfigure = "sed -i -e /ld-options:/d hadolint.cabal";
});
}