From 296a12e39402b165516e231af3daad0ae8d0c08b Mon Sep 17 00:00:00 2001 From: Robert Date: Thu, 27 Jun 2019 17:33:38 +0200 Subject: [PATCH] Work around macos case sensitivity issue (#1332) See also https://github.com/haskell/cabal/issues/4739. /Users/travis/build/PostgREST/postgrest/:15:10: error: error: non-portable path to file '".stack-work/dist/x86_64-osx/Cabal-2.2.0.1/build/PostgREST/autogen/cabal_macros.h"'; specified path differs in case from file name on disk [-Werror,-Wnonportable-include-path] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ".stack-work/dist/x86_64-osx/Cabal-2.2.0.1/build/PostgREST/autogen/cabal_macros.h" --- stack.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack.yaml b/stack.yaml index 8ded0bc5e..d608e2647 100644 --- a/stack.yaml +++ b/stack.yaml @@ -13,6 +13,6 @@ extra-deps: - deferred-folds-0.9.10.1 - primitive-0.6.4.0 ghc-options: - postgrest: -O2 -Werror -Wall -fwarn-identities -fno-warn-redundant-constraints + postgrest: -O2 -Werror -Wall -fwarn-identities -fno-warn-redundant-constraints -optP-Wno-nonportable-include-path nix: packages: [pcre, pkgconfig, postgresql, zlib]