From 652f1b1dada091476c15d92a154c9e10d84bfa58 Mon Sep 17 00:00:00 2001 From: Matt Audesse Date: Mon, 23 May 2022 15:41:04 -0400 Subject: [PATCH] CORE-1824: squelch "Paths_reach" warnings See: https://github.com/sol/hpack/issues/303#issue-340890073 --- hs/package.mo.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/hs/package.mo.yaml b/hs/package.mo.yaml index 7f486fda43..329bc88c89 100644 --- a/hs/package.mo.yaml +++ b/hs/package.mo.yaml @@ -144,6 +144,9 @@ when: library: source-dirs: src + when: + - condition: false + other-modules: Paths_reach tests: reach-test: main: Main.hs @@ -156,7 +159,10 @@ tests: - reach _std_exe: &std-exe - main: Main.hs + main: Main.hs + when: + - condition: false + other-modules: Paths_reach ghc-options: - -threaded - -rtsopts @@ -171,6 +177,9 @@ executables: reach: main: Main.hs source-dirs: app/reach + when: + - condition: false + other-modules: Paths_reach ghc-options: - -threaded - -rtsopts