haskellPackages.hadolint: fix build by disabling static linking

This commit is contained in:
Olli Helenius
2019-09-25 15:28:40 +02:00
committed by Peter Simons
parent 50d128e16c
commit 21977c055d
2 changed files with 4 additions and 1 deletions
@@ -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";
});
}