From d9443bf7cd502e2b9148fff7f004cedaf1cb876b Mon Sep 17 00:00:00 2001 From: Olli Helenius Date: Tue, 16 Feb 2021 11:44:14 +0200 Subject: [PATCH] haskellPackages.hadolint: fix build by disabling static linking The `static` flag was enabled by default for 1.22.1: https://github.com/hadolint/hadolint/commit/e1305042c62d52c2af4d77cdce5d62f6a0a3ce7b#diff-e0ee4e21f8811c1171864cc68ea4005347b1b0ca70626026f251bf4111c2aa6e We need to disable it in nixpkgs. --- 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 873881bd757..cc212814b4a 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -808,4 +808,6 @@ self: super: builtins.intersectAttrs super { # tests depend on a specific version of solc hevm = dontCheck (doJailbreak super.hevm); + + hadolint = disableCabalFlag super.hadolint "static"; }