From 36b42af29a7d0b782cea6e5e595266a8c050b13a Mon Sep 17 00:00:00 2001 From: Dennis Gosnell Date: Tue, 16 Feb 2021 21:03:00 +0900 Subject: [PATCH] haskellPackages.hadolint: add comment explaining override --- pkgs/development/haskell-modules/configuration-nix.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index cc212814b4a..21aa86ee5a4 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -809,5 +809,7 @@ self: super: builtins.intersectAttrs super { # tests depend on a specific version of solc hevm = dontCheck (doJailbreak super.hevm); + # hadolint enables static linking by default in the cabal file, so we have to explicitly disable it. + # https://github.com/hadolint/hadolint/commit/e1305042c62d52c2af4d77cdce5d62f6a0a3ce7b hadolint = disableCabalFlag super.hadolint "static"; }