From 851d9580f68ceb025563d15dd9a6b8ce83f0b24f Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Tue, 25 Jun 2019 09:17:20 +0200 Subject: [PATCH] Work around macos case sensitivity issue 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 8ded0bc5e9..d608e2647b 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]