From 043d55f0105500e50d13cf8b98658022b34606b1 Mon Sep 17 00:00:00 2001 From: Claudio Bley Date: Thu, 5 Dec 2024 17:37:45 +0100 Subject: [PATCH] Disable pkg-config flag for zlib in ghcide snapshot --- rules_haskell_tests/non_module_deps_2.bzl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules_haskell_tests/non_module_deps_2.bzl b/rules_haskell_tests/non_module_deps_2.bzl index 3e1c4135c..971240d6c 100644 --- a/rules_haskell_tests/non_module_deps_2.bzl +++ b/rules_haskell_tests/non_module_deps_2.bzl @@ -57,6 +57,8 @@ def repositories(*, bzlmod): # @unused "attoparsec": """{"lib:attoparsec": ["lib:attoparsec-internal"]}""", }, extra_deps = {"zlib": ["//tests:zlib"], "streaming-commons": ["//tests:zlib"]}, + # disable calling pkg-config + flags = {"zlib": ["-pkg-config"]}, haddock = False, local_snapshot = "//:ghcide-stack-snapshot{}.yaml".format( "_" + str(GHC_VERSION) if GHC_VERSION else "",