Skip to content

Commit

Permalink
Work around macos case sensitivity issue (#1332)
Browse files Browse the repository at this point in the history
See also haskell/cabal#4739.

/Users/travis/build/PostgREST/postgrest/<built-in>: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"
  • Loading branch information
robx authored and steve-chavez committed Jun 27, 2019
1 parent da7aa1d commit 296a12e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]

0 comments on commit 296a12e

Please sign in to comment.